chp-mcp
v0.1.2Spend approval gate for AI agents: budget caps, HITL thresholds, signed audit hash.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
evaluate_spend_gate
Run CHP Profile B capital/spend gate on a proposed action. Returns LOCKED, HITL_REQUIRED, or BLOCKED with claims and a content hash. Hard policy violations cannot be overridden by a human.
| Parameter | Type | Description |
|---|---|---|
action * | object | Proposed trade / spend / mandate action |
policy * | object | Gate policy (limits, HITL threshold, confidence floor) |
committed_today | number | Notional already committed today toward daily_cap (default 0) |
approve_spend
Human-in-the-loop approval for a proposal that returned HITL_REQUIRED. Cannot approve BLOCKED / hard-rule failures (spec §6.3 / §6.5).
| Parameter | Type | Description |
|---|---|---|
action * | object | |
approver * | string | Human approver identity (email or handle) |
policy * | object | |
committed_today | number |
chp_content_hash
SHA-256 over float-aware canonical JSON (CHP §3.1) — matches Python consensus-hardening-protocol digests for the same object.
| Parameter | Type | Description |
|---|---|---|
value | JSON-serializable value to hash |
chp_version
Report MCP server and CHP Profile B protocol versions.