governed-mcp-gateway
Cubiczan Agent Platform
실제로 출시하는 에이전트를 위한 신원, 자금, 증거.
세 가지 SKU, 하나의 워크스페이스. MCP 클라이언트는 tools/call과 SSE를 통해 Bearer 프린시펄(principal)을 유지합니다. 지출은 위임장(mandate) 없이는, 그리고 상한 초과 시 인간의 두 번째 키 없이는 결제가 이루어지지 않습니다. Board 청구는 에이전트, CHP 잠금, 그리고 해시된 문서 없이는 봉인(seal)될 수 없습니다.

SKU | 포트 | 저장소 | 역할 |
| 모든 도구 호출과 SSE 프레임에 프린시펄. 볼트 자격 증명 순환. 도구 허용 목록. | ||
| 제안 → 위임 → 부서명 → 결제. 기본은 Stripe; x402는 하나의 레일. | ||
| 청구 → 에이전트 → 잠금 → 문서. ASC 842 / 606 / 718 엔진. HMAC 연결 증거 패키지. |
공유 프리미티브(packages/shared): CHP 게이트, HMAC 원장, HTTP/SSE 헬퍼. 런타임 npm 의존성 없음. Stripe와 x402는 레일일 뿐이며, 테스트는 실제 네트워크를 호출하지 않습니다.
빠른 시작
npm install
npm test
npm run gateway # :7474
npm run spend # :7475
npm run cfo # :7476데모 Bearer 키(.env.example에도 있음):
역할 | 키 |
게이트웨이 에이전트 |
|
게이트웨이 휴먼 |
|
게이트웨이 리서치( |
|
지출 에이전트 |
|
지출 휴먼 |
|
CFO 에이전트 |
|
CFO 휴먼 |
|
로컬 라이브 API에서 README 카드를 다시 생성합니다:
npm run shotsRelated MCP server: production-grade-mcp-agentic-system
1. Governed MCP Gateway
프로덕션 MCP는 신원을 버립니다. listTools는 요청 스레드에서 실행되고, tools/call과 SSE는 다른 곳에서 실행됩니다. 이 게이트웨이는 Bearer 자격 증명을 **프린시펄(Principal)**로 해석하고, 모든 JSON-RPC 호출에 주입하며, 모든 SSE 프레임에 반복합니다. 명명된 볼트 입력은 제자리에서 순환합니다 — github_token은 github_token으로 유지됩니다.



curl -sS -H "Authorization: Bearer mcp_agt_payops_demo" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"echo.ping","arguments":{"hello":"world"}}}' \
http://127.0.0.1:7474/mcp메서드 | 경로 | 설명 |
|
| JSON-RPC |
|
|
|
|
| 인간 전용 볼트 순환; 이전 해시는 폐기됨 |
|
| 현재 해시에 대해 비밀 값을 확인 |
2. Agent Spend & Mandate Plane(에이전트 지출 및 위임 계층)
에이전트가 제안합니다. 위임이 승인합니다. 자동 상한선을 초과하는 금액은 인간이 부서명합니다. 제안한 에이전트는 자기 자신을 부서명할 수 없습니다. 정산은 레일입니다: 기본은 Stripe 미터 이벤트, 요청 시 x402 payment-required. 이 MVP에는 체인 호출이 없습니다.



curl -sS -H "Authorization: Bearer spend_agt_payops_demo" \
-H "Content-Type: application/json" \
-d '{"agent":"agt_payops","merchant":{"name":"Stripe","url":"https://stripe.com","country":"US"},"total":"12.00","rationale":"tool meter"}' \
http://127.0.0.1:7475/v1/proposals메서드 | 경로 | 설명 |
|
| 운영자가 잔여 센트(remaining-cents) 커버리지를 생성 |
|
| 에이전트 제안; 레인 |
|
| 인간의 두 번째 키; 에이전트는 거부됨 |
|
|
|
3. Auditable CFO Agent Mesh(감사 가능한 CFO 에이전트 메시)
보드 청구는 에이전트, LOCKED CHP 잠금, 그리고 최소 하나의 소스 문서 해시가 있어야만 봉인(seal)될 수 있습니다. 엔진은 측정합니다(ASC 842 리스 롤포워드, ASC 606 제약 POC, ASC 718 SBC). 사실에 대한 법적 판단을 내리지는 않습니다. 토큰 지출은 동일한 HMAC 연결 원장에 기록됩니다.



curl -sS -H "Authorization: Bearer cfo_agt_lease_demo" \
-H "Content-Type: application/json" \
-d '{"title":"AI spend is $12.00 this period","narrative":"Token ledger supports the board claim.","agentId":"agt_lease"}' \
http://127.0.0.1:7476/v1/claims메서드 | 경로 | 설명 |
|
| 청구 열기 |
|
| 문서 첨부; SHA-256 저장 |
|
| 인간 잠금 → CHP 상태 |
|
| HMAC 체인 증거 패키지 검색 |
|
| 리스 분류 + 롤포워드 |
|
| 수익 인식 제약 계산 |
|
| 주식 보상 비용 계산 |
스펙
OpenAPI 스펙: openapi.yaml
라이선스
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server that lets AI agents call APIs without ever seeing the credentials, using a local encrypted vault and per-secret allowlist policies for HTTP requests and subprocess environment variables.1AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceA production-grade MCP server designed for multi-tenant, authenticated, and observable AI agent systems, enabling secure tool execution across heterogeneous data sources.57MIT
- FlicenseNot gradedqualityCmaintenanceA production-ready MCP server that authenticates agents via OAuth 2.1 Bearer tokens, validates JWTs with JWKS, enforces tool-level scopes and roles, and logs the full delegation chain.
- AlicenseNot gradedqualityCmaintenanceGoverned MCP server for bank-grade agent tool access with RBAC, PII redaction, rate limiting, and audit logging.MIT
Related MCP Connectors
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
An MCP server for Arcjet - the runtime security platform that ships with your AI code.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
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/Cubiczan/governed-mcp-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server