by poly-mcp
Polymcp provides a simple and efficient way to interact with MCP servers using custom agents
# Add to your Claude Code skills
git clone https://github.com/poly-mcp/PolymcpUniversal MCP toolkit + agent runtime to expose tools, connect multiple MCP servers (HTTP/stdio), and orchestrate them with LLMs — with production controls (budgets, logs, retries, redaction).
For who
What you get
Authentication System
Security & Isolation
Production Stdio Client
Enhanced Security & Reliability
pip install polymcp
Create server.py:
from polymcp.polymcp_toolkit import expose_tools_http
def greet(name: str) -> str:
"""Say hello."""
return f"Hello, {name}!"
def add(a: int, b: int) -> int:
"""Add two numbers."""
return a + b
app = expose_tools_http(tools=[greet, add], title="My MCP Tools")
Run:
uvicorn server:app --reload
You now have:
GET /mcp/list_tools