express -sse
MCP server from yunusemredilber/express-mcp-sse-server
claude mcp add --transport stdio yunusemredilber-express-mcp-sse-server node src/index.ts \ --env PORT="Port for the HTTP server (default 3001)" \ --env NODE_ENV="development or production"
How to use
This MCP SSE server implements the Model Context Protocol over Server-Sent Events (SSE) using Express. It provides a real-time communication channel to manage and stream model context updates to connected clients. The server exposes an SSE endpoint at /sse for establishing persistent connections and a /messages endpoint for sending messages to the MCP server, enabling clients to exchange model context events efficiently in real time. With the MCP SDK, applications can subscribe to resource changes, receive updates, and interact with templated resources in a standardized way.
How to install
Prerequisites:
- Node.js v14 or higher (recommended)
- Yarn package manager (or npm as an alternative)
Install steps:
- Clone the repository: git clone git@github.com:yunusemredilber/express-mcp-sse-server.git
- Navigate into the project: cd express-mcp-sse-server
- Install dependencies:
yarn install
or using npm:
npm install
- Configure environment (optional):
- PORT: Port to run the server (default 3001)
- NODE_ENV: development or production
- Run the server in development mode (with MCP inspector if available):
yarn dev
or to run in production:
yarn start - Access the endpoints:
- SSE endpoint: http://localhost:3001/sse
- Messages endpoint: http://localhost:3001/messages
Additional notes
Tips:
- The SSE endpoint /sse maintains a persistent connection for real-time updates. Clients should connect with an EventSource in the browser or a compatible SSE client.
- The /messages endpoint can be used to push messages to the MCP server or to trigger model context events depending on the server implementation.
- If you change the PORT environment variable, ensure any reverse proxy or load balancer is updated accordingly.
- For production deployments, consider running behind a process manager (e.g., PM2) and enabling proper TLS termination.
- If you encounter issues, check that your Node version matches the compatibility noted in the README and that dependencies are correctly installed.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud