# WebSocket backend example
# Connect to a WebSocket-based MCP server alongside stdio and HTTP backends.
[]
= "ws-proxy"
[]
= "0.0.0.0"
= 8080
# Local stdio backend
[[]]
= "files"
= "stdio"
= "npx"
= ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
# Remote HTTP backend
[[]]
= "api"
= "http"
= "http://api-server:8080"
# WebSocket backend (ws:// or wss://)
[[]]
= "realtime"
= "websocket"
= "wss://mcp.example.com/ws"
= "${WS_TOKEN}"
[]
= 60