io.github.icohangar-ops/chp-mcp
Official@cubiczan/chp
Consensus Hardening Protocol für TypeScript — Profile B Kapital-Gate, kanonisches JSON und signiertes Audit-Ledger.
Kanonisches Protokoll-Repository: icohangar-ops/consensus-hardening-protocol (Spezifikation, Goldene Vektoren, Python-Referenz)
Installation
npm (dieses Paket)
npm install @cubiczan/chpRegistry: npmjs.com/package/@cubiczan/chp
PyPI (Python-Referenz)
pip install consensus-hardening-protocolProfile-A-Deliberation + die normative Spezifikation. Dieses npm-Paket ist die installierbare TypeScript-Oberfläche für Ausgaben-/Mandats-Gates — mit derselben Kanalform wie
@cubiczan/codesentinel-mcp.
Related MCP server: numproof
Wie die Teile zusammenpassen
CHP ist die Engine. MCP-Server sind der Transport.
MCP client (Cursor / Claude / …)
│ tools/call
▼
┌───────────────────────────┐
│ MCP server (transport) │ ← agent-conductor, codesentinel-mcp, …
│ decision_gate │
│ decision_adversary │
│ evaluate_spend_gate │
└─────────────┬─────────────┘
│ depends on
▼
┌───────────────────────────┐
│ Published CHP packages │
│ PyPI: consensus-hardening-protocol (Profile A)
│ npm: @cubiczan/chp (Profile B) ← you are here
└───────────────────────────┘Dieses Paket ist Profile B (evaluateGate / approveHuman). Binden Sie es als etwas wie evaluate_spend_gate in einen MCP-Server ein. Profile-A-Deliberations-Tools (decision_gate, decision_adversary) befinden sich auf agent-conductor, das hinter einer stdio-Brücke vom PyPI-Paket abhängt.
MCP-Einzeiler
Für Cursor / Claude, ohne Klebecode zu schreiben:
npx -y @cubiczan/chp-mcpRegistry-Name: io.github.icohangar-ops/chp-mcp. Quelle: cubiczan-chp-mcp.
Konformität: Profile B 30/30 · Profile A (Python) 70/70.
Schnellstart
import { evaluateGate, approveHuman } from "@cubiczan/chp";
const policy = {
max_notional: 500,
daily_cap: 2500,
hitl_threshold: 250,
min_confidence: 0.55,
allowed_actions: ["LONG", "SHORT"],
};
const decision = evaluateGate(
{ action: "LONG", asset: "ETH", notional: 300, confidence: 0.9 },
policy,
);
// → { state: "HITL_REQUIRED", requires_human: true, ... }
const locked = approveHuman(
{ action: "LONG", asset: "ETH", notional: 300, confidence: 0.9 },
policy,
"cfo@example.com",
);
// → { state: "LOCKED", allowed: true, ... }Fehler bei harten Regeln (max_notional, daily_cap, min_confidence, …) werden vor dem HITL-Schwellenwerttest gesammelt. Eine Person darf die Schwelle überschreiten; eine Richtlinienverletzung darf sie jedoch nicht genehmigen (Spezifikation §6.3 / §6.5).
Sprachübergreifende Hashes
CHP-Inhalts-Hashes sind SHA-256-Hashes über kanonisches JSON (Spezifikation §3.1). Python gibt ganzzahlige Floats als 100.0 aus; JSON.stringify von JavaScript gibt 100 aus. Dieses Paket formatiert die gehashten Feldsätze von Profile B auf die Python-Weise, sodass die Audit-Digests mit den Goldenen Vektoren und der Python-Referenz übereinstimmen.
Konformitätsadapter
npm run build
python3 path/to/spec/conformance/run_conformance.py \
--adapter-cmd "node dist/adapter.js" \
--profile BProfile-A-Operationen werden als unsupported (SKIP) gemeldet, nicht als FAIL.
Lizenz
MIT.
Related MCP Servers
- FlicenseAqualityAmaintenanceGovernance/control plane for MCP-enabled coding-agent workflows with validation, findings, approvals, budgets, and proof bundles.5511
- AlicenseAqualityBmaintenanceMCP server for deterministic numeric verification and spreadsheet auditing. Enables AI agents to verify math/finance claims, audit rows, and evaluate covenant rules with signed, independently checkable receipts.4MIT

vantic-mcpofficial
AlicenseNot gradedqualityBmaintenanceEnables MCP hosts to verify agent spending mandates and receipts, providing stateless tools for authorization, chain verification, credential verification, and DID resolution.Apache 2.0- FlicenseNot gradedqualityCmaintenanceAn MCP approval gate that ensures agents execute only human-approved, hash-verified actions, providing fail-closed consent for consequential operations.
Related MCP Connectors
A paid remote MCP for Equibles, built to return verdicts, receipts, usage logs, and audit-ready JSON
A paid remote MCP for Statewright, built to return verdicts, receipts, usage logs, and audit-ready J
A paid remote MCP for ZeroID, built to return verdicts, receipts, usage logs, and audit-ready JSON.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/icohangar-ops/cubiczan-chp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server