This project provides an MCP application template integrated with FastAPI.
- Support for multiple MCP mounting
- Support for command-line invocation in Stdio mode
- Support for SSE / StreamableHTTP
- Support for packaging and distribution
Install dependencies:
makeDevelopment:
make devYou can access the example MCP interface (Streamable HTTP) via http://127.0.0.1:3001/math/mcp, or access the SSE interface via http://127.0.0.1:3001/math/compatible/sse.
Call via command line with --stdio:
make prod -- --stdioProduction:
make prodBuild Python Wheel package:
make buildRun:
docker compose up -dBuild only:
docker compose build