Get the FREE Ultimate OpenClaw Setup Guide →

mcp

MCP server of servers

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio rgarcia-mcp-server-server npx -y @modelcontextprotocol/mcp-server-wrapper@latest

How to use

This MCP server is a websocket wrapper around an underlying stdio MCP server. It exposes the traditional MCP server interface over a WebSocket, enabling clients to interact with MCP tools without spawning separate processes for every server. You can connect a client to the websocket endpoint and discover available tools, then issue MCP commands through the same transport your client library expects. The README demonstrates a Client from the Model Context Protocol SDK connecting via WebSocket transport, listing tools, and using them programmatically. The included examples show how to start the underlying MCP server via a package wrapper (npx), then connect to it through a WebSocket URL (for example ws://localhost:3001) and list tools like puppeteer_navigate, puppeteer_screenshot, puppeteer_click, puppeteer_fill, and puppeteer_evaluate. In short, this server simplifies MCP usage by turning a stdio-based server into a network service you can manage from a client in your application.

How to install

Prerequisites:

  • Node.js (and optionally bun) installed on your machine
  • Internet access to install dependencies

Step 1: Clone the repository (if you haven’t already)

Step 2: Install dependencies

  • If the project uses npm:
    • npm install
  • If you prefer bun (as shown in the README examples):
    • bun install

Step 3: Run the server wrapper to expose a WebSocket MCP server

  • Using npx (as shown in the README):
    • npx -y @modelcontextprotocol/mcp-server-wrapper@latest
  • Or install and run the wrapper locally via bun/node as demonstrated in the README:
    • bun run mcp-server-wrapper -p 3001 -- npx -y @modelcontextprotocol/server-puppeteer@latest
    • bun run mcp-server-wrapper -p 3001 -- node path/to/server-puppeteer/dist/index.js

Step 4: Connect your MCP client

  • Point your MCP client at ws://localhost:3001 (or the port you started on)
  • Use the SDK client’s WebSocket transport to interact with the server (as shown in the README example)

Notes:

  • If you intend to run a specific underlying MCP server, you can configure it via the mcpServers config (see mcp_config section).

Additional notes

Tips and caveats:

  • The wrapper converts a traditional stdio MCP server into a WebSocket service; performance depends on the underlying server and network latency.
  • You may need to adjust the port (default shown is 3001) to fit your environment and firewall rules.
  • Example tool names shown in the README include Puppeteer-based tools such as puppeteer_navigate, puppeteer_screenshot, puppeteer_click, puppeteer_fill, and puppeteer_evaluate; your actual tool set will depend on the underlying MCP server you wrap.
  • If you encounter connectivity issues, ensure WebSocket endpoints are accessible and that any proxy or firewall settings allow ws/wss traffic.
  • The mcpServers configuration supports specifying the underlying server commands (e.g., npx or uvx) so you can tailor spin-up behavior for different environments.
  • For production, consider building a Docker image around the wrapper to provide a consistent, repeatable deployment.

Related MCP Servers

Sponsor this space

Reach thousands of developers