Preparing for system design interviews?  Try bugzed.com →

MCP stdio-to-WebSocket bridge

JSON →
library 2.0.0 ·javascript
verified Jun 7, 2026

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.

total hits 8
actors 1 distinct systems
last hit 19d ago human
GPTBot
3
Humans
5

top countries 🇺🇸 United States · 🇸🇬 Singapore · VN