Skip to main content

mcp-switchboard-client

The client half of mcp-switchboard.

It reads an mcp.json, spawns the local stdio MCP servers it describes, and opens a single outbound WebSocket to an mcp-switchboard-hub, multiplexing every server over that one connection. No inbound port is ever opened, so it works from behind NAT with nothing forwarded.

The client speaks no MCP itself — it is a pipe, shuttling each server's stdin/stdout across the tunnel. All MCP logic lives in the hub. That is why its only dependency is websockets.

Running

uvx mcp-switchboard-client --hub-url wss://switchboard.example.com --token "$TOKEN"

or bootstrap uvx/npx first with the installer:

curl -fsSL https://akospapp.github.io/mcp-switchboard/install.sh | sh -s -- \
  --hub-url wss://switchboard.example.com --token "$TOKEN"

mcp.json uses the familiar shape, resolved from the current directory:

{
  "mcpServers": {
    "git": { "command": "uvx", "args": ["mcp-server-git", "--repository", "."] }
  }
}

Settings can also come from MCP_SWITCHBOARD_* environment variables or a .env file (HUB_URL, TUNNEL_TOKEN, LABEL, CONFIG, …). Any value that starts with / and points at an existing regular file is read from that file, so a token can be passed as a path.

LABEL defaults to the machine's hostname and is how the hub tags this machine's tools, so consumers can tell which host a tool lives on.

See the main README for the full picture.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_switchboard_client-0.2.0.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_switchboard_client-0.2.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_switchboard_client-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_switchboard_client-0.2.0.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for mcp_switchboard_client-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ce8b185bea4cc49c527042285e567d5d9ede9bd260b21713a4d30e37bacda35f
MD5 05e78ed1aa6982abc6c6f0defb5d8c46
BLAKE2b-256 240549d72e38240cdd4bc4406c5097c4a78fb08fbfb4d16e2bdd1dac22fb09d6

See more details on using hashes here.

File details

Details for the file mcp_switchboard_client-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_switchboard_client-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3371afb0cc06165efd641c75e173e16ce778edb7960881df57a2ad670ccd8190
MD5 60186f68f6f5187b9070cb275f25379c
BLAKE2b-256 0b750e18023f20a92281832f64b673d0cae37c345f58bf6ad66da5c4723159d9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page