Github Q2w
This project demonstrates an SSE-based implementation mode of the MCP server and client, allowing agents (clients) to connect and use the tools provided by the server at any time, suitable for cloud-native scenarios.
rating : 3.5 points
downloads : 248
What is the MCP SSE-based Server?
This is a Server-Sent Events (SSE)-based implementation of the Model Context Protocol (MCP) server, allowing clients to connect and use the tool functions provided by the server at any time. Different from the traditional STDIO mode, this implementation is more suitable for cloud-native scenarios.How to use the MCP SSE-based Server?
You need to start the server and the client separately. The server provides tool functions, and the client can connect and use these tools at any time.Applicable scenarios
Suitable for scenarios where the tool server and the client need to be separated, especially in cloud environments or distributed systems.Main features
SSE protocol supportUse Server-Sent Events to implement real-time communication between the server and the client
Weather toolsetProvide weather query and alert functions based on the National Weather Service API
Decoupled architectureThe server and the client can run independently, suitable for distributed deployment
Advantages and limitations
Advantages
The decoupled architecture allows the server and the client to run and scale independently
The SSE protocol provides efficient real-time communication
The client can connect/disconnect at any time, suitable for dynamic environments
More suitable for cloud-native applications than the STDIO mode
Limitations
Need to maintain the network connection
May have slightly higher latency compared to the STDIO mode
Need to handle exceptions such as network interruptions
How to use
Install dependencies
Make sure Python and necessary dependencies are installed
Configure environment variables
Set necessary environment variables such as ANTHROPIC_API_KEY
Start the server
Run the weather service server
Start the client
Run the client and connect to the server
Usage examples
Query the weather forecastGet the weather forecast information for a specified location
Query weather alertsCheck if there are any weather alerts in a specified location
Frequently Asked Questions
Why choose SSE instead of WebSocket?
How to add new tools?
Can the client connect to multiple servers simultaneously?
Related resources
MCP official documentation
Official documentation and specifications of the Model Context Protocol
GitHub repository
Original discussion and implementation reference
Smithery installation
One-click installation via Smithery
Featured MCP Services

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
838
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
152
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
100
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
573
5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
761
4.8 points