py-mcp-sse
If you are the rightful owner of py-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.
This project is a sample implementation of an MCP Client and MCP Server using Python, based on the original project by Sidharth Rajaram.
The project provides a Model Context Protocol (MCP) server and client implementation using Server-Sent Events (SSE). The server, `mcp_server.py`, offers a book search tool based on the Gutenberg Project API, while the client, `client.py`, connects to the server to utilize the provided tools. The implementation is adapted from the MCP documentation's example of a STDIO server and client. The project is designed to be cloud-native, allowing the server and client to run as decoupled processes, which is more flexible than the STDIO-based model where the client starts the server as a subprocess.
Features
- SSE-based communication between MCP server and client.
- Book search tool using the Gutenberg Project API.
- Decoupled server and client processes for cloud-native applications.
- Environment configuration using uv or pip.
- Support for OpenRouter.ai LLM platform.