mcp-sse-client-server
If you are the rightful owner of mcp-sse-client-server 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 Simple Python implementation of a MCP client and Server with Server-Sent Events (SSE).
The MCP SSE Client-Server is a Python-based implementation designed to facilitate communication between a client and server using Server-Sent Events (SSE). This setup integrates with the MCP platform tools, allowing for asynchronous processing of queries through Python's asyncio. It supports comprehensive logging and error handling, and integrates with the OpenAI API, with a fallback to OpenRouter. The system is configurable via environment variables, making it adaptable to different deployment environments. The client-server setup is ideal for applications requiring real-time data updates and efficient communication between distributed components.
Features
- SSE-based communication between client and server
- Integration with MCP platform tools (google_search, get_web_content)
- Asynchronous processing of queries using Python's asyncio
- Comprehensive logging and error handling
- OpenAI API integration with fallback to OpenRouter
Tools
google_search
Perform a web search
get_web_content
Get full web content
get_weekday_from_date
Date Tool
get_weather_for_date
Weather information