A2A Registry Bridge MCP
Multi-registry A2A v1.0.1 agent discovery, RFC 8785 Ed25519 card verification & skill routing bridge
Documentation
a2a-registry-bridge-mcp
a2a-registry-bridge-mcp (v1.0.0) is a zero-dependency (dependencies = [], 100% Python >= 3.10 stdlib) bidirectional A2A v1.0.1 <-> MCP Bridge, Global A2A Multi-Registry Discovery client, and Pure-Python RFC 8032 Ed25519 + RFC 8785 JCS AgentCard Signer/Verifier packaged as a 1-click .mcpb desktop bundle.
Claude Desktop, Cursor, Windsurf, and VS Code speak MCP natively rather than A2A v1.0.1, and existing "a2a" registry entries ship without self-contained .mcpb desktop bundles. a2a-registry-bridge-mcp bridges both ecosystems out of the box in < 50ms cold-boot latency with zero pip or C-extension install friction:
- Pure-Python RFC 8032 Ed25519 + RFC 8785 JCS: Cryptographically sign and verify
/.well-known/agent-card.json+/.well-known/jwks.json(EdDSA,cty: "application/a2a-agent-card+json") using onlypow(base, exp, mod)andhashlib.sha512— verified bit-for-bit against official RFC 8032 Section 7.1 Test Vectors 1, 2, & 3. - Cross-SDK
S4-REJECT-005ProtoJSON Guard: Flags unmodeled top-level keys (homepage,license,contact, legacyv0.3url/protocolVersion) andcleanEmpty()divergence hazards ([],{}, omitted capability booleans) so JWS signatures verify identically acrossa2a-python,@a2a-js/sdk, anda2a-go. - SSRF DNS-Pinned Remote Inspection: Inspects any public HTTPS domain's
agent-card.json,agent.json, andjwks.jsonwhile blocking loopback, RFC 1918 private networks, link-local/IMDS169.254.169.254, and CGNAT100.64.0.0/10IPs before opening sockets. - Bidirectional Schema & JSON-RPC Bridge: Deterministically converts MCP
tools/list<-> A2AAgentSkill[](JSON Schema2020-12) and validates A2Av1.0.1JSON-RPC 2.0 envelopes (SendMessage,GetTask,CancelTask,ListTasks).
Quick Install
Option 1: 1-Click .mcpb Bundle (Claude Desktop)
Download a2a-registry-bridge-mcp.mcpb from the v1.0.0 Release (or browse the interactive hub at khoaphan.dev/a2a-iq/) and double-click to install in Claude Desktop. Zero virtualenvs or external packages required.
Option 2: Zero-Install uvx Prebuilt Wheel & MCP Client Config (Cursor, Windsurf, VS Code)
# Instant zero-dependency CLI & stdio MCP server via prebuilt wheel
uvx --from https://github.com/khoap1220-hue/a2a-registry-bridge-mcp/releases/latest/download/a2a_registry_bridge_mcp-1.0.0-py3-none-any.whl a2a-registry-bridge-mcp selftest
claude mcp add a2a-registry-bridge -- uvx --from https://github.com/khoap1220-hue/a2a-registry-bridge-mcp/releases/latest/download/a2a_registry_bridge_mcp-1.0.0-py3-none-any.whl a2a-registry-bridge-mcp-server
{
"mcpServers": {
"a2a-registry-bridge": {
"command": "a2a-registry-bridge-mcp-server",
"args": []
}
}
}
Option 3: Hardened Non-Root Docker (UID 10001)
docker build -t a2a-registry-bridge-mcp .
docker run --rm -i a2a-registry-bridge-mcp
6 Read-Only MCP Tools
| Tool | Purpose | Key Guards & Guarantees |
|---|---|---|
a2a_search_registries | Query Global A2A Registries (api.a2a-registry.org, a2aregistry.org) by query, skill_tag, or verified_only | Concurrent IPv4-first timeout (3.5s) + built-in curated seed catalog when offline |
a2a_inspect_remote_agent | Fetch & verify /.well-known/agent-card.json, agent.json, and jwks.json on any public HTTPS domain | SSRF ipaddress DNS-pinning + pure-Python VERIFIED_EDDSA + S4-REJECT-005 audit |
a2a_scaffold_signed_card | Generate signed agent-card.json (v1.0.1), agent.json (v0.3), and jwks.json in memory | Ephemeral Ed25519 keypair (0 private keys written to disk; include_ephemeral_seed=False default) |
a2a_mcp_tools_to_skills | Translate MCP tools/list JSON into A2A v1.0.1 AgentSkill[] objects | Preserves tags, MIME modes, and canonical JCS invocation examples |
a2a_skills_to_mcp_tools | Reverse-wrap any A2A AgentCard's skills[] into MCP Tool[] JSON Schema 2020-12 definitions | Infers structured data_payload fields + emits SendMessage gateway route bindings |
a2a_build_jsonrpc_envelope | Build & validate A2A v1.0.1 JSON-RPC 2.0 envelopes (SendMessage, GetTask, CancelTask, ListTasks) | Flags v0.3 -> v1.0.1 breaking changes (message/send, ROLE_USER, TASK_STATE_*); dry_run=True default or bounded 64KB SSRF-safe POST probe |
Slash-Prompts (3) & Built-In Resources (2)
- Prompts:
discover-a2a-agents-for-task— Search global registries, inspect top HTTPS candidates, and prepare a verifiedSendMessagecall.generate-signed-agent-card— Convert MCP tools into A2Av1.0.1skills and sign a deployment-readyagent-card.json+jwks.jsonbundle.bridge-remote-a2a-agent-to-mcp— Wrap any remote HTTPS A2A agent as MCPTool[]definitions.
- Resources:
a2a-bridge://spec/v0.3-to-v1.0.1-migration-matrix— Machine-readable A2Av0.3 -> v1.0.1breaking-change &S4-REJECT-005reference.a2a-bridge://registries/global-endpoints— Global A2A registry API URLs and curated Ed25519 verified seed endpoints.
CLI Verification & Offline Card Verification
# Run deterministic RFC 8032 + JCS/JWS + 6-tool self-verification
a2a-registry-bridge-mcp selftest --json
# Verify any local agent-card.json against jwks.json offline
a2a-registry-bridge-mcp verify-card ./agent-card.json ./jwks.json
# Run full test suite (Python 3.10 - 3.13)
PYTHONDONTWRITEBYTECODE=1 pytest -v
Engineering Practice & Asynchronous A2A Support
Maintained by Khoa Phan (khoaphan.dev/a2a-iq/ · khoaphan.dev/services/).
We operate a 100% written asynchronous A2A engineering workflow via Email, In-App Messaging, and GitHub Specs/PRs (zero live meetings), leading with Code-First PoCs and automated regression test suites upfront for A2A v1.0.1 & MCP security audits, custom gateway bridges, and deterministic webhook hardening.