它是以https://github.com/sidharthrajaram/mcp-sse为基础优化实现的【原项目上是基于(https://github.com/modelcontextprotocol/python-sdk/issues/145)的原始讨论,可下载原项目有更多说明】。
基于SSE的 MCP 服务器和客户端
档中的示例STDIO服务器实现。
MCP.Pizza Chef: jayliangdl
py-mcp-sse is a Python-based MCP client implementing Server-Sent Events (SSE) for real-time communication with MCP servers. It enables seamless interaction with MCP servers providing tools like book search via the Gutenberg API. This client is optimized from an earlier project and supports Python 3.13+, facilitating efficient LLM calls through OpenRouter.ai. It serves as a practical example of MCP client-server integration using SSE.