What transports does MCP SSE Sample support?
The server supports both STDIO and SSE transport modes.
@iuill
基本信息
MCP ServerのSSE実装のサンプル
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"sse-sample": {
"command": "npx",
"args": [
"-y",
"mcp_sse_sample"
]
}
}
}`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:
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.
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.
The server supports both STDIO and SSE transport modes.
Add the following configuration to `claude_desktop_config.json`: `{ "mcpServers": { "sse-sample": { "command": "npx", "args": ["-y", "mcp_sse_sample"] } } }`.
It includes echo, add, longRunningOperation, sampleLLM, getTinyImage, printEnv, and annotatedMessage.
Only Node.js and npm are needed. Run `npm install` to install dependencies.

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct

Model Context Protocol Servers
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Hindsight: Agent Memory That Learns
评论