{"repo":"sidharthrajaram/mcp-sse","free":true,"listed":false,"github":"https://github.com/sidharthrajaram/mcp-sse","clone":"git clone https://github.com/sidharthrajaram/mcp-sse.git","description":"A working pattern for SSE-based MCP clients and servers","language":"Python","stars":301,"topics":["agents","llm","mcp","tool-use"],"license":null,"category":"ai-agents","readme_excerpt":"SSE-based Server and Client for MCP This demonstrates a working pattern for SSE-based MCP servers and standalone MCP clients that use tools from them. Based on an original discussion here. Usage Note : Make sure to supply ANTHROPIC API KEY in .env or as an environment variable. Why? This means the MCP server can now be some running process that agents (clients) connect to, use, and disconnect from whenever and wherever they want. In other words, an SSE-based server and clients can be decoupled processes (potentially even, on decoupled nodes). This is different and better fits \"cloud-native\" use-cases compared to the STDIO-based pattern where the client itself spawns the server as a subprocess. Installing via Smithery To install SSE-based Server and Client for Claude Desktop automatically via Smithery: Server weather.py is a SSE-based MCP server that presents some tools based on the National Weather Service APIs. Adapted from the MCP docs' example STDIO server implementation. By default, server runs on 0.0.0.0:8080, but is configurable with command line arguments like: Client client.py is a MCP Client that connects to and uses tools from the SSE-based MCP server. Adapted from the MCP docs' example STDIO client implementation. By default, client connects to SSE endpoint provided in the command line argument like:","default_branch":null,"files":null,"tree":[],"storefront":"/r/sidharthrajaram","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sidharthrajaram/mcp-sse/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}