governed-mcp-gateway
Cubiczan Agent Platform
Identidad, dinero y evidencia para agentes que realmente entregan.
Tres SKUs, un espacio de trabajo. Los clientes MCP mantienen un principal Bearer a través de tools/call y SSE. El gasto no puede liquidarse sin un mandato y, por encima del límite, una segunda clave humana. Las reclamaciones del consejo no pueden sellarse sin un agente, un bloqueo CHP y un documento con hash.

SKU | Puerto | Repo | Trabajo |
| Principal en cada llamada de herramienta y frame SSE. Rotación de credenciales en bóveda. Listas de permitidos de herramientas. | ||
| Proponer → mandato → cofirma → liquidar. Stripe por defecto; x402 es un riel. | ||
| Reclamación → agente → bloqueo → documento. Motores ASC 842 / 606 / 718. Paquete de evidencia encadenado con HMAC. |
Primitivas compartidas (packages/shared): puerta CHP, libro mayor HMAC, ayudantes HTTP/SSE. Cero dependencias npm en tiempo de ejecución. Stripe y x402 son rieles: las pruebas nunca llaman a redes en vivo.
Inicio rápido
npm install
npm test
npm run gateway # :7474
npm run spend # :7475
npm run cfo # :7476Claves Bearer de demostración (también en .env.example):
Rol | Clave |
Agente de gateway |
|
Humano de gateway |
|
Gateway de investigación (sin |
|
Agente de gasto |
|
Humano de gasto |
|
Agente CFO |
|
Humano CFO |
|
Regenera las tarjetas del README desde las APIs locales en vivo:
npm run shotsRelated MCP server: production-grade-mcp-agentic-system
1. Governed MCP Gateway
El MCP de producción pierde identidad. listTools se ejecuta en el hilo de la solicitud; tools/call y SSE se ejecutan en otro lugar. Este gateway resuelve una credencial Bearer a un Principal, la inyecta en cada llamada JSON-RPC y la repite en cada frame SSE. Las entradas de bóveda con nombre rotan en su lugar: github_token sigue siendo 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/mcpMétodo | Ruta | Qué |
|
| JSON-RPC |
|
| Notificación SSE con |
|
| Rotación de bóveda solo humana; el hash antiguo muere |
|
| Verifica un secreto contra el hash actual |
2. Agent Spend & Mandate Plane
Los agentes proponen. Los mandatos autorizan. Un humano cofirma cuando el monto supera el límite automático. El agente proponente no puede cofirmarse a sí mismo. La liquidación es un riel: evento de medidor de Stripe por defecto, pago requerido x402 si lo pides. Sin llamadas a cadena en este 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/proposalsMétodo | Ruta | Qué |
|
| El operador crea cobertura de céntimos restantes |
|
| El agente propone; carril |
|
| Segunda clave humana; los agentes son rechazados |
|
|
|
3. Auditable CFO Agent Mesh
Una reclamación del consejo no está completa hasta que tiene un agente, un estado CHP BLOQUEADO y al menos un hash de documento fuente. Los motores miden (rollforward de arrendamiento ASC 842, POC restringido ASC 606, SBC ASC 718). No deciden hechos de derecho. El gasto de tokens se adjunta como fuente en el mismo libro mayor encadenado con 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/claimsMétodo | Ruta | Qué |
|
| Abrir una reclamación |
|
| Adjuntar una fuente con nombre; SHA-256 almacenado |
|
| Bloqueo humano → |
|
| Clasificación ASC 842 + rollforward |
|
| Sellar; |
Especificaciones
Cambio de OpenSpec: openspec/changes/ship-three-sku-platform/.
Licencia
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