A2AMCP.dev / Specification
SPECIFICATION · MCP → A2A COMPILER

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 FieldA2A v1.0.1 Target FieldDeterministic Rule
tool.nameskill.id & skill.nameSlugify to lowercase [a-z0-9_-] for id; humanize separators for name.
tool.descriptionskill.descriptionTrim, strip control characters, enforce ≤ 280 chars.
tool.inputSchema.propertiesskill.tags & skill.examplesDerive typed parameter summary and deterministic JSON example payload.
tool.annotationsskill.tagsEmit 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 →