fastapi_mcp_sse

Python

A working example to create a FastAPI server with SSE-based MCP support

Protocol Implementations
API Frameworks
Function Calling

Architecture and Design Patterns

The architecture employs a modular design, separating MCP SSE endpoints from standard web routes within a FastAPI application. It integrates MCP SSE functionality into FastAPI using custom routes, promoting clean separation between MCP and web concerns. The project uses FastAPI's APIRouter for easy addition of new routes, improving modularity and maintainability.

About

Language

Python

Stars

5

Categories

Protocol ImplementationsAPI FrameworksFunction Calling