@cubiczan/chp-mcp
@cubiczan/chp-mcp
MCP-Installation mit einem Befehl für CHP-Profil-B-Ausgaben-/Kapital-Gates.
Umschließt @cubiczan/chp, sodass Cursor, Claude Code oder jeder MCP-Client evaluate_spend_gate aufrufen kann, ohne Protokollcode einzubinden. Die Engine-Digests stimmen mit den normativen Golden Vectors überein (Profil B 30/30).
Wie die Teile zusammenpassen
MCP client (Cursor / Claude / …)
│ tools/call
▼
┌───────────────────────────┐
│ MCP server (transport) │ ← you are here (@cubiczan/chp-mcp)
│ evaluate_spend_gate │
│ approve_spend │
│ chp_content_hash │
└─────────────┬─────────────┘
│ depends on
▼
┌───────────────────────────┐
│ Published CHP packages │
│ npm: @cubiczan/chp (Profile B)
│ PyPI: consensus-hardening-protocol (Profile A)
└───────────────────────────┘Für AGENTS.md + Skills + Profil-A-decision_gate / decision_adversary verwenden Sie stattdessen agent-conductor.
Related MCP server: CodeSentinel MCP Server
Installation
npm install -g @cubiczan/chp-mcp
# or one-shot
npx -y @cubiczan/chp-mcpCursor / Claude Desktop
{
"mcpServers": {
"chp": {
"command": "npx",
"args": ["-y", "@cubiczan/chp-mcp"]
}
}
}Claude Code
claude mcp add chp -- npx -y @cubiczan/chp-mcpWerkzeuge
Werkzeug | Entspricht | Zweck |
|
| LOCKED / HITL_REQUIRED / BLOCKED + claims + content hash |
|
| Menschliche Sperre bei HITL_REQUIRED (kann harte Fehler nicht überschreiben) |
|
| Float-bewusster kanonischer SHA-256 |
| — | Server- und Protokollversionen |
Beispiel — eine Ausgabe bewerten
// tools/call evaluate_spend_gate
{
"action": { "action": "LONG", "asset": "ETH", "notional": 300, "confidence": 0.9 },
"policy": {
"max_notional": 500,
"daily_cap": 2500,
"hitl_threshold": 250,
"min_confidence": 0.55,
"allowed_actions": ["LONG", "SHORT"]
}
}Verwandte
Paket / Repository | Rolle |
Profil-B-Bibliothek (Abhängigkeit dieses Servers) | |
Profil A + normative Spezifikation | |
Vollständiges MCP: Verträge, Skills, Profil-A-Gates | |
HTTP-MCP-Steuerungsebene | |
MCP für Codebasis-Gesundheit | |
Gemeinsame Retry-/Timeout-/Audit-Primitive |
Lizenz
MIT.
Available Tools
4 toolsapprove_spendA
Human-in-the-loop approval for a proposal that returned HITL_REQUIRED. Cannot approve BLOCKED / hard-rule failures (spec §6.3 / §6.5).
Inputs: action (required), policy (required), approver (required), committed_today.
chp_content_hashA
SHA-256 over float-aware canonical JSON (CHP §3.1) — matches Python consensus-hardening-protocol digests for the same object.
Inputs: value.
chp_versionA
Report MCP server and CHP Profile B protocol versions.
Inputs: no named parameters.
evaluate_spend_gateA
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.
Inputs: action (required), policy (required), committed_today.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct role: evaluate_spend_gate runs the policy check, approve_spend performs HITL approval, chp_content_hash computes hashes, and chp_version reports versions. No two tools overlap in purpose or could be easily confused.
The names are consistent snake_case and mostly follow a verb_noun pattern (evaluate_spend_gate, approve_spend). The chp_ prefixed helpers break that pattern slightly, but the prefix clearly groups utility/version operations, so the overall convention remains predictable.
Four tools is well-scoped for a narrow CHP Profile B protocol surface: gate evaluation, human approval, hashing, and versioning. Each tool earns its place without redundancy or bloat.
The core lifecycle is covered: evaluate → approve, with supporting hash and version utilities. A minor gap is the absence of an explicit tool to inspect proposal details, but the described results from evaluate_spend_gate include claims and content hashes, so agents can proceed without major dead ends.
Maintenance
Related MCP Connectors
Human-in-the-loop review and approval for AI agents. Audit trail, approval policies, native MCP.
One hosted MCP for Google, Meta, LinkedIn, TikTok, Reddit, Microsoft and Apple ads, with approvals.
Paid remote MCP for AI Studio Workspace approval gate MCP, structured receipts, audit logs, and revi
Human-in-the-loop for AI agents over MCP: durable approvals with a hosted review page & audit trail
Related MCP Servers
- AlicenseAqualityAmaintenanceAI-powered codebase health analysis — detects dead code, circular dependencies, coupling issues, and architectural drift. 6 MCP tools for Claude Desktop, Cursor, Windsurf, and Slack.665 npmMIT
- AlicenseNot gradedqualityNot gradedmaintenanceA code quality analysis server that detects security vulnerabilities, deceptive patterns, incomplete code, and highlights good practices in source code for MCP-compatible clients like Claude Code.3MIT
- AlicenseAqualityAmaintenanceAGENTS.md + skills orchestration with CHP Profile A R0/adversary gates. @cubiczan/agent-conductor710 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to evaluate CHP Profile B capital gates, including spend/mandate decisions, human-approval workflows, canonical JSON hashing, and signed audit ledger records.121 npmMIT