Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy to mcp-use

MCP Python SDK MCP Apps example

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


Deploy to Manufact Cloud

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.


What's in this repo

  • An echo tool (text-only)
  • A greet_widget tool using the say-server MCP Apps pattern (@server.tool + @server.resource)
  • Streamable HTTP at /mcp via server.streamable_http_app()

Getting started

python -m venv .venv
source .venv/bin/activate
pip install -e .
uvicorn mcp_detect_mcp_python:app --host 0.0.0.0 --port 8000 --reload

Open http://localhost:8000/mcp.


Project layout

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.

About

Smoke-test fixture for official MCP Python SDK framework detection (MCP Apps).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages