sse-mcp

sse-mcp

0

This project provides a Server-Sent Events (SSE) based implementation for Model Context Protocol (MCP) servers and clients, enabling cloud-native use cases. It allows clients to connect to the server for tool use and showcases a pattern that decouples the server and client processes.

SSE-based Server and Client for MCP

  • Demonstrates a working pattern for SSE-based MCP servers and standalone MCP clients.
  • The server utilizes tools from the National Weather Service APIs, allowing agents to connect, use, and disconnect at will, suitable for cloud-native use cases.
  • Installation via Smithery is supported for an SSE-based Server and Client setup.
  • The server (weather.py) runs an SSE-based MCP server, and client.py acts as an MCP Client.
  • Default server runs on 0.0.0.0:8080 but is configurable.
  • The client connects to an SSE endpoint to use available tools like 'get_alerts' and 'get_forecast'.