Chapters — Connection Layer (MCP)
MCP·Getting Started·6 min read·Sep 5, 2026

Why MCP Exists

The integration problem the Model Context Protocol solves, and the three primitives it standardizes: tools, resources, and prompts.

The problem before the protocol

Say you're building an AI assistant that needs to touch five different systems: a calendar, a ticketing tool, a database, a file store, and a search index. Before any standard existed, each of those was a bespoke integration: its own auth flow, its own request shape, its own error handling, wired directly into your assistant's code.

Now add a second assistant that needs the same five systems. You don't get to reuse the first assistant's integrations, because they were built into that assistant specifically. Ten assistants and twenty tools, done the old way, isn't 30 integrations. It's up to 200, because every assistant potentially needs its own connection to every tool.

That's the shape of the problem: connections grow with the product of how many AI systems exist and how many tools they need, not the sum. Add one new tool and every assistant that wants it needs its own integration work. Add one new assistant and it needs its own version of every integration that already exists.

The Model Context Protocol, introduced by Anthropic in November 2024 as an open specification, exists to collapse that multiplication into addition. A tool that speaks MCP is reachable by any AI system that also speaks MCP, with no per-pair integration required. Build the connection once, on either side, and it works with everything else that follows the same protocol.

Three primitives, one shape

MCP standardizes the interaction into three concepts, and almost everything else in this guide is really about how to use them well:

Tools
Executable actions the AI can invoke, with a defined input schema and a defined output. Sending a message, updating a record, running a search.
Resources
Readable data the AI can pull in, addressed by a URI. A document, a database row, a config file.
Prompts
Reusable instruction templates a server can offer, so a common workflow doesn't have to be re-explained from scratch every time.

None of these are new ideas on their own; APIs expose actions, databases expose readable records, and prompt templates already existed. What MCP adds is a shared shape for all three, so an AI system doesn't need custom code to understand a new server. It just needs to speak MCP, and the server describes its own tools, resources, and prompts at connection time.

Why standardizing this actually matters

One protocol, many pairs
A single integration effort covers every AI system and every tool that adopts the same standard, instead of one integration per pair.
Discovery instead of hardcoding
An AI system can ask a server what it can do at connection time, rather than shipping a fixed list of capabilities that goes stale.
Compounding value
Every new tool built to the standard is immediately usable by every AI system that already speaks it, and vice versa.
Less integration debt
Teams stop maintaining a pile of one-off connectors, each with its own quirks, auth handling, and failure modes.
What this guide covers

The rest of this guide moves from concept to practice: how the pieces actually talk to each other, how to build a working server, how to design tools an AI model can use well, and how to run one safely and quickly in production. If you came here to build something, the next few chapters get hands-on fast.

Part of a free guide

Connection Layer (MCP)

A simple guide to MCP, the protocol that lets AI tools talk to the outside world.

Browse All Guides →