chp-mcp

v0.1.2
io.github.icohangar-ops/chp-mcp Checked 3 days ago Published 3 months ago

Spend 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.

ParameterTypeDescription
action *objectProposed trade / spend / mandate action
policy *objectGate policy (limits, HITL threshold, confidence floor)
committed_todaynumberNotional 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).

ParameterTypeDescription
action *object
approver *stringHuman approver identity (email or handle)
policy *object
committed_todaynumber

chp_content_hash

SHA-256 over float-aware canonical JSON (CHP §3.1) — matches Python consensus-hardening-protocol digests for the same object.

ParameterTypeDescription
valueJSON-serializable value to hash

chp_version

Report MCP server and CHP Profile B protocol versions.