Skip to main content

Model Context Protocol (MCP)

How do AI agents use tools?

Why MCP won: Standard interface for creating tools and providing context to LLMs.

Model Context Protocol: MCP defines how AI models access external capabilities — databases, APIs, file systems, and other tools. It's the bridge between the model's reasoning and the world's data.

MCP vs A2A

AspectMCPA2A
FocusTool use — agent ↔ external capabilityAgent ↔ agent communication
ScopeHow agents access toolsHow agents coordinate
AnalogyHTTP (accessing resources)TCP (establishing connections)

They're complementary: MCP for tool access, A2A for inter-agent coordination.

Introduction

Implementation

Context