# AgentBond

Authorization and governance infrastructure for AI agents. 17 MCP tools for token authorization, intent proof, contract management, action evaluation, and audit logging.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y smithery mcp add agentbond/mcp-server

# Browse available tools
npx -y smithery tool list agentbond/mcp-server

# Get full schema for a tool
npx -y smithery tool get agentbond/mcp-server agentbond_issue_token

# Call a tool
npx -y smithery tool call agentbond/mcp-server agentbond_issue_token '{}'
```

## Direct MCP Connection

Endpoint: `https://mcp-server--agentbond.run.tools`

## Tools (17)

- `agentbond_issue_token` — Issue a new authorization token. If parentTokenId is provided, delegation constraints are validated (child scope/budget…
- `agentbond_evaluate_action` — Evaluate an action against an authorization token and consume budget if allowed. Returns an AuthorizationDecision with …
- `agentbond_revoke_token` — Permanently revoke an authorization token. All child tokens will be denied via cascade evaluation (their status is not …
- `agentbond_suspend_token` — Temporarily suspend an authorization token. Can be reactivated later. Child tokens are denied while parent is suspended.
- `agentbond_reactivate_token` — Reactivate a suspended authorization token. Child tokens automatically become usable again.
- `agentbond_get_token` — Retrieve an authorization token by ID.
- `agentbond_get_audit_log` — Query the audit log with optional filters (layer, outcome, time range, limit).
- `agentbond_get_audit_by_action` — Get audit records for a specific action ID.
- `agentbond_get_audit_by_token` — Get audit records for a specific token ID.
- `agentbond_record_intent` — Record an intent for an action — why the agent is performing this action. Evidence must be a summary (no raw logs). Req…
- `agentbond_evaluate_intent_policy` — Evaluate intent policy for an action. Checks if an IntentRecord exists when requireReasoning is true. Records the resul…
- `agentbond_get_intent` — Retrieve an intent record by ID.
- `agentbond_get_intent_by_action` — Retrieve an intent record by action ID.
- `agentbond_create_contract` — Create a new inter-agent contract in draft status. Requires exactly 2 parties (one principal, one executor). Conditions…
- `agentbond_transition_contract` — Transition a contract's status. Only the principal can transition. Valid transitions: draft→active, active→completed, a…
- `agentbond_evaluate_contract` — Evaluate whether a contract is valid for operations. Checks that the contract is active and all conditions (time_limit,…
- `agentbond_get_contract` — Retrieve a contract by ID.

```bash
# Get full input/output schema for a tool
npx -y smithery tool get agentbond/mcp-server <tool-name>
```

---

License: MIT
