What is SSE MCP Server?
SSE MCP Server is a sample implementation of a Model Context Protocol (MCP) server using Server-Sent Events (SSE). It is designed to be deployed on Netlify Edge Functions and provides a simple client interface for real-time communication.
How to use SSE MCP Server?
Clone the repository, install dependencies with npm install, then start the development server with npm run dev. For deployment, install the Netlify CLI, log in, initialize the site, and run npm run deploy. After deployment, access the site URL; the top page shows “SSE MCP Server is running. Access /sse to connect.” A demo page lets you test SSE connections and message sending/receiving.
Key features of SSE MCP Server
- Real-time communication via Server-Sent Events.
- Server-side implementation for Netlify Edge Functions.
- Simple client interface with a demo page.
- Periodic ping messages to maintain SSE connections.
- Fix for 502 errors on Netlify Edge Functions.
Use cases of SSE MCP Server
- Testing SSE connections from a web client.
- Sending and receiving messages through an MCP server.
- Verifying periodic ping messages and connection stability.
- Deploying an MCP server on Netlify’s edge infrastructure.
コメント