fastapi_mcp_sse

fastapi_mcp_sse

3.5

If you are the rightful owner of fastapi_mcp_sse and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Server-Sent Events (SSE) implementation using FastAPI framework with Model Context Protocol (MCP) integration.

This project demonstrates how to implement Server-Sent Events (SSE) using the FastAPI framework while integrating Model Context Protocol (MCP) functionality. The key feature is the seamless integration of MCP's SSE capabilities within a full-featured FastAPI web application that includes custom routes. The architecture is modular, allowing for the integration of MCP SSE endpoints and standard web routes, maintaining a clean separation between MCP functionality and web routes. This setup is ideal for developers looking to extend AI model capabilities with real-time data and tool integration.

Features

  • Server-Sent Events (SSE) implementation with MCP
  • FastAPI framework integration with custom routes
  • Unified web application with both MCP and standard web endpoints
  • Customizable route structure
  • Clean separation of concerns between MCP and web functionality