Skip to content

KI-Agent-Protokolle (MCP & A2A)

Kernfrage

Wie „kommuniziert" ein KI-Agent mit der Außenwelt? Genau wie das Internet das HTTP-Protokoll benötigt, brauchen KI-Agenten standardisierte Kommunikationsprotokolle. Dieses Kapitel stellt die beiden wichtigsten Agent-Protokolle vor: MCP und A2A, die jeweils die Kommunikation zwischen KI und Werkzeugen sowie zwischen Agent und Agent regeln.


0. Was ist ein Protokoll?

Im Bereich der Informatik ist ein Protokoll (Protocol) ein Satz standardisierter Regeln und Konventionen, die es verschiedenen Systemen und Programmen ermöglichen, sich gegenseitig zu „verstehen" und zu „kommunizieren".

0.1 Warum braucht man Protokolle?

Stell dir folgendes Szenario vor: Du verschickst ein Paket an einen Freund und musst die Adresse ausfüllen. Wenn jeder ein anderes Adressformat verwendet, kann der Zusteller nicht zustellen. Ein Protokoll legt den Standard fest, „wie die Adresse zu schreiben ist" – Provinz, Stadt, Bezirk, Straße, Hausnummer – wer in diesem Format schreibt, wird von allen verstanden.

Genauso ist es bei Computern. Zwei Programme, die kommunizieren wollen, müssen sich einigen auf:

  • Welches Datenformat? (JSON? Binär?)
  • Wie baut man die Verbindung auf? (Handshake-Ablauf)
  • Was passiert bei Fehlern? (Fehlerbehandlung)

0.2 Gängige Protokolle in der Informatik

ProtokollFunktionDu nutzt es täglich
HTTPWebseitenübertragungBrowser öffnet Webseiten
HTTPSVerschlüsseltes HTTPOnline-Banking, Zahlungsseiten
TCP/IPInternet-BasisprotokollAlle Netzwerkkommunikation
DNSDomain-Namensauflösunggoogle.com in IP-Adresse umwandeln
SMTPE-Mail-VersandE-Mails senden
WebSocketBidirektionale Echtzeit-KommunikationChat-Software, Online-Spiele
SSHSichere Remote-AnmeldungVerbindung zu Servern
FTPDateiübertragungsprotokollDateien hoch-/herunterladen

Diese Protokolle bilden das Fundament des Internets. Ohne sie könntest du keine Webseiten durchsuchen, E-Mails senden oder Videos ansehen.

0.3 Der Wert von Protokollen

Der Kernwert von Protokollen liegt in Standardisierung und Interoperabilität:

  • Standardisierung: Alle handeln nach denselben Regeln, was Kommunikationskosten senkt
  • Interoperabilität: Systeme verschiedener Hersteller und Technologie-Stacks können nahtlos zusammenarbeiten

Zum Beispiel ermöglicht das HTTP-Protokoll, dass der Chrome-Browser auf einen Nginx-Server zugreifen kann und ein Python-Crawler Daten von einer Java-Website extrahieren kann. Chrome und Nginx müssen sich nicht gegenseitig „kennen" – sie müssen nur beide HTTP einhalten.

0.4 Auch KI-Agenten brauchen Protokolle

Damit ein KI-Agent wirklich „arbeiten" kann, muss er:

  • Externe Werkzeuge aufrufen (Wetter prüfen, E-Mails senden, Datenbanken bedienen)
  • Mit anderen Agenten zusammenarbeiten (Aufgaben verteilen und komplexe Aufträge gemeinsam erledigen)

Dafür braucht es standardisierte Protokolle, die festlegen, „wie KI Werkzeuge aufruft" und „wie Agenten miteinander sprechen". Genau dafür wurden MCP und A2A entwickelt.


1. Die Hierarchie der Agent-Protokolle

Bevor wir in die spezifischen Protokolle eintauchen, betrachten wir die Kommunikationsebenen im Agenten-Ökosystem:

EbeneProtokollWas es löstAnalogie
1Function CallWie KI lokale Funktionen aufruftDas Gehirn gibt Befehle
2MCPWie KI sich mit externen Werkzeugen und Datenquellen verbindetUSB-C-Anschluss
3A2AWie Agenten kollaborieren und kommunizierenUnternehmens-Messenger

Interpretation dieser Tabelle

Ebene 1 (Function Call): Die grundlegendste Fähigkeit großer Modelle – durch Ausgabe strukturierter Daten (JSON) die Ausführung von Funktionen auslösen. Es ist die Grundlage des „Protokolls", aber eher eine Fähigkeit als ein Standardprotokoll.

Ebene 2 (MCP): Model Context Protocol, veröffentlicht von Anthropic im November 2024. Es standardisiert die Verbindung von KI mit externen Werkzeugen und Datenquellen, ähnlich wie USB-C die Ladeanschlüsse verschiedener Geräte vereinheitlicht hat.

Ebene 3 (A2A): Agent-to-Agent Protocol, veröffentlicht von Google im April 2025. Es ermöglicht verschiedenen Agenten, sich gegenseitig zu entdecken, zu kommunizieren und zusammenzuarbeiten, ähnlich wie ein Unternehmens-Messenger es Kollegen ermöglicht, Aufgaben zu senden und zu chatten.

Dieses Kapitel konzentriert sich auf die beiden formalen Protokolle der Ebenen 2 und 3: MCP und A2A.


2. MCP (Model Context Protocol)

2.1 Grundlegende Protokollinformationen

ElementInhalt
Vollständiger NameModel Context Protocol
InitiatorAnthropic
Veröffentlichungsdatum25. November 2024
Offizielle Dokumentationmodelcontextprotocol.io
Open-Source-LizenzMIT License
GitHubgithub.com/modelcontextprotocol

Warum „Context Protocol"?

Context (Kontext) ist der Schlüssel, mit dem große Modelle Aufgaben verstehen. Der Kerngedanke von MCP ist: KI soll die benötigten Kontextinformationen dynamisch abrufen können, statt alle Informationen in den Prompt zu stopfen.

Wenn die KI z. B. eine Datei lesen muss, muss der Benutzer den Dateiinhalt nicht kopieren und einfügen, sondern die KI greift über MCP direkt auf das Dateisystem zu.

2.2 Hintergrund der Veröffentlichung

Im Jahr 2024, mit der Veröffentlichung von Claude 3.5 Sonnet, stellte Anthropic ein Problem fest: Jedes Werkzeug musste einzeln integriert werden.

Stell dir vor:

  • KI soll ein GitHub-Repository lesen -> GitHub-Integrationscode schreiben
  • KI soll eine Datenbank abfragen -> Datenbank-Integrationscode schreiben
  • KI soll das Dateisystem bedienen -> Dateisystem-Integrationscode schreiben

Jede Integration erfordert ähnlichen Code: Authentifizierung, Fehlerbehandlung, Datenkonvertierung ...

Anthropic schrieb im offiziellen Blog:

"We're introducing the Model Context Protocol (MCP), an open protocol that standardizes how applications provide context to LLMs."

Kernziel: Werkzeugentwickler schreiben ihren Code einmal, und alle MCP-unterstützenden KI-Anwendungen können ihn nutzen.

2.3 Was ist MCP?

What is MCP?
MCP (Model Context Protocol) is a unified standard introduced by Anthropic in November 2024 for connecting AI with external tools. It lets AI applications call tools, read resources, and use predefined prompts, giving AI practical "hands" and "eyes".
Three Core Capabilities
Capability
English
Role
Example
Tools
Tools
Functions AI can call
Check weather, send email, call APIs
Resources
Resources
Data AI can read
File content, database records, configuration
Prompts
Prompts
Predefined prompt templates
Code review templates, writing templates
When should you use MCP?
When AI needs to perform real actions
AI should not only answer questions, but also send emails, operate files, and call third-party APIs.
When AI needs access to private data
Read local files, query databases, or access internal business systems.
When tool integration should be standardized
Build once and reuse across AI applications such as Claude, Cursor, and Windsurf.
How do you use MCP?
1
Develop an MCP Server
Implement a server that provides tools, resources, and prompts according to the MCP spec.
2
Configure the AI app connection
Add the MCP Server configuration to your AI app, either local or remote.
3
Let AI call it automatically
AI discovers and calls suitable tools or reads resources based on the task.

Drei Kernfähigkeiten:

FähigkeitEnglischFunktionBeispiel
WerkzeugeToolsFunktionen, die die KI aufrufen kannWetter abfragen, E-Mails senden
RessourcenResourcesDaten, die die KI lesen kannDateiinhalte, Datenbankeinträge
PromptsPromptsVordefinierte Prompt-VorlagenCode-Review-Vorlage, Schreibvorlage

2.4 Interne Implementierung von MCP

MCP InternalsCommunication details of the client-server architecture
Why is MCP so popular?

Before MCP, AI could only read and respond. With MCP, AI can finally take action by operating programs and helping with real work.

How do you use MCP?

Using MCP is simple: configure an mcp.json file, then your IDE can use MCP tools.

1
Find an MCP Server
Find the MCP Server you need from an MCP directory or GitHub.
2
Configure mcp.json
Find the MCP config location in your AI editor, such as Cursor or Claude Desktop, and add the server configuration.
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/home/user/projects"
      ]
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_TOKEN": "your-token-here"
      }
    },
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres"],
      "env": {
        "DATABASE_URL": "postgresql://user:pass@localhost/db"
      }
    }
  }
}
3
Restart the IDE
After restart, AI discovers and loads MCP tools automatically, so you can ask it to use them.
Are Skills replacing MCP?
As Skills become more common, many scenarios are starting to use Skills instead of the MCP protocol. Skills are lighter and easier to write for common tasks. MCP remains better for complex tool integrations and reuse across multiple clients. For simple operations, consider Skills first.
Common mcp.json locations
Cursor~/.cursor/mcp.json
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
Windsurf~/.windsurf/mcp.json
How do you implement an MCP Server?

Suppose you have a weather API and want to wrap it as an MCP Server that AI can call. This Node.js example shows the shape:

weather-mcp-server.js
import { Server } from '@modelcontextprotocol/sdk/server/index.js'
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'

// 1. Create MCP Server
const server = new Server({
  name: 'weather-server',
  version: '1.0.0'
}, {
  capabilities: { tools: {} }
})

// 2. Define tool list
server.setRequestHandler('tools/list', async () => ({
  tools: [{
    name: 'get_weather',
    description: 'Get weather for a city',
    inputSchema: {
      type: 'object',
      properties: {
        city: { type: 'string', description: 'City name' }
      },
      required: ['city']
    }
  }]
}))

// 3. Implement tool call logic
server.setRequestHandler('tools/call', async (request) => {
  const { name, arguments: args } = request.params

  if (name === 'get_weather') {
    // Call your weather API
    const response = await fetch(
      `https://api.weather.com/v1/current?city=${args.city}`
    )
    const data = await response.json()

    return {
      content: [{
        type: 'text',
        text: JSON.stringify(data)
      }]
    }
  }
})

// 4. Start service through stdio
const transport = new StdioServerTransport()
await server.connect(transport)
stdio vs HTTP+SSE transport
stdio (local process)

The MCP Server runs as a child process and communicates through standard input and output.

Pros: simple, secure, and suitable for local tools.

Cons: local only; no remote access.

HTTP + SSE (remote service)

The MCP Server runs as an HTTP service and supports SSE pushes.

Pros: remote access and sharing across multiple clients.

Cons: requires server deployment and authentication.

Communication Flow (4 Steps)
1Handshake (initialize)
When the MCP Server starts, it sends an initialize request to the client and declares protocol version and capabilities.
Server → Client
// Server sends an initialize request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2024-11-05",
    "capabilities": {
      "tools": {},
      "resources": {},
      "prompts": {}
    },
    "serverInfo": {
      "name": "filesystem",
      "version": "1.0.0"
    }
  }
}
2List tools (tools/list)
3Call tool (tools/call)
4Return result
Deep Dive: JSON-RPC 2.0 Message Format
Request Message Structure
{
  "jsonrpc": "2.0",           // protocol version
  "id": 1,                     // request ID used to match response
  "method": "tools/call",      // method name
  "params": { ... }            // parameter object
}
Response Message Structure
// Successful response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": { ... }
}

// Error response
{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32600,
    "message": "Invalid Request"
  }
}
JSON-RPC 2.0 is stateless. Every request includes an id so the client can match the response.
Deep Dive: Two Transport Modes
stdio (local process)
Used for local tools through standard input and output.
// Start MCP Server as a child process
npx @modelcontextprotocol/server-filesystem ./project

// Communicate through stdio
// stdin: receive requests
// stdout: send responses
HTTP + SSE (remote)
Used for remote services with long-lived push connections.
// HTTP transport with Server-Sent Events
POST /mcp HTTP/1.1
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": { ... }
}

// SSE long connection for push updates
GET /mcp/sse HTTP/1.1
// Continuously receive server updates
Deep Dive: MCP Core APIs
initializeInitialize
Server declares protocol version and capabilities to the client.
tools/listTool list
Get all available tools provided by the server.
tools/callCall tool
Call a specific tool and receive the result.
resources/listResource list
Get accessible resources such as files and databases.
resources/readRead resource
Read content from a specific resource.
prompts/listPrompt templates
Get predefined prompt templates.

2.5 Analogie: USB-C-Anschluss

MCP ist wie ein USB-C-Anschluss:

  • Früher: Jedes Gerät hatte seinen eigenen Ladeanschluss (rund, flach, magnetisch ...)
  • Heute: USB-C vereinheitlicht das Laden und die Datenübertragung aller Geräte
  • MCP: Vereinheitlicht die Verbindung von KI mit allen Werkzeugen

Werkzeugentwickler müssen nur einmal einen MCP-Server implementieren, und alle MCP-unterstützenden KI-Anwendungen (Claude, Cursor, Windsurf etc.) können ihn direkt nutzen.

2.6 Typische Anwendungsszenarien von MCP

SzenarioBeschreibungBeispiel
Lokale DateioperationenKI liest/ändert lokale DateienCodebasis lesen, Logdateien analysieren
DatenbankabfragenKI fragt Datenbanken direkt abSQL-Abfragen, Datenanalyse
API-AufrufeKI ruft Drittanbieterdienste aufGitHub API, Slack, E-Mail
Entwicklungswerkzeug-IntegrationKI nutzt EntwicklungswerkzeugeGit-Operationen, Terminalbefehle

Praktische Beispiele:

  • Cursor/Windsurf: Verbindung mit Dateisystem, Git, Terminal über MCP
  • Claude Desktop: Verbindung mit Notizsoftware, E-Mail-Client über MCP
  • Automatisierungsskripte: KI führt automatisierte Aufgaben aus (Backup, Deployment, Datensynchronisation)

3. A2A (Agent-to-Agent Protocol)

3.1 Grundlegende Protokollinformationen

ElementInhalt
Vollständiger NameAgent-to-Agent Protocol
InitiatorGoogle
Veröffentlichungsdatum9. April 2025
Offizielle Dokumentationgoogle.github.io/A2A
Open-Source-LizenzApache 2.0
GitHubgithub.com/google/A2A

Warum wurde es von Google initiiert?

Google veröffentlichte A2A auf der Cloud Next 2025-Konferenz, eng verbunden mit seiner Enterprise-KI-Strategie.

Google ist der Ansicht: Die Unternehmens-KI der Zukunft ist kein einzelner Super-Agent, sondern mehrere spezialisierte Agenten, die zusammenarbeiten – einer für Datenanalyse, einer für Codegenerierung, einer für Dokumentenverarbeitung.

Diese Agenten brauchen eine standardisierte Art der Kommunikation untereinander – daher A2A.

3.2 Hintergrund der Veröffentlichung

MCP löste das Problem „Wie verbindet sich KI mit Werkzeugen?", aber eine Frage blieb: Wie arbeiten mehrere Agenten zusammen?

Stell dir folgendes Szenario vor:

  • Agent A ist ein „Anforderungsanalyse-Experte"
  • Agent B ist ein „Codegenerierungs-Experte"
  • Agent C ist ein „Test-Experte"

Der Benutzer sagt: „Entwickle eine Login-Funktion für mich"

Agent A analysiert die Anforderungen und muss die Aufgabe an Agent B delegieren; Agent B schreibt den Code und muss ihn von Agent C testen lassen. Wie kommunizieren sie untereinander?

Google schrieb im offiziellen Blog:

"A2A is an open protocol that enables AI agents to communicate with each other, facilitating collaboration across different frameworks and vendors."

Kernziel: Agenten verschiedener Hersteller und Frameworks sollen nahtlos zusammenarbeiten können.

3.3 Was ist A2A?

What is A2A?
A2A (Agent-to-Agent Protocol) is a communication standard introduced by Google in April 2025 for collaboration between agents. It lets agents from different vendors and frameworks discover each other, assign tasks, and exchange information, like an intercom for the AI world.
Core Concepts
Agent Card
Public metadata for each agent, including capability descriptions, version, and endpoint.
Task
A work unit passed between agents. It can include multi-turn dialogue and file attachments.
Message
Communication content between agents, supporting text, files, audio, and other modalities.
SSE (Server-Sent Events)
A server push mechanism used for real-time task progress updates.
When should you use A2A?
When multiple agents need to complete a complex task
One agent analyzes requirements, another writes code, and another tests the result.
When integrating agents from different vendors
Agents from Google, Anthropic, OpenAI, and others need to collaborate.
When task delegation and progress tracking are needed
A main agent assigns work to expert agents and receives live progress updates.
How do you use A2A?
1
Publish an Agent Card
Expose the agent capability description at /.well-known/agent.json.
2
Discover agents
Use the agents/get API to fetch another agent card and inspect capabilities.
3
Send a task
Use the tasks/send API to send work, optionally receiving progress through SSE.
4
Fetch the result
After completion, use the tasks/get API to retrieve the final result.

Drei Kernkonzepte:

KonzeptEnglischFunktionAnalogie
Agent CardAgent-KarteBeschreibt die Fähigkeiten eines AgentenMitarbeiterausweis
TaskAufgabeDie auszuführende ArbeitseinheitArbeitsauftrag
MessageNachrichtKommunikationsinhalt zwischen AgentenChatverlauf

3.4 Interne Implementierung von A2A

A2A InternalsCommunication details of the peer-to-peer architecture
What can A2A do?

A2A lets multiple AI agents collaborate instead of working alone. A complex task can be assigned to specialized agents, each doing what it is best at.

How do you use A2A?

A2A is still early and mainly driven by Google. To try it, you need to develop an agent service that supports the A2A protocol.

1
Implement the Agent Card endpoint
Expose /.well-known/agent.json in your agent service and declare capabilities and version.
2
Implement A2A APIs
Implement core APIs such as agents/get, tasks/send, and tasks/get.
3
Deploy and register the agent
Deploy the agent to a server and register it so other agents can discover it.
Current Status
A2A was released in April 2025 and is still evolving quickly. Google provides reference implementations, while the ecosystem is still being built. Follow the official docs for current progress.
Communication Flow (5 Steps)
1Discovery (agents/get)
Agents fetch each other Agent Cards over HTTP to understand capabilities and versions.
HTTP request
// Agent A fetches Agent B's Agent Card
GET /.well-known/agent.json HTTP/1.1
Host: agent-b.company.com

// Response
{
  "name": "Code Agent",
  "description": "Professional code generation agent",
  "url": "https://agent-b.company.com",
  "version": "1.0.0",
  "capabilities": {
    "streaming": true,
    "pushNotifications": true
  },
  "skills": [
    {"id": "code-gen", "name": "Code generation"},
    {"id": "code-review", "name": "Code review"}
  ]
}
2Send task (tasks/send)
3Process task
4Push updates (SSE)
5Return result (tasks/get)
Deep Dive: Agent Card Format
An Agent Card is a JSON file, usually hosted at /.well-known/agent.json.
Agent Card Example
{
  "name": "Code Generation Agent",
  "description": "Professional frontend and backend code generation agent",
  "url": "https://code-agent.company.com",
  "version": "1.0.0",
  "capabilities": {
    "streaming": true,
    "pushNotifications": true
  },
  "skills": [
    {
      "id": "frontend",
      "name": "Frontend development",
      "description": "React/Vue/Angular"
    },
    {
      "id": "backend",
      "name": "Backend development",
      "description": "Node/Python/Go"
    }
  ],
  "authentication": {
    "schemes": ["Bearer", "OAuth2"]
  }
}
With Agent Cards, agents can discover each other, understand capabilities and versions, and interoperate.
Deep Dive: HTTP + SSE Communication
Task Send (HTTP POST)
POST /tasks/send HTTP/1.1
Host: agent-b.company.com
Content-Type: application/json
Authorization: Bearer {token}

{
  "id": "task-001",
  "message": {
    "role": "user",
    "parts": [{ "type": "text", "text": "Write a login endpoint" }]
  }
}
Real-time Push (SSE)
GET /tasks/task-001/sse HTTP/1.1
Authorization: Bearer {token}

event: progress
data: {"status": "processing", "progress": 50}

event: completed
data: {"status": "completed", "result": {...}}
SSE (Server-Sent Events) lets the server push messages, which works well for long-running task status updates.
Deep Dive: A2A Core APIs
GETagents/get
Fetch the target agent Agent Card and inspect capabilities.
POSTtasks/send
Send a task to the target agent and wait synchronously for the result.
POSTtasks/sendSubscribe
Send a task and subscribe to SSE progress updates.
GETtasks/get
Fetch task status and result by task ID.
GETtasks/cancel
Cancel a running task.
Deep Dive: Authentication
API Key
Simple authentication for internal agent communication.
Authorization: Bearer sk-xxxxx
# or
Authorization: ApiKey sk-xxxxx
OAuth 2.0
Enterprise authentication with token refresh and permission control.
Authorization: Bearer {access_token}
# refresh token supported
POST /oauth/token
{
  "grant_type": "refresh_token",
  "refresh_token": "xxx"
}

3.5 Analogie: Unternehmens-Messenger

A2A ist wie ein Unternehmens-Messenger:

  • Agent Card: Die Visitenkarte jedes Mitarbeiters – Name, Abteilung, Aufgaben
  • Aufgabe senden: @Jemand, eine Aufgabe zuweisen
  • Chat-Kommunikation: Während der Aufgabenausführung kann jederzeit kommuniziert werden
  • Aufgabenverfolgung: Fortschritt und Status der Aufgabe sind einsehbar

Verschiedene Agenten sind wie verschiedene Kollegen, A2A ermöglicht ihnen, komplexe Projekte gemeinsam zu bearbeiten.

3.6 Typische Anwendungsszenarien von A2A

SzenarioBeschreibungBeispiel
SoftwareentwicklungMulti-Agent-Kollaboration für EntwicklungsaufgabenAnforderungsanalyse -> Code -> Test -> Deployment
UnternehmensworkflowsAgenten verschiedener Abteilungen arbeiten zusammenHR-Agent + Finanz-Agent + Rechts-Agent
Intelligenter KundenserviceMehrere Fachagenten mit ArbeitsteilungEmpfang -> Beantwortung -> Weiterleitung -> Aufzeichnung
DatenanalyseMehrere Agenten analysieren Daten gemeinsamSammlung -> Bereinigung -> Analyse -> Visualisierung -> Bericht

Praktische Beispiele:

  • Google Agent Space: Unternehmensinterne Multi-Agent-Kollaboration für Dokumente, E-Mails, Kalender
  • Softwareentwicklungsteam: Anforderungs-Agent -> Code-Agent -> Test-Agent -> Deployment-Agent
  • Intelligentes Kundenservice-System: Empfangs-Agent -> Fachantwort-Agent -> Weiterleitungs-Agent

4. MCP vs. A2A: Vergleich und Beziehung

4.1 Kernunterschiede

DimensionMCPA2A
InitiatorAnthropic (Nov. 2024)Google (Apr. 2025)
PositionierungKI-Werkzeug-VerbindungAgent-Agent-Kollaboration
KommunikationsbereichClient-ServerPeer-to-Peer
DatenformatJSON-RPC 2.0HTTP + JSON
AnalogieUSB-C-AnschlussUnternehmens-Messenger

4.2 Beziehung zwischen beiden

MCP und A2A sind keine Konkurrenten, sondern ergänzen sich:

MCP vs A2APositioning differences between two major AI Agent protocols
Imagine a large shopping mall: MCP is like a unified outlet standard, so every tool can plug in; A2A is like an internal intercom system, so different agents can coordinate with each other.
MCPTool connection
Model Context Protocol
A protocol that connects AI applications with external tools and data sources, so tool builders can write once and support many AI apps.
InitiatorAnthropic
Released2024.11
ArchitectureClient-Server
Data formatJSON-RPC 2.0
AnalogyUSB-C: one interface for many devices
A2AAgent collaboration
Agent-to-Agent Protocol
A communication protocol that lets agents from different vendors and frameworks collaborate smoothly.
InitiatorGoogle
Released2025.04
ArchitecturePeer-to-Peer
Data formatHTTP + JSON
AnalogyWork chat: coworkers can assign tasks and talk
Core idea:MCP and A2A are complementary, not competing. MCP answers "how can AI access external capabilities"; A2A answers "how can multiple AI agents collaborate".

4.3 Wie wählt man?

SzenarioWahl
KI soll lokale Funktionen oder Werkzeuge aufrufenFunction Call
Drittanbieter-Werkzeuge nutzen (Datenbank, API, Dateisystem)MCP
Multi-Agent-Kollaborationssystem aufbauenA2A
Sowohl Werkzeugintegration als auch Multi-Agent-Kollaboration benötigtMCP + A2A

5. Zukunftstrends der Protokolle

5.1 Ökosystem-Entwicklung

MCP-Ökosystem (Stand: Anfang 2025):

  • Offizielle Server: Dateisystem, SQLite, Git, PostgreSQL u. a.
  • Community-Server: Slack, Notion, Figma, Stripe u. a.
  • MCP-unterstützende Anwendungen: Claude Desktop, Cursor, Windsurf, Zed u. a.

A2A-Ökosystem (gerade veröffentlicht):

  • Googles eigene Agent-Produkte unterstützen es zuerst
  • Die Open-Source-Community entwickelt SDKs in verschiedenen Sprachen
  • Unternehmensanwendungen werden noch erkundet

5.2 Standardisierungsprozess

Derzeit befinden sich die Agent-Protokolle noch in der „Zeit der kämpfenden Reiche":

  • MCP und A2A sind die beiden wichtigsten
  • Es gibt weitere aufkommende Protokolle wie ANP, AGP u. a.
  • In Zukunft könnten sie fusionieren oder vereinheitlicht werden

Analog zur Entwicklung des Internets:

  • Frühphase: Verschiedene LAN-Protokolle existierten nebeneinander
  • Später: TCP/IP wurde zum Standard
  • Heute: Agent-Protokolle könnten ebenfalls zu einer Vereinheitlichung führen

6. Zusammenfassung

Kernpunkte

ProtokollIn einem SatzVeröffentlichtInitiatorEinsatzszenario
MCPDer „USB-C" für KI-Werkzeug-VerbindungenNov. 2024AnthropicWerkzeugintegration, Datenquellenanbindung
A2ADer „Unternehmens-Messenger" für Agent-KollaborationApr. 2025GoogleMulti-Agent-Kollaboration, Aufgabendelegation

Kernerkenntnisse:

  1. MCP löst das Problem „Wie erlangt KI externe Fähigkeiten?"
  2. A2A löst das Problem „Wie arbeiten mehrere KIs zusammen?"
  3. Beide ergänzen sich und könnten in Zukunft fusioniert eingesetzt werden
  4. Die Protokollwahl hängt vom konkreten Szenario ab – es gibt keine universelle Lösung

Referenzen

  1. MCP Offizielle Dokumentation: modelcontextprotocol.io
  2. MCP GitHub: github.com/modelcontextprotocol
  3. Anthropic Veröffentlichungs-Blog: "Introducing the Model Context Protocol" (25.11.2024)
  4. A2A Offizielle Dokumentation: google.github.io/A2A
  5. A2A GitHub: github.com/google/A2A
  6. Google Cloud Blog: "Announcing the Agent-to-Agent Protocol" (09.04.2025)