Skip to main content
Glama
@cubiczan/chp-mcp

@cubiczan/chp-mcp

@cubiczan/chp-mcp

icohangar-ops/cubiczan-chp-mcp MCP 서버

CHP Profile B 지출/자본 게이트를 위한 원커맨드 MCP 설치.

MCP 레지스트리 npm 적합성

Cursor, Claude Code 또는 모든 MCP 클라이언트가 프로토콜 코드를 벤더링하지 않고 evaluate_spend_gate를 호출할 수 있도록 @cubiczan/chp를 래핑합니다. 엔진 다이제스트는 표준 골든 벡터(Profile B 30/30)와 일치합니다.

구성 요소의 관계

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)
└───────────────────────────┘

AGENTS.md + 스킬 + Profile A decision_gate / decision_adversary가 필요하다면 대신 agent-conductor를 사용하세요.

Related MCP server: CodeSentinel MCP Server

설치

npm install -g @cubiczan/chp-mcp
# or one-shot
npx -y @cubiczan/chp-mcp

Cursor / Claude Desktop

{
  "mcpServers": {
    "chp": {
      "command": "npx",
      "args": ["-y", "@cubiczan/chp-mcp"]
    }
  }
}

Claude Code

claude mcp add chp -- npx -y @cubiczan/chp-mcp

도구

도구

매핑 대상

용도

evaluate_spend_gate

evaluateGate

LOCKED / HITL_REQUIRED / BLOCKED + 클레임 + 콘텐츠 해시

approve_spend

approveHuman

HITL_REQUIRED 시 인간 잠금 (하드 실패는 재정의 불가)

chp_content_hash

contentHash

부동소수점 인식 표준 SHA-256

chp_version

—

서버 + 프로토콜 버전

예시 — 지출 평가

// 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"]
  }
}

관련 프로젝트

패키지 / 저장소

역할

@cubiczan/chp

Profile B 라이브러리 (이 서버의 의존성)

consensus-hardening-protocol

Profile A + 표준 사양

@cubiczan/agent-conductor

전체 MCP: 계약, 스킬, Profile A 게이트

@cubiczan/governed-mcp-gateway

HTTP MCP 제어 평면

@cubiczan/codesentinel-mcp

코드베이스 상태 MCP

cubiczan-resilience / @cubiczan/resilience

공유 재시도 / 타임아웃 / 감사 프리미티브

라이선스

MIT.

Available Tools

4 tools
approve_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

    A4/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers