SSE
Provides a framework for building Model Context Protocol (MCP) servers utilizing the Server-Sent Events (SSE) protocol.
About
Developed to address challenges with existing SSE transport implementations, this project offers a straightforward Python framework for constructing Model Context Protocol (MCP) servers. It simplifies the process of creating custom tools and exposing them via an MCP server, particularly designed with clients like Cursor in mind. The framework provides robust integration with FastAPI and Uvicorn, offering flexible middleware configuration, including compression and custom HTTP middleware, to ensure efficient and tailored server operations.
Key Features
- Framework for creating MCP servers with SSE support
- Decorator-based tool registration for custom functions
- FastAPI application factory for easy server hosting and configuration
- Flexible middleware configuration for compression, CORS, and custom logic
- Integration with standard Python logging for debugging and monitoring
- 0 GitHub stars
Use Cases
- Developing and hosting custom AI tools compatible with MCP clients
- Implementing custom server-side logic and request handling via middleware for MCP endpoints
- Building an MCP server specifically tailored for the Cursor client