MCP SSE Sample
@iuill
About MCP SSE Sample
MCP ServerのSSE実装のサンプル
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sse-sample": {
"command": "npx",
"args": [
"-y",
"mcp_sse_sample"
]
}
}
}Tools
12`message` (string): Message to echo back
Text content with echoed message
`a` (number): First number
Text result of the addition
`duration` (number, default: 10): Duration in seconds
Completion message with duration and steps
`prompt` (string): The prompt to send to the LLM
Generated LLM response
Base64 encoded PNG image data
JSON string of all environment variables
`messageType` (enum: "error" | "success" | "debug"): Type of message to demonstrate different annotation patterns
Content with varying annotations:
Overview
What is MCP SSE Sample?
A sample MCP server that uses SSE (Server-Sent Events) transport to demonstrate an MCP protocol SSE implementation. It is based on the official “everything” server and provides a set of tools for testing and demonstration purposes.
How to use MCP SSE Sample?
Install dependencies with npm install, build with npm run build, then run in STDIO mode (npm run start) or SSE mode (npm run start:sse). For Claude Desktop, add the server configuration to claude_desktop_config.json as shown in the README.
Key features of MCP SSE Sample
- Echo tool returns the input message unchanged
- Add tool adds two numbers together
- LongRunningOperation with progress notifications
- SampleLLM demonstrates MCP LLM sampling capability
- GetTinyImage returns a base64‑encoded PNG test image
- PrintEnv prints all environment variables for debugging
- AnnotatedMessage shows priority and audience annotations
- Random‑leveled log messages sent every 15 seconds
Use cases of MCP SSE Sample
- Test MCP client implementations that use SSE transport
- Demonstrate tool call progress notifications
- Explore MCP annotation and LLM sampling features
- Debug server configuration and environment variables
FAQ from MCP SSE Sample
What transports does MCP SSE Sample support?
The server supports both STDIO and SSE transport modes.
How can I use this server with Claude Desktop?
Add the following configuration to claude_desktop_config.json: { "mcpServers": { "sse-sample": { "command": "npx", "args": ["-y", "mcp_sse_sample"] } } }.
What tools are included in MCP SSE Sample?
It includes echo, add, longRunningOperation, sampleLLM, getTinyImage, printEnv, and annotatedMessage.
Does the server require any special dependencies?
Only Node.js and npm are needed. Run npm install to install dependencies.
More Other MCP servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Comments