Claude Bridge
v1.3.0Durable local-first MCP relay for independent coding agents.
Values you need
| Variable | What it is | |
|---|---|---|
CLAUDE_BRIDGE_DB | optional | SQLite database path (default: ./claude-bridge.db). Share the same path across HTTP and stdio instances to share state. |
CLAUDE_BRIDGE_AUTH_TOKEN | optional secret | Optional Bearer token for HTTP mode. As of 1.2.0, binding a non-loopback host requires this token together with an explicit trusted host (CLAUDE_BRIDGE_TRUSTED_HOSTS), unless --allow-unauthenticated-network is passed; loopback (stdio and localhost) does not require it. When set, all HTTP endpoints e |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add claude-code-bridge -- uvx --from claude-code-bridge==1.3.0 claude-bridge --stdioAdd to
claude_desktop_config.json{
"mcpServers": {
"claude-code-bridge": {
"args": [
"--from",
"claude-code-bridge==1.3.0",
"claude-bridge",
"--stdio"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"claude-code-bridge": {
"args": [
"--from",
"claude-code-bridge==1.3.0",
"claude-bridge",
"--stdio"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"claude-code-bridge": {
"args": [
"--from",
"claude-code-bridge==1.3.0",
"claude-bridge",
"--stdio"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.claude-code-bridge]
command = "uvx"
args = ["--from", "claude-code-bridge==1.3.0", "claude-bridge", "--stdio"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: bridge_send, bridge_receive, bridge_wait, bridge_ack, bridge_channels, bridge_ping, bridge_clear, bridge_status, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json