Skip to main content
Glama
hileamlakB

PRIMS – Python Runtime Interpreter MCP Server

run_code.py330 B
import asyncio from fastmcp import Client async def main(): async with Client("http://localhost:9000/mcp") as client: code = "print('Hello from FastMCP!')" result = await client.call_tool("run_code", {"code": code}) print("Result: \n\t", result) if __name__ == "__main__": asyncio.run(main())

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hileamlakB/Python-Runtime-Interpreter-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server