MCP integration
ToolPause can sit in front of agent tool calls via MCP.
HTTP proxy (tools/call)
POST /v1/mcp/tools/call
{
"name": "send_refund",
"arguments": { "customer_id": "c1", "amount": 49.99 },
"risk": "high",
"tags": ["finance"],
"agent_id": "mcp-proxy"
}
Response includes policy, optional pending approval, and whether the call is allowed.
When approval is required, wait until Inbox decides — same bound fingerprint rules as the SDK.
Stdio MCP server
For local coding agents (Claude Code and similar):
toolpause-mcp
Point the agent MCP config at this process. Set the backend URL and API key when auth is on.
Copy-ready config: Inbox → Get started → MCP.
Gateway catalog
GET / PUT /v1/mcp/config — enable the gateway, default agent_id, and per-tool risk / tags / require-approval.
Configure in Rules → MCP gateway.
Operator knobs
| Control | Where |
|---|---|
| Per-tool pause / deny / allow | Rules |
| Trusted-agent bypass | Rules → trusted agents |
| Risk thresholds | Rules |
| MCP catalog | Rules → MCP gateway |
| Timeout extend | Inbox → +5 min |
| Pending digest | Settings |
vs raw MCP
Without ToolPause, MCP tools run as soon as the model calls them.
With ToolPause, high-impact calls pause on a bound tool+args fingerprint until a human clears them.
See also: quickstart · API