A2AMCP.dev / Specification
Deterministic MCP → A2A v1.0.1 Compilation Spec
Exact lossless field-mapping rules translating Model Context Protocol tool registries into discoverable Agent-to-Agent Skill definitions.
1. Field-Level Translation Table
MCP tools/list Field | A2A v1.0.1 Target Field | Deterministic Rule |
|---|---|---|
tool.name | skill.id & skill.name | Slugify to lowercase [a-z0-9_-] for id; humanize separators for name. |
tool.description | skill.description | Trim, strip control characters, enforce ≤ 280 chars. |
tool.inputSchema.properties | skill.tags & skill.examples | Derive typed parameter summary and deterministic JSON example payload. |
tool.annotations | skill.tags | Emit read-only, idempotent, or mutating security tags explicitly. |
2. End-to-End Interop Pipeline
1. Lint MCP manifest -> https://modelcontextpro.dev/
2. Compile to A2A Card -> https://a2amcp.dev/
3. Canonicalize & Hash -> https://mcpa2a.dev/ (RFC 8785 JCS + SHA-256)
4. Route & Gate Traffic -> https://forwardrouter.com/ & https://reverseharness.com/
Interoperability Cluster
Validate & JCS-hash your compiled Agent Card on mcpa2a.dev →