SSE + MCP Server + Durable Objects
Overview
MCP Server DO is a server implementation that utilizes Server-Sent Events (SSE) and Durable Objects to create a scalable and efficient communication layer for applications.
To use MCP Server DO, clone the repository, install the necessary packages using npm, and start the server. You can then access the SSE endpoint through a web browser or an inspector tool.
- Implements a SSE transport layer for real-time communication. - Utilizes Durable Objects for state management and scalability. - Provides an easy-to-follow setup process with clear instructions.
- Building real-time applications that require live updates.
- Creating chat applications that utilize SSE for message delivery.
- Implementing dashboards that need to display real-time data.
Add to your AI client
Use these steps to connect SSE + MCP Server + Durable Objects 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": {
"mcp-server-do-irvinebroque": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-do-irvinebroque"
]
}
}
}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": {
"mcp-server-do-irvinebroque": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-do-irvinebroque"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-do-irvinebroque": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-do-irvinebroque"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-do-irvinebroque": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-do-irvinebroque"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-do-irvinebroque": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-do-irvinebroque"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-do-irvinebroque": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-do-irvinebroque"
]
}
}
}FAQ
What is the purpose of using Durable Objects?
Durable Objects help manage state in a scalable way, allowing for efficient handling of multiple connections.
Can I use this server for production applications?
Yes, with proper configuration and testing, it can be used in production environments.
Is there any support for other transport layers?
Currently, the focus is on SSE, but other transport layers can be integrated as needed.