Sample code for Model Context Protocl (MCP) with Server Sent Eve…
@edom18
About Sample code for Model Context Protocl (MCP) with Server Sent Eve…
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MCP-SSE-Server-Sample": {
"command": "uv",
"args": [
"run",
"mcp_server_sample",
"--port",
"8080",
"--transport",
"sse"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Sample code for Model Context Protocl (MCP) with Server Sent Event (SSE)?
This repository is a sample implementation of an MCP server using Server Sent Event (SSE) transport. It provides two simple, non‑useful methods (reverse text and uppercase) to help developers understand how an SSE‑based MCP server works. The server is based on the official simple-tool example from the modelcontextprotocol/python-sdk.
How to use Sample code for Model Context Protocl (MCP) with Server Sent Event (SSE)?
Launch the server with the uv command: uv run mcp_server_sample --port 8080 --transport sse. Then run the provided client script: python client.py.
Key features of Sample code for Model Context Protocl (MCP) with Server Sent Event (SSE)
- Demonstrates SSE transport for MCP servers
- Based on official
simple-toolexample from the Python SDK - Provides two simple utility methods (reverse text, uppercase)
- Includes a working client script (
client.py) - Minimal and easy to understand implementation
Use cases of Sample code for Model Context Protocl (MCP) with Server Sent Event (SSE)
- Learning how to implement an MCP server over SSE
- Testing MCP SSE transport mechanisms
- Prototyping SSE‑based MCP integrations
FAQ from Sample code for Model Context Protocl (MCP) with Server Sent Event (SSE)
What transport protocol does this sample use?
It uses Server Sent Event (SSE) transport.
What methods does the server provide?
The server provides two unhelpful methods that reverse text and convert text to uppercase.
What is this sample based on?
It is based on the simple-tool example from the modelcontextprotocol/python-sdk (official SDK).
How do I run the server and client?
Run the server with uv run mcp_server_sample --port 8080 --transport sse, then execute python client.py.
Is this sample intended for production use?
No, it is a sample code for understanding MCP SSE server behavior and is not useful for real‑world tasks.
Frequently asked questions
What transport protocol does this sample use?
It uses Server Sent Event (SSE) transport.
What methods does the server provide?
The server provides two unhelpful methods that reverse text and convert text to uppercase.
What is this sample based on?
It is based on the `simple-tool` example from the `modelcontextprotocol/python-sdk` (official SDK).
How do I run the server and client?
Run the server with `uv run mcp_server_sample --port 8080 --transport sse`, then execute `python client.py`.
Is this sample intended for production use?
No, it is a sample code for understanding MCP SSE server behavior and is not useful for real‑world tasks.
Basic information
More Developer Tools MCP servers
Vibgrate MCP
VibgrateQuery your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up

Reelier
Maxime HouleAgents make claims. Reelier writes receipts — record an agent's tool-call workflow once, replay it deterministically at 0 tokens, and diff runs to catch drift.
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Huoshan Test
volcengineGrafana MCP server
grafanaMCP server for Grafana
Comments