Claude Bridge

v1.3.0
io.github.constripacity/claude-code-bridge Checked 17 hours ago Published 3 months ago

Durable local-first MCP relay for independent coding agents.

Values you need

VariableWhat it is
CLAUDE_BRIDGE_DBoptional SQLite database path (default: ./claude-bridge.db). Share the same path across HTTP and stdio instances to share state.
CLAUDE_BRIDGE_AUTH_TOKENoptional 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 --stdio
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: bridge_send, bridge_receive, bridge_wait, bridge_ack, bridge_channels, bridge_ping, bridge_clear, bridge_status, ….
  4. 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