Reference server for the MCP Python SDK deploy guide — same echo + greet_widget example used in our seven-framework comparison.
Built with the official mcp Python SDK (FastMCP).
Live demo: wild-pulse-opk28.run.mcp-use.com/mcp
Click the badge above, or open the one-click deploy flow. Sign in, connect GitHub, and Manufact clones this repo into your account and deploys it.
If you deploy manually from the dashboard instead:
| Setting | Value |
|---|---|
| Port | 8000 |
| Build command | (leave empty — this repo has no uv.lock, so Manufact runs pip install .; with a committed uv.lock it uses uv sync --frozen instead) |
| Start command | uvicorn 'mcp_detect_mcp_python:app' --host 0.0.0.0 --port 8000 |
Manufact detects mcp in pyproject.toml and labels the repo mcp-python. DNS-rebinding protection is disabled for proxy compatibility — see the deploy guide for production hardening.
- An
echotool (text-only) - A
greet_widgettool using the say-server MCP Apps pattern (@server.tool+@server.resource) - Streamable HTTP at
/mcpviaserver.streamable_http_app()
python -m venv .venv
source .venv/bin/activate
pip install -e .
uvicorn mcp_detect_mcp_python:app --host 0.0.0.0 --port 8000 --reloadOpen http://localhost:8000/mcp.
src/mcp_detect_mcp_python/
__init__.py # FastMCP server, tools, view HTML, and ASGI app export
See the deploy guide for the full reference server walkthrough.