Wrap MCP stdio servers with a WebSocket. For use with kibitz. Install uv: The config file specifies which MCP servers to run. The default config (no --config or --command args provided) includes: - wcgw: For general system operations and file management - fetch: For making HTTP requests To make a configuration file: 1. Create your configuration file: 2. Modify config.json to add or remove servers
Add this skill
npx mdskills install nick1udwig/ws-mcpProvides WebSocket wrapper for stdio MCP servers with clear setup and flexible configuration options
1# ws-mcp23Wrap MCP stdio servers with a WebSocket.4For use with [kibitz](https://github.com/nick1udwig/kibitz).56## Quickstart78### Prerequisites910Install [uv](https://github.com/astral-sh/uv):11```bash12curl -LsSf https://astral.sh/uv/install.sh | sh13```1415### Configuration1617The config file specifies which MCP servers to run.18The default config (no `--config` or `--command` args provided) includes:19- [`wcgw`](https://github.com/rusiaaman/wcgw): For general system operations and file management20- [`fetch`](https://github.com/modelcontextprotocol/servers/tree/main/src/fetch): For making HTTP requests2122To make a configuration file:23241. Create your configuration file:25 ```bash26 cp sample.config.json config.json27 ```282. Modify `config.json` to add or remove servers based on your needs.293. Run with `--config path/to/config.json` to use the new config file.3031### Running ws-mcp3233Basic usage with default config file (no `--config` or `--command` provided) and port:34```bash35uvx --refresh ws-mcp@latest36```3738This will start all configured servers on the default port (`10125`).3940To use a config file and port:41```bash42uvx --refresh ws-mcp@latest --config path/to/config --port 1012543```4445## Detailed Usage4647```bash48# Example using fetch49uvx --refresh ws-mcp --command "uvx mcp-server-fetch" --port 30025051# Example using wcgw52uvx --refresh ws-mcp --command "uvx --from wcgw@latest --python 3.12 wcgw_mcp" --port 30015354# Example using Brave search55export BRAVE_API_KEY=YOUR_API_KEY_HERE56uvx --refresh ws-mcp --env BRAVE_API_KEY=$BRAVE_API_KEY --command "npx -y @modelcontextprotocol/server-brave-search" --port 30035758# Or, with a .env file:59uvx --refresh ws-mcp --env-file path/to/.env --command "npx -y @modelcontextprotocol/server-brave-search" --port 30036061# `--command` can be supplied multiple times!62# Example serving multiple servers at once:63uvx --refresh ws-mcp --env-file path/to/.env --command "npx -y @modelcontextprotocol/server-brave-search" --command "uvx mcp-server-fetch" --port 30046465# Servers can also be specified in a `.json` file following [the standard MCP format](https://modelcontextprotocol.io/quickstart/user#2-add-the-filesystem-mcp-server)66uvx --refresh ws-mcp --env-file path/to/.env --config path/to/config.json --port 300567```68
Full transparency — inspect the skill content before installing.