ws-mcp
Overview
ws-mcp is a tool that wraps MCP stdio servers with a WebSocket, enabling easier communication and integration with various services.
To use ws-mcp, install the required dependencies, create a configuration file to specify the MCP servers, and run the tool with the desired configuration.
- Wraps multiple MCP servers for streamlined access. - Supports configuration files for custom server setups. - Allows running multiple commands simultaneously.
- Integrating various MCP servers for system operations and file management.
- Making HTTP requests through the fetch server.
- Running multiple server commands for complex workflows.
Add to your AI client
Use these steps to connect ws-mcp 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": {
"ws-mcp-nick1udwig": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ws-mcp-nick1udwig"
]
}
}
}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": {
"ws-mcp-nick1udwig": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ws-mcp-nick1udwig"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ws-mcp-nick1udwig": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ws-mcp-nick1udwig"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ws-mcp-nick1udwig": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ws-mcp-nick1udwig"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ws-mcp-nick1udwig": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ws-mcp-nick1udwig"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ws-mcp-nick1udwig": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ws-mcp-nick1udwig"
]
}
}
}FAQ
What is an MCP server?
MCP stands for Model Context Protocol, which is a protocol for managing and communicating with various services.
How do I install ws-mcp?
You can install ws-mcp by following the quickstart guide provided in the documentation.
Can I run multiple servers at once?
Yes! You can specify multiple commands in the configuration to run several servers simultaneously.