brydge-mcp
Use this MCP server to gate an agent's actions through BRYDGE: ask permission first, report outcomes, and verify from destination records whether the work actually happened.
Ask before acting with
brydge_supervise; getALLOWEDwith an authorization id to cite, orESCALATEDfor human decision.Report the agent's believed outcome with
brydge_report_outcome(SUCCEEDED,FAILED,REVERSED,CORRECTED).Verify actual execution with
brydge_verify, which reads destination records and returnsPENDING,VERIFIED,FAILED,MISMATCH, orUNKNOWN.Read the latest finding for free with
brydge_get_findingwithout re-reading records.Check 24-hour action headroom with
brydge_get_headroom.Retry escalated actions with the same idempotency key to receive a person's allow/refuse decision.
Ensure one action per authorization and detect mismatches like amount, target, actor, action, duplicate execution, unauthorised execution, or correlation.
Allows supervising and verifying Stripe refunds by recording an authorization ID in the refund's metadata and checking Stripe's records to confirm the refund happened as permitted.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@brydge-mcp Ask permission before refunding ch_123 and verify it after"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Tool | What it does |
| Asks before acting. |
| Reports what the agent believes happened. |
| Reads the destination's records now and says whether the work happened. |
| Returns what BRYDGE has found so far, without reading the records again. Free. |
| Says how many actions the agent may take in any 24 hours before a person is asked. |
The server also gives the model its instructions: ask first, cite the authorization, report, then verify before saying the work is done.
Related MCP server: varco_mcp
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):
{
"mcpServers": {
"brydge": {
"command": "npx",
"args": ["-y", "brydge-mcp"],
"env": {
"BRYDGE_API_KEY": "brydge_sk_...",
"BRYDGE_ACTOR": "agent:refund-ops"
}
}
}
}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:
{
"mcpServers": {
"brydge": {
"command": "cmd",
"args": ["/c", "npx", "-y", "brydge-mcp"],
"env": {
"BRYDGE_API_KEY": "brydge_sk_...",
"BRYDGE_ACTOR": "agent:refund-ops"
}
}
}
}In Claude Code:
claude mcp add brydge -e BRYDGE_API_KEY=brydge_sk_... -e BRYDGE_ACTOR=agent:refund-ops -- npx -y brydge-mcpSetting | |
| Your BRYDGE API key. Required. |
| The name BRYDGE knows this agent by, such as |
| Where BRYDGE runs. Leave it unset for BRYDGE's hosted service. |
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:
ESCALATED. Do not carry this out: a person decides. No mandate lets agent:refund-ops refund yet, so a person decides. A person has been asked. Ask again with the same idempotency key once they have answered: if they allow it, the answer is ALLOWED. Authorization: cmurkt5mw000i7dev66vu5afm.When the model calls brydge_supervise again with the same idempotency_key, action, target and facts, BRYDGE answers with the person's decision:
The person |
|
| The model is told |
has not answered yet |
|
| Do not act yet; ask again once they have answered. The person is not asked twice. |
allowed it |
|
| Carry it out, citing the same authorization. |
refused it |
|
|
|
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
| Meaning |
| The records show the work, as it was permitted. |
| The records show it was attempted and did not succeed. |
| The records show something other than what was permitted. |
| BRYDGE could not tell. |
| The destination says the work is still in progress. |
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
npm install
npm test # a real MCP client against the server in both protocol eras, and the built command over stdio
npm run test:int # against a running BRYDGE; see tests/integration
npm run buildLicense
MIT
Available Tools
5 toolsbrydge_get_findingWhat BRYDGE has found so farARead-onlyIdempotent
What BRYDGE has already found about an action, without reading the records again. Free. BRYDGE checks each action by itself once the destination's reporting window has passed; until then this says PENDING.
Inputs: authorization (required). Returns: state, reason, because, claimed, +5 more
brydge_get_headroomHow much you may do without a personARead-onlyIdempotent
How many actions of this kind you may take in any 24 hours before a person is asked, how many are left, and what raises or lowers that. Every report BRYDGE checks and finds true raises it.
Inputs: action (required). Returns: says, used, action, earned, +4 more
brydge_report_outcomeReport what happenedA
Tell BRYDGE what you believe happened after you carried out an allowed action. BRYDGE keeps your report beside what it finds in the destination's records; the report never changes the finding.
Inputs: outcome (required), authorization (required), said. Returns: recorded, authorization
brydge_superviseAsk BRYDGE before actingAIdempotent
Ask BRYDGE whether you may take an action, before you take it. ALLOWED returns an authorization id: carry the action out and write that id into the record it creates, where the destination keeps it (for a Stripe refund: metadata.brydge_authorization). ESCALATED means a person decides: do not carry it out.
Inputs: action (required), target (required), idempotency_key (required), facts. Returns: because, decision, replayed, unobserved, +1 more
brydge_verifyCheck the work actually happenedAIdempotent
Check whether an action actually happened. BRYDGE reads the destination system's own records now, with its own credential, and compares them with what it permitted. Only VERIFIED means it happened as permitted; FAILED, MISMATCH, UNKNOWN (BRYDGE could not tell) and PENDING (still in progress) are not. Use it before you tell anyone the work is done. A check that finds something new is billed; asking again when nothing has changed is free.
Inputs: authorization (required). Returns: state, reason, because, claimed, +5 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: supervise (request permission), report_outcome (report results), verify (check actual state), get_finding (retrieve stored findings), and get_headroom (check quota). No two tools overlap in function; an agent can easily select the right one based on the action needed.
All tools follow a consistent 'brydge_' prefix with a verb or verb_noun pattern (e.g., supervise, report_outcome, verify, get_finding, get_headroom). The naming is uniform, predictable, and clearly indicates the action each tool performs.
With only 5 tools, the server is well-scoped to its domain of permission, reporting, verification, and quota management. Each tool earns its place and together they cover the core workflow without unnecessary bloat.
The tool surface covers the full lifecycle: request permission (supervise), report outcome (report_outcome), verify actual state (verify), retrieve past findings (get_finding), and check limits (get_headroom). No obvious gaps exist for the stated purpose.
Maintenance
Related MCP Connectors
Authorize AI agent tool calls before they run: policy-as-code, human approval, signed receipts.
Machine-verifiable authorization checks for autonomous AI agents.
Runtime permission, approval, and audit layer for AI agent tool execution.
Human-in-the-loop approval for agent actions, with verifiable action-bound receipts.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides permission gates and tamper-evident audit logging for AI agent tool executions, with declarative policies, consent ladders, and hash-chained verification.MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible AI agents to safely act on business backends by enforcing per-agent permissions, autonomy thresholds, human approval with review-and-edit, and full audit trails.MIT
- AlicenseBqualityCmaintenanceEnables AI agents to act on live business objects under enforceable per-call identity, per-tool grants, and mandatory human approval for irreversible actions, with connectors isolated from core logic.8MIT
- AlicenseBqualityCmaintenanceEnables AI agents to execute actions under an accountability layer with identity passports, mandates, a permission gate, and a tamper-evident journal, while requiring human confirmation for irreversible operations.75AGPL 3.0