Overview
MCP Server Runner is a WebSocket server implementation designed to run Model Context Protocol (MCP) servers, enabling seamless integration with web applications and network-enabled clients.
To use MCP Server Runner, set up the required environment variables, run the server using Cargo, and connect to the WebSocket server from your client application.
- WebSocket server implementation with single-client support - Process management for MCP server instances - Bidirectional message passing between client and server - Graceful shutdown handling - Comprehensive error logging - Cross-platform support (Unix/Windows)
- Integrating MCP servers with web applications
- Facilitating real-time communication between clients and servers
- Testing and developing MCP server implementations
Add to your AI client
Use these steps to connect MCP Server Runner 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": {
"yonaka15-mcp-server-runner-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yonaka15-mcp-server-runner-mcp-mirror"
]
}
}
}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": {
"yonaka15-mcp-server-runner-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yonaka15-mcp-server-runner-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"yonaka15-mcp-server-runner-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yonaka15-mcp-server-runner-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"yonaka15-mcp-server-runner-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yonaka15-mcp-server-runner-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"yonaka15-mcp-server-runner-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yonaka15-mcp-server-runner-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"yonaka15-mcp-server-runner-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yonaka15-mcp-server-runner-mcp-mirror"
]
}
}
}FAQ
What programming language is used for MCP Server Runner?
MCP Server Runner is developed in Rust.
Can I run multiple clients simultaneously?
No, MCP Server Runner currently supports only one client connection at a time.
Is there Docker support?
Yes, Docker support is provided for containerized deployment.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":565,"uuid":"08055fdf-2177-48b0-ad8c-8b8152df1ead","name":"yonaka15_mcp-server-runner","title":"MCP Server Runner","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T02:55:57.151Z","updated_at":"2025-02-23T07:15:11.363Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"mcp,websocket,server,development","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/yonaka15_mcp-server-runner","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]