Agent2Agent (A2A) Protocol vs Model Context Protocol (MCP)
A2A and MCP solve different problems and are usually used together. MCP connects an AI application to servers that offer tools, resources and prompts. A2A lets one agent discover another agent, send it messages and track tasks without either side exposing its internals. Both are open protocols under Linux Foundation governance with official SDKs in several languages.
Facts side by side
| Fact | Agent2Agent (A2A) Protocol | Model Context Protocol (MCP) |
|---|---|---|
| Type | Protocol | Protocol |
| Languages / SDKs | Python, JavaScript, Java, Go, C#, Rust | TypeScript, Python, C#, Go, Rust, Ruby, Java, Swift, PHP, Kotlin |
| License | Apache-2.0 | unknown |
| Pricing model | Open source, free | Open source, free |
| Orchestration pattern | Other | Other |
| GitHub stars | 25,999 (as of 2026-10-04) | 9,375 (as of 2026-10-04) |
| GitHub forks | 2,643 | 1,852 |
| Last push | 2026-10-02 | 2026-10-03 |
| Latest release | v1.0.1 | 2026-07-28 |
| Repository | a2aproject/A2A | modelcontextprotocol/modelcontextprotocol |
| Website | a2a-protocol.org | modelcontextprotocol.io |
| Documentation | a2a-protocol.org | modelcontextprotocol.io |
| Last verified | 2026-09-30 | 2026-09-30 |
| MCP support | Partial (checked 2026-09-30) | Yes (checked 2026-09-30) |
| A2A support | Yes (checked 2026-09-30) | Unknown (checked 2026-09-30) |
| AG-UI support | Unknown (checked 2026-09-30) | Unknown (checked 2026-09-30) |
| Install verified | 2026-09-30 | 2026-09-30 |
Choose Agent2Agent (A2A) Protocol if
- You need agents built with different frameworks or by different organizations to delegate work to each other.
- You need stateful tasks with progress, artifacts and interrupted states such as input required or auth required.
- You need discovery through an Agent Card served at a well-known URL.
Choose Model Context Protocol (MCP) if
- You need to give one agent or application access to tools, data sources or prompt templates.
- You want the widest tool ecosystem: most tools in this directory document MCP support, far fewer document A2A.
- You want stateless requests over stdio or Streamable HTTP, as defined since the 2026-07-28 revision.
Migration notes
There is nothing to migrate between them; the question is which layer a given integration belongs to. A2A's own docs describe MCP as the agent-to-tool layer and A2A as the agent-to-agent layer, and the A2A specification defines no normative mapping to MCP. A rule that follows from the two specs: if the remote side is a function with typed inputs and outputs, expose it as an MCP tool; if it is an agent that plans, keeps task state and may come back with questions, expose it over A2A. Both protocols had breaking revisions in 2026 that affect existing code. A2A v1.0 renamed JSON-RPC methods (message/send became SendMessage), changed enum and ID formats, and requires an A2A-Version header. MCP revision 2026-07-28 removed the initialize handshake, protocol-level sessions and server-initiated requests, and the MCP Python SDK 2.x renamed FastMCP to MCPServer. Check which revision each SDK and framework in your stack implements before connecting them.
FAQ
Is A2A a replacement for MCP?
No. The A2A docs call the two complementary: MCP connects an agent to its own tools and resources, A2A connects agents to each other.
Can an agent be exposed as an MCP tool instead of using A2A?
Several frameworks in this directory do that (for example publishing an agent as an MCP server). It works for request-and-response use. A2A adds what MCP tools do not model: task lifecycle, streaming task updates, push notifications and agent discovery.
Who governs each protocol?
A2A was developed by Google and donated to the Linux Foundation, with a Technical Steering Committee of eight companies. MCP is run as Model Context Protocol, a Series of LF Projects, LLC, with changes going through public enhancement proposals.
Where does AG-UI fit?
AG-UI covers a third layer, between an agent and a user-facing application. Its docs describe MCP, A2A and AG-UI as complementary. See the protocol matrix.
What are the current versions?
As of 2026-09-30: A2A's latest release is v1.0.1 (protocol version 1.0), and MCP's current specification revision is 2026-07-28.