2026-02-28 11:39:33 +08:00
2026-02-28 11:39:33 +08:00
2026-02-28 10:05:07 +08:00
2026-02-28 11:39:33 +08:00
2025-07-14 15:14:38 +08:00
2025-09-08 19:20:10 +08:00
2025-10-02 16:20:15 +08:00
2026-02-28 11:39:33 +08:00
2025-12-01 14:02:08 +08:00
2026-02-28 10:05:07 +08:00
2025-12-01 14:02:08 +08:00
2026-02-08 15:28:37 +08:00
2026-02-08 15:28:37 +08:00
2026-02-28 10:05:07 +08:00
2026-02-28 10:05:07 +08:00
2026-02-28 10:05:07 +08:00

MCP FastAPI Application Template

🌏 中文 | English

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 StreamableHTTP
  • Support for packaging and distribution

Getting Started

Install dependencies:

make

Development:

make dev

You can access the example MCP interface (Streamable HTTP).

Call via command line with --stdio:

make prod -- --stdio

Deployment

Production:

make prod

Build Python Wheel package:

make build

Docker Deployment

Run:

docker compose up -d

Build only:

docker compose build
Description
全功能 MCP 模板,支持 FastAPI 集成,支持 Stdio / Streamable HTTP / SSE,支持 Docker 部署
Readme 868 KiB
Languages
Python 75.2%
Dockerfile 9.6%
Smarty 9.1%
Makefile 6.1%