
BRYDGE
com.brydge-ai由 brydge-ai.com 發布v0.2.0更新於 Oct 31, 2026
Checks whether an agent's actions actually happened, against the destination's own records.
概覽
BRYDGE 在代理執行動作前先進行授權,事後再依目的系統自身的紀錄核實該動作是否真的發生。
- 可以做什麼
- 執行動作前先申請許可,取得授權 ID,或轉交人工決定
- 回報代理認為已經發生的結果
- 讀取目的系統紀錄,核實動作是否發生,並取得最新查核結論
- 查詢代理在 24 小時內可執行多少次動作才會轉交人工
- 適用情境
- 適用於代理會執行退款、付款等有實際後果的變更,而你希望獨立核實每次動作是否被允許、是否真的完成,而不是只相信代理自己的回報。
- 執行需求
- 透過 npx 以 stdio 在本機執行(需 Node.js)。需要 BRYDGE 帳號,並在 BRYDGE_API_KEY 提供 API 金鑰、在 BRYDGE_ACTOR 提供代理名稱;自架執行個體可設定 BRYDGE_URL。另需在 BRYDGE 中為動作定價、註冊附唯讀憑證的目的系統,並向該代理簽發授權。需要能連線至 BRYDGE 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 BRYDGE,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
brydge-mcp
Check whether your agent's work actually happened.
This is BRYDGE as an MCP server. Before an agent acts, BRYDGE decides whether it may. Afterwards, BRYDGE reads the destination system's own records, such as your payment processor or ticket system, using its own credential. It then reports whether the work happened as permitted. What the agent says happened is kept beside that finding and never decides it.
Tools
The server also gives the model its instructions: ask first, cite the authorization, report, then verify before saying the work is done.
Set up BRYDGE first
Do these once, in BRYDGE:
- Issue an API key on the Connect page.
- Declare what the action is worth. BRYDGE charges a share of that value, and it will not check an action nobody has priced.
- Register a destination for the action: where BRYDGE reads the records, and the read-only credential it uses. BRYDGE has a preset for Stripe refunds.
- Issue a mandate to the agent for the action, on the agent's page in BRYDGE. Without one, every call goes to a person, and the agent acts only once they allow it (see When a person decides).
A mandate says what the agent may do; headroom says how much of it, in any 24 hours. A new agent starts with room for one action a day, and every report BRYDGE checks and finds true raises that.
Add it to your MCP client
Most clients take this configuration (Claude Desktop, Cursor, Windsurf and others):
On Windows, npx is a .cmd file, and only clients that start commands through a shell or through the MCP SDK can launch it by name. If your client reports spawn npx ENOENT, start it through the command shell instead:
In Claude Code:
The agent's name comes from this configuration, never from the model, so an agent cannot borrow another agent's permissions. Run one server per agent.
How an agent uses it
- Ask first. Before a refund, payment or other change, the agent calls
brydge_supervisewith the action, the target and the facts, such as{"amount": 4200}. - Cite the authorization. If the answer is
ALLOWED, the agent carries the action out and writes the authorization id where the destination keeps it. For a Stripe refund, that ismetadata.brydge_authorization. BRYDGE finds the work by this id, and by nothing else. - Report. The agent calls
brydge_report_outcomewith what it believes happened. - Verify. Before saying the work is done, the agent calls
brydge_verify.
brydge_supervise takes an idempotency_key, a name for one intended action such as refund:ch_123. Asking again with the same key and the same details is the same request: a retry gets the same answer, and once a person has answered an escalated one, it gets their answer. A key reused for a different action never gets another action's answer, because the server also hashes in what is being asked.
When a person decides
An escalated action waits for a person, in BRYDGE. The server does not wait with it: the model is told not to act, and to ask again once they have answered:
When the model calls brydge_supervise again with the same idempotency_key, action, target and facts, BRYDGE answers with the person's decision:
A request with different details is a different action, so allowing a £42 refund never lets the agent refund £420.
Each authorization is for one action. A retry of an action already carried out gets the same ALLOWED back, and the model is told that if it already carried the action out, it must not do it again. If an action does run twice under one authorization, a check reports MISMATCH with DUPLICATE_EXECUTION.
What a check can find
brydge_verify reads the records when it is called. A check that finds something new is billed; asking again when nothing has changed is free. BRYDGE also checks every action by itself once the destination's reporting window has passed (60 minutes unless you set another), and brydge_get_finding reads that for free.
Protocol
The server speaks MCP over stdio. It serves clients on the 2026-07-28 revision and on the 2025 revisions from the same process, built on the official TypeScript SDK. When BRYDGE cannot be asked (a bad key, an action with no declared value, a rate limit, or BRYDGE being unreachable), the tool returns an error the model can read, and nothing is carried out.
Limits
- BRYDGE treats a target as one piece of work. A second record for the same target that carries a different authorization, such as a second partial refund of one charge, is reported as a
MISMATCH. - The server does not wait for a person. An escalated action ends with the model being told a person decides, and their answer reaches the agent only when the model asks again with the same
idempotency_keyand the same details. A request under a new key is decided afresh. - The server does not see the action itself, so it cannot stop a second one. Whether an action was already carried out is for the model to remember; the server tells it when BRYDGE has answered the same request before.
Development
License
MIT
來源:README.md,提交 8b2fa39
工具
0版本歷史
3- v0.2.0最新Oct 3, 2026
- v0.1.1Sep 26, 2026
- v0.1.0Sep 26, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分