原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Claude Bridge

作者:constripacity版本 1.3.0i★ –i在你的电脑上运行
注册名称io.github.constripacity/claude-code-bridge

安装

概览

作者提供的说明(英文原文)

Durable local-first MCP relay for independent coding agents.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:CLAUDE_BRIDGE_AUTH_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CLAUDE_BRIDGE_DB, CLAUDE_BRIDGE_AUTH_TOKEN

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "claude-code-bridge": {
      "command": "uvx",
      "args": [
        "claude-code-bridge",
        "--stdio"
      ],
      "env": {
        "CLAUDE_BRIDGE_DB": "your-value",
        "CLAUDE_BRIDGE_AUTH_TOKEN": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add claude-code-bridge --env CLAUDE_BRIDGE_DB=your-value --env CLAUDE_BRIDGE_AUTH_TOKEN=your-value -- uvx claude-code-bridge --stdio

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "claude-code-bridge": {
      "command": "uvx",
      "args": [
        "claude-code-bridge",
        "--stdio"
      ],
      "env": {
        "CLAUDE_BRIDGE_DB": "your-value",
        "CLAUDE_BRIDGE_AUTH_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "claude-code-bridge": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "claude-code-bridge",
        "--stdio"
      ],
      "env": {
        "CLAUDE_BRIDGE_DB": "your-value",
        "CLAUDE_BRIDGE_AUTH_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CLAUDE_BRIDGE_DB env
    SQLite database path (default: ./claude-bridge.db). Share the same path across HTTP and stdio instances to share state.
  • CLAUDE_BRIDGE_AUTH_TOKEN 机密 env
    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-…

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 constripacity 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32380 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32380 个服务器的 29% 更新
  • 基础检查结果等于或优于此分类中其他 32380 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Claude Bridge 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:CLAUDE_BRIDGE_AUTH_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.3.0)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Dechonet MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

Dechonet MCP

作者:node-man

30 security tools for AI agents: phishing links, exposure maps, DNS, SSL, PQC, history, pivots.

电脑或云端今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Claude Bridge

A local-first, cross-machine message bus for independent coding agents.

Claude Bridge lets coding-agent sessions on different machines exchange ordered messages through named channels. The relay is self-hosted, uses SQLite by default, and exposes MCP, a small JSON API, a dashboard, and a terminal UI.

It does not call a model API and does not require agents to share a filesystem or process. Claude Code motivated the project, but the core is MCP-based and is not coupled to Anthropic.

Forward-build notice: this source tree identifies as 1.2.0.dev1. It is

a development build beyond the latest stable PyPI release. Review the

changelog

and 0.9-to-1.2 migration guide

before replacing a stable deployment.

Why use it?

  • Keep agents on Windows, macOS, Linux, or a remote host in their own sessions.
  • Send work, results, review requests, and artifact references without remote shell access.
  • Use durable history and consumer cursors to recover after a client restart.
  • Retry sends safely with an idempotency key.
  • Observe the same relay through MCP, a browser dashboard, the TUI, or REST.
  • Run locally or across a private LAN/tailnet with an explicit security policy.

Claude Bridge is a transport, not an autonomous orchestrator. Receiving a message never authorizes an agent to execute it.

Transports

InterfacePath or commandPurpose
MCP Streamable HTTP/mcpRecommended remote MCP transport
MCP stdioclaude-bridge --stdioLocal subprocess transport
Legacy MCP HTTP+SSE/sse and /messages/Existing configurations during migration
Channel event SSE/events/channel/ Dashboard, TUI, and custom listeners; not MCP
JSON API/api/*Browser, scripts, and integrations

The automated suite performs a real MCP SDK handshake against /mcp. Vendor clients are not launched in CI. See the evidence-based compatibility matrix.

Architecture

flowchart TB

A["Claude Code / Codex / MCP client"] -->|"Streamable HTTP /mcp"| B["Claude Bridge"] C["Local MCP client"] -->|"stdio"| B D["Dashboard / TUI / script"] -->|"REST + event SSE"| B B --> E[("SQLite")]

Messages and live-notification records are committed to SQLite in one transaction. HTTP processes poll that durable outbox (500 ms by default), so a write from a separate stdio process is propagated to connected dashboard/TUI event streams. Durable channel history remains authoritative across restarts.

Install

python -m pip install claude-code-bridge

Install the terminal UI as well:

python -m pip install "claude-code-bridge[tui]"

The PyPI distribution is named claude-code-bridge because claude-bridge was already assigned to an unrelated project. The command and Python package remain claude-bridge and claude_bridge.

From a source checkout:

git clone https://github.com/constripacity/Claude-Bridge.git

cd Claude-Bridge python -m pip install -e ".[dev]"

Start safely

Local-only HTTP mode is the default:

claude-bridge

This listens on 127.0.0.1:8765. Open http://127.0.0.1:8765/ for the dashboard or connect an MCP client to http://127.0.0.1:8765/mcp.

Local stdio mode does not open a network listener:

claude-bridge --stdio
Cross-machine server

Network binding is deliberately fail-closed. Supply the address clients put in their URL as a trusted host and require a token:

export CLAUDE_BRIDGE_AUTH_TOKEN="$(openssl rand -hex 32)"

claude-bridge \ --host 0.0.0.0 \ --trusted-host 100.64.0.10

Here 100.64.0.10 might be the server's tailnet address. A DNS deployment would use a value such as bridge.example.internal. --trusted-host values are hostnames or IP addresses, without a URL scheme or path, and the option is repeatable.

Two independent checks are required:

  1. --trusted-host controls which HTTP Host names are accepted; and
  2. the Bearer token controls who can use protected endpoints.

For a deliberately unauthenticated private test network, replace the token with --allow-unauthenticated-network. That is an explicit risk acceptance, not the recommended production setup.

Use --tls-cert and --tls-key, an HTTPS reverse proxy, or an encrypted overlay network before sending sensitive content across an untrusted network. See the security policy for the complete trust model.

Container

The official image also fails closed. A network deployment must provide its trusted host and authentication policy:

export CLAUDE_BRIDGE_AUTH_TOKEN="$(openssl rand -hex 32)"

docker run --rm -p 8765:8765 \ -v claude-bridge-data:/data \ -e CLAUDE_BRIDGE_AUTH_TOKEN \ -e CLAUDE_BRIDGE_TRUSTED_HOSTS="100.64.0.10" \ ghcr.io/constripacity/claude-bridge:latest

The SQLite database is stored in /data. Release images use exact and major/minor tags; edge tracks main.

Connect a client

Claude Code

Remote Streamable HTTP:

claude mcp add --transport http -s user claude-bridge \

http://127.0.0.1:8765/mcp

Local stdio:

claude mcp add -s user claude-bridge -- claude-bridge --stdio

For a protected remote endpoint, attach the matching Authorization header using the option supported by the installed Claude Code version. Legacy configurations can continue to target /sse with --transport sse while they migrate.

Codex

Local stdio in ~/.codex/config.toml:

[mcp_servers.claude_bridge]

command = "claude-bridge" args = ["--stdio"]

Remote Streamable HTTP:

[mcp_servers.claude_bridge]

url = "http://127.0.0.1:8765/mcp" bearer_token_env_var = "CLAUDE_BRIDGE_AUTH_TOKEN"

These examples follow the transports each client documents. The repository's CI verifies MCP protocol behavior, not a full vendor-client launch. See compatibility matrix before making support claims.

MCP tools

ToolPurpose
bridge_sendSend legacy text or a protocol-v1 message; supports idempotent retries
bridge_receiveRead a bounded page using a message cursor or durable consumer cursor
bridge_waitWait up to 55 seconds for new messages without rapid polling
bridge_ackMonotonically advance a consumer's channel-scoped cursor
bridge_channelsList active channels and counts
bridge_pingCheck bridge health and capabilities
bridge_statusSummarize recent activity across channels
bridge_clearDelete every message (and task) in one channel
bridge_enqueueAdd a task to a channel's work queue (exclusive; claimed once)
bridge_claimAtomically claim the next task with a lease; long-poll with wait_seconds
bridge_completeMark a claimed task done, fenced by its lease_token
bridge_failFail a claimed task — requeue with backoff, or dead-letter
bridge_tasksInspect a channel's queue: per-status counts and a task list

Tool results include structured data for clients that support MCP structured content and a readable text representation for compatibility.

Reliable task/result example

The orchestrator sends a structured task with a stable retry key:

bridge_send(

channel="payments:worker", sender="windows-orchestrator", idempotency_key="job-802-task", message={ "schema_version": 1, "type": "task", "content": {"action": "run_tests", "target": "payments"}, "thread_id": "payments-42", "correlation_id": "job-802" } )

The worker waits using its persisted consumer identity:

bridge_wait(

channel="payments:worker", consumer_id="mac-worker", timeout_seconds=20 )

After applying the task successfully, it advances its cursor:

bridge_ack(

channel="payments:worker", consumer_id="mac-worker", message_id=" " )

It can then send a result to a return channel using the same thread_id and correlation_id. Acknowledgement supplies at-least-once processing semantics; it does not make arbitrary external side effects exactly once.

The complete envelope, retry, cursor, and retention contract is documented in protocol reference.

Task queue (work distribution)

Messages fan out — every consumer cursor sees every message. A task queue is the opposite: each task is claimed by exactly one worker. Point a fleet of worker agents at a channel and they share the work without ever double-processing it.

The orchestrator enqueues tasks (dedup-safe with an idempotency key):

bridge_enqueue(

channel="builds", payload={"repo": "payments", "action": "run_tests"}, max_attempts=3, idempotency_key="build-802" )

Each worker claims the next task, holding a lease (a visibility timeout). Two workers never get the same task; wait_seconds long-polls an empty queue:

bridge_claim(channel="builds", consumer="worker-3", lease_seconds=300, wait_seconds=20)

-> { task_id, payload, attempts, lease_token, lease_expires_at }

It finishes before the lease expires — complete on success, fail to retry — both fenced by the lease_token, so a reclaimed task can't be clobbered:

bridge_complete(channel="builds", task_id="tsk_…", lease_token="…", result={"passed": 105})

bridge_fail(channel="builds", task_id="tsk_…", lease_token="…", requeue=true, retry_delay_seconds=30)

If a worker crashes and never resolves its task, the lease expires and the task is requeued automatically — or dead-lettered once max_attempts is exhausted. This is at-least-once delivery, so make task handlers idempotent. bridge_tasks(channel="builds") shows the queue's per-status counts.

Channels

Channels are created on first write. A readable convention is : :

payments:orchestrator

payments:worker payments:events payments:review general:status

A channel name is routing, not authorization. In the current shared-token model, any authorized client can read, write, or clear any channel.

Dashboard, TUI, and JSON API

The dashboard is served at / unless --no-dashboard is used. It consumes the JSON API and the per-channel event stream. Its React application, fonts, and other runtime assets are bundled with the package, so loading the dashboard does not contact a third-party CDN. A restrictive Content Security Policy is applied to the static application.

Run the TUI:

python -m claude_bridge.tui

python -m claude_bridge.tui \ --url http://100.64.0.10:8765 \ --sender mac

The TUI reads CLAUDE_BRIDGE_AUTH_TOKEN from the environment, keeping the secret out of the process command line.

Core HTTP endpoints:

EndpointPurpose
GET /statusMinimal unauthenticated health check
GET /api/stateChannel counts, senders, version, and uptime
GET /api/messages?channel=X&since_id=Y&limit=NBounded channel history
GET /api/messages/{id}One message detail
GET /api/wait?channel=X&consumer_id=YBounded long poll using a consumer or message cursor

| POST /api/send | Send legacy text or a pro

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx