MCP stdio-to-WebSocket bridge
JSON →mcp2websocket v2.0.0 bridges MCP stdio clients to WebSocket-based MCP servers, translating JSON-RPC messages between the two transports. It provides automatic reconnection with exponential backoff, message queuing during disconnects, heartbeat/ping-pong for health checks, and optional debug logging to stderr. Unlike raw WebSocket clients, it handles the full lifecycle: graceful shutdown, connection management, and compatibility with MCP client configs (e.g., Claude Desktop). Requires Node >=14. Package is stable with infrequent releases.
Resources
packagemcp2websocket ↗