Example MCP SSE Server
Overview
Example MCP SSE Server is a Model Context Protocol (MCP) server implementation that enables real-time communication using Server-Sent Events (SSE).
To use the server, clone the repository, install dependencies, and start the server in either development or production mode using Yarn.
- Implementation of Model Context Protocol (MCP) - Real-time communication via Server-Sent Events (SSE) - Resource templating and management
- Real-time data streaming applications
- Applications requiring persistent connections for live updates
- Integration with other services using the MCP standard
Add to your AI client
Use these steps to connect Example MCP SSE Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"express-mcp-sse-server-yunusemredilber": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-express-mcp-sse-server-yunusemredilber"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"express-mcp-sse-server-yunusemredilber": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-express-mcp-sse-server-yunusemredilber"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"express-mcp-sse-server-yunusemredilber": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-express-mcp-sse-server-yunusemredilber"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"express-mcp-sse-server-yunusemredilber": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-express-mcp-sse-server-yunusemredilber"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"express-mcp-sse-server-yunusemredilber": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-express-mcp-sse-server-yunusemredilber"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"express-mcp-sse-server-yunusemredilber": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-express-mcp-sse-server-yunusemredilber"
]
}
}
}FAQ
What are the prerequisites for running the server?
Node.js (v14 or higher) and Yarn package manager are required.
How do I start the server?
Use `yarn dev` for development mode or `yarn start` for production mode.
Can I change the default port?
Yes, you can set the `PORT` environment variable to change the default port.