Sse Pattern MCP Server

Enables decoupled agent-tool interaction by providing a working pattern for Server-Sent Events (SSE) based Model Context Protocol (MCP) clients and

Local serverstdioPython 301

What is the Sse Pattern MCP server?

Enables decoupled agent-tool interaction by providing a working pattern for Server-Sent Events (SSE) based Model Context Protocol (MCP) clients and servers. That is what the sse pattern mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

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.

Getting it running

@smithery/cli on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

The tools it exposes

The server publishes 2 tools. What each one is for:

  • 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
  • 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

What it needs from you

Configuration is passed through the environment: ANTHROPIC_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Sse Pattern's toolset — Server, Client — is a fair guide to whether it matches your workflow. It is maintained by sidharthrajaram; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
Serverweather.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.](https://modelcontextprotocol.io/quickstart/serve
Clientclient.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.](https://modelcontextprotocol.io/quickstart/client)

How to install the Sse Pattern MCP server

{
  "mcpServers": {
    "sse-pattern": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "ANTHROPIC_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
ANTHROPIC_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Sse Pattern to Server.
  • Use Sse Pattern to Client.

Frequently asked questions

Sse Pattern is a tool demonstrating a working pattern for Server-Sent Events (SSE) based Model Context Protocol (MCP) servers and clients, enabling decoupled agent-tool interaction.