Skip to main content

mcp-switchboard-hub

The server half of mcp-switchboard.

It accepts outbound WebSocket tunnels from machines running local stdio MCP servers, speaks MCP to each tunnelled server, and re-serves every tool from one place:

  • /mcp — Streamable HTTP MCP endpoint for consumers (n8n, agents), also available scoped per machine (/mcp/host/{label}) or per server (/mcp/host/{label}/server/{server}).
  • / — a web console to browse connections, servers and tools, call any tool by hand, and read back every call.
  • /api/* — the JSON API behind the console.
  • /metrics — Prometheus.
  • Loki export and a SQLite call log.

Running

pip install mcp-switchboard-hub
MCP_SWITCHBOARD_TUNNEL_TOKEN=... mcp-switchboard-hub

It listens on two ports on purpose: the tunnel endpoint (default 127.0.0.1:8097) is the only thing meant to face the internet and always requires a bearer token, while the console, API, /mcp and /metrics live on a second listener (default 127.0.0.1:8099) that binds loopback and is unauthenticated by default.

Everything is configured through MCP_SWITCHBOARD_* environment variables, read from the environment or a .env file. Any value that starts with / and points at an existing regular file is replaced by that file's contents, so secrets can be passed as paths without separate *_FILE variables.

See the main README for the full picture, and docs/PROTOCOL.md for the tunnel wire format.

Metadata

Release files for mcp-switchboard-hub 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-switchboard-hub 0.2.0
File Size Uploaded Provenance Actions
mcp_switchboard_hub-0.2.0.tar.gz 54.2 kB Without provenance Details for mcp_switchboard_hub-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-switchboard-hub 0.2.0
File Interpreter ABI Platform Actions
mcp_switchboard_hub-0.2.0-py3-none-any.whl Python 3 none any Details for mcp_switchboard_hub-0.2.0-py3-none-any.whl

Total release size: 107.2 kB

Release files / mcp_switchboard_hub-0.2.0.tar.gz

Download URL mcp_switchboard_hub-0.2.0.tar.gz
Size 54.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d4db446cf08c3001e034aca59834b42015adf1dcc35eeef86bb5f38a2dd0bab7
BLAKE2b-256 checksum
How to use checksums
28362c4d8d2f29e3681e7b6abcf7d2caee36f912125d8ebe7cd312062663d209
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / mcp_switchboard_hub-0.2.0-py3-none-any.whl

Download URL mcp_switchboard_hub-0.2.0-py3-none-any.whl
Size 53.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0493f823fb8bb8c68eb4143cfc06076e3371757424258a1ef37ced6f2abaf3d
BLAKE2b-256 checksum
How to use checksums
935fe1f7789ea5e6767001f13c7a7b5c8818259ee35d167b970f14f86251811c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for mcp-switchboard-hub 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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