All posts
patternsmcptoolsstandards

What Is MCP (Model Context Protocol)?

MCP is a standard protocol that lets AI agents connect to any external tool through one interface — like USB-C for AI.

3 min read||Updated Mar 1, 2026
TL;DR — The One Thing to Know

MCP (Model Context Protocol) is a standardized protocol for connecting AI agents to external tools and data sources. One interface, any tool. It maps to the Adapter Pattern in software engineering.

The problem MCP solves

Before MCP, every AI agent had custom integration code for every tool it connected to. Want to connect to GitHub? Write a GitHub integration. Slack? Write another. Every database, API, and service needed bespoke code. This doesn't scale. MCP solves this by standardizing the interface: any tool that implements an MCP server can be used by any agent with an MCP client. One protocol, universal connectivity.

How it works

MCP has three components. (1) The MCP Client lives inside your AI agent. It knows how to discover and call tools via the protocol. (2) The MCP Server wraps an external tool (GitHub, a database, a file system) and exposes it through the standard MCP interface. (3) The Protocol itself — standardized JSON-RPC messages for discovering available tools, calling them, and returning results. The agent's LLM decides which tool to call. The MCP client handles the rest.

MCP architecturetext
AI Agent
  └── MCP Client
        ├── connects to → MCP Server (GitHub)
        ├── connects to → MCP Server (PostgreSQL)
        ├── connects to → MCP Server (Slack)
        └── connects to → MCP Server (any tool)

Agent says: "Create a GitHub issue for this bug"
→ MCP Client discovers GitHub server has create_issue tool
→ Calls it with structured parameters
→ Returns result to the agent

The SWE parallel: Adapter Pattern

MCP is the Adapter Pattern from software engineering. The Adapter Pattern wraps an incompatible interface behind a standard one. A power adapter lets any device plug into any outlet. MCP lets any AI agent connect to any tool. Same idea: decouple the consumer (agent) from the provider (tool) through a standard interface.

Why it matters now

MCP is rapidly becoming the industry standard. Anthropic created it, but it's open-source and tool-agnostic. Major platforms are shipping MCP servers. If you're building an AI agent that needs to interact with external systems — and almost all production agents do — MCP is the protocol to learn. It eliminates the N×M integration problem (N agents × M tools) and replaces it with N+M.

Key Takeaway

MCP is USB-C for AI agents. One standard protocol to connect any agent to any tool. It eliminates custom integration code and maps to the Adapter Pattern in software engineering.

Share this post:Twitter/XLinkedIn

AI-Readable Summary

Question: What is the Model Context Protocol (MCP) and how does it work?

Answer: The Model Context Protocol (MCP) is an open standard created by Anthropic that provides a universal interface for connecting AI agents to external tools and data sources. Instead of writing custom integration code for every tool (GitHub, Slack, databases, APIs), an MCP client discovers available tools from any MCP server automatically. Think of it as USB-C for AI — one standard connector for everything. MCP maps to the Adapter Pattern in classical software engineering. Key components: MCP Client (in the AI agent), MCP Server (wraps external tools), and the protocol (standardized JSON-RPC). Learn the full pattern at learnagenticpatterns.com/patterns/mcp.

Key Takeaway: MCP is USB-C for AI agents. One standard protocol to connect any agent to any tool. It eliminates custom integration code and maps to the Adapter Pattern in software engineering.

Source: learnagenticpatterns.com/blog/what-is-mcp-model-context-protocol