sse-mcp-server
1
The SSE MCP Server project offers a sample implementation of a Model Context Protocol Server using Server-Sent Events for real-time communication. It leverages Netlify Edge Functions for deployment and provides a simple client interface for testing SSE connections.
SSE MCP Server
This repository is a sample implementation of a Model Context Protocol (MCP) Server using Server-Sent Events (SSE). It is designed for deployment using Netlify Edge Functions.
Latest Updates
- 2025/3/11: Fixed a 502 error on Netlify Edge Functions. Added a feature to send regular ping messages to maintain SSE connections.
Features
- Real-time communication using SSE
- Server-side implementation with Netlify Edge Functions
- Simple client interface
Setup Development Environment
- Clone the repository
- Install dependencies
- Start the development server
Deploy to Netlify
- Install the Netlify CLI
- Log in to Netlify
- Initialize the site
- Deploy
Post-Deployment Verification
- Access the deployed site's URL
- Test SSE connection
- Test message sending and receiving
File Structure
- Implements MCP server and SSE server using Express.js and Netlify Edge Functions