MCP and A2A Enterprise Gateway
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP and A2A Enterprise Gateway
A single, governed entry point for AI agents to reach enterprise tools (Model Context Protocol) and other agents (Agent2Agent protocol), including agents in partner trust domains. Every tool definition is reviewed and pinned by hash, every call is authorized by the agent identity fabric and the gateway's own policy, high-risk calls wait for a human, content crossing the boundary is inspected, and every decision lands in a signed audit chain.
Agent ─▶ Gateway ─▶ Authentication ─▶ Authorization ─▶ Federation
│ │ │ │
│ fabric introspection gateway policy RFC 8693 delegated
│ or federated JWKS + fabric PDP credential per hop
▼
pinned tool catalog · approval gate · content inspection · signed auditCapabilities
Capability | Implementation |
MCP gateway | Official MCP SDK |
Tool registration and discovery | Upstream servers registered behind an egress allow list; |
Lifecycle | draft → approved → deprecated (with sunset) → revoked; approval by a reviewer who did not run discovery (separation of duties) |
Rug-pull defense | Agents only ever see the pinned definition; a live definition that differs from its pin blocks calls until a reviewer approves the new version |
Tool poisoning | Descriptions and schema text are scored for injection at discovery; flagged versions need a written override to approve |
Per-tool allow lists | SPIFFE ID globs per tool version, plus credential scopes ( |
Parameter validation | Arguments validated against the pinned JSON Schema (Draft 2020-12, formats checked) and size-capped |
Response limits | Byte ceiling enforced on the wire before parsing, per tool or per server |
Output inspection | agentic-core |
Egress DLP | Credential material in tool arguments or A2A messages is blocked before it leaves |
A2A gateway | Agent Card at |
Agent card registry | Cards accepted only from configured trust domains and hosts, JWS-signed (RFC 8785 canonical form) by keys in the domain's JWKS, pinned by digest, same lifecycle as tools |
Federation | Outbound: RFC 8693 token exchange at the identity fabric for every hop, delegation depth checked against the target domain. Inbound: partner tokens verified against the partner JWKS and confined to an inbound scope ceiling |
Authorization | agentic-core |
Human approval |
|
Resilience | Per-agent token-bucket rate limits, per-upstream circuit breakers, timeouts everywhere, fail-closed on every dependency |
Audit | agentic-core signed hash chain, one chain per replica stored in PostgreSQL, verifiable online ( |
Observability | Prometheus metrics, OpenTelemetry traces, JSON logs with correlation IDs, SLO and security alerts, Grafana dashboard |
Related MCP server: MCP Warden
Quick start (local)
Requires Docker. No API keys or cloud credentials are needed.
docker compose up --build
curl -s localhost:8090/.well-known/agent-card.json | jq .name
curl -s localhost:8090/.well-known/oauth-protected-resource | jqThe stack runs the gateway, the agent identity fabric,
PostgreSQL for each, an OIDC provider standing in for the workload issuer and
the enterprise IdP, and an OpenTelemetry collector. To use delegated upstream
credentials locally, register the gateway as an agent in the fabric and set
GATEWAY_GATEWAY_AGENT_ID and GATEWAY_WORKLOAD_TOKEN_FILE
(configuration).
Development
uv sync
make check # ruff, black, mypy --strict, bandit, contract drift, tests (coverage >= 90%)
make integration # PostgreSQL tests (needs GATEWAY_TEST_DATABASE_URL)
make helm terraformTest suites: tests/unit, tests/security (one test per threat T1-T18 in the
threat model), tests/chaos (dependency failures), tests/performance
(latency budgets; locustfile.py for load), tests/e2e (full HTTP lifecycle
with the official MCP SDK client, both MCP protocol eras, A2A JSON-RPC,
interoperability with the real identity fabric, and a property-based OpenAPI
contract test), tests/integration (PostgreSQL). Upstream MCP servers in the
tests are real SDK servers served in-process; no network is used.
API
Endpoint | Caller | Purpose |
| Agents (fabric credential) | MCP Streamable HTTP: |
| Agents | A2A JSON-RPC: |
| Anyone | The gateway's A2A Agent Card |
| MCP clients | RFC 9728 metadata naming the identity fabric |
|
| Upstream MCP servers and discovery |
|
| Tool lifecycle |
|
| Agent card registry |
|
| Human approval of high-risk calls |
|
| Verify this replica's signed audit chain |
Full contract: docs/api/openapi.json; JSON Schemas in schemas/.
Operator tools: python -m mcp_a2a_gateway.cardsign (sign your own agent cards),
python -m mcp_a2a_gateway.audit_export (verified audit segments for WORM storage).
Deployment
Layer | Location |
Container image |
|
Helm chart |
|
Namespace and secret sync |
|
Cloud infrastructure |
|
See the startup runbook.
Documentation
Architecture, MCP gateway design, A2A federation design, agent specification
Runbooks: startup, monitoring, incident response, rollback, disaster recovery, audit export
Shared controls (policy engine, audit chain, content guard, logging, telemetry) come from agentic-core.
License
Apache-2.0
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-trust gateway for AI agents: score tool calls, verify agent cards, enforce policy, audit.
Security gateway for AI agents: policy, approval, and audited execution, no secrets shared.
Permission checks, human approval cards, and signed audit trails for AI agent tool calls.
Agent-native security, trust, reliability, data and procurement tools for AI workflows.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to safely call enterprise tools through a governed MCP gateway with permission enforcement, blast-radius controls, input validation, and a full audit trail for every invocation.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to reach upstream MCP tool servers through a central policy gateway that authenticates each agent, enforces least-privilege and default-deny rules, and applies response obligations such as redaction, inference stripping, PII masking, and truncation. It also records every decision in a tamper-evident, hash-chained audit log that can be verified later.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to safely invoke enterprise tools such as Supabase PostgreSQL and the Notion API through a zero-trust gateway that performs server-side policy and risk evaluation, cryptographically binds approval tickets to exact parameters, and requires out-of-band human approval for destructive operations. It also scrubs credentials from logs and responses while providing audit trails, rate limiting, and a web console for reviewing pending authorizations.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to call backend tools under per-agent policy, deciding which tools each agent can see, what arguments it may pass, how often it may call, and which writes wait for human approval. It also redacts secrets and PII from tool results, fences untrusted output against injection, and records every call in a hash-chained audit log.MIT