A minimal FastMCP server template for Render deployment with streamable HTTP transport.
Fork the repo, then run:
git clone <your-repo-url>
cd mcp-server-template
conda create -n mcp-server python=3.13
conda activate mcp-server
pip install -r requirements.txtpython src/server.py
# then in another terminal run:
npx @modelcontextprotocol/inspectorOpen http://localhost:3000 and connect to http://localhost:8000/mcp using "Streamable HTTP" transport (NOTE THE /mcp!).
Click the "Deploy to Render" button above.
- Fork this repository
- Connect your GitHub account to Render
- Create a new Web Service on Render
- Connect your forked repository
- Render will automatically detect the
render.yamlconfiguration
Your server will be available at https://your-service-name.onrender.com/mcp (NOTE THE /mcp!)
You can connect your MCP server to Poke at (poke.com/settings/connections)[poke.com/settings/connections].
To test the connection explitly, ask poke somethink like Tell the subagent to use the "{connection name}" integration's "{tool name}" tool.
If you run into persistent issues of poke not calling the right MCP (e.g. after you've renamed the connection) you may send clearhistory to poke to delete all message history and start fresh.
We're working hard on improving the integration use of Poke :)
Add more tools by decorating functions with @mcp.tool:
@mcp.tool
def calculate(x: float, y: float, operation: str) -> float:
"""Perform basic arithmetic operations."""
if operation == "add":
return x + y
elif operation == "multiply":
return x * y
# ...