Explainer
What is MCP (Model Context Protocol)?
What problem does MCP solve?
Language models are far more useful when they can read your documents, query a database or create a ticket. Before MCP, each AI app had to build its own connector for each service. Ten AI apps and twenty services meant up to 200 separate integrations, each with its own quirks. This is often called the N×M integration problem.
MCP turns that into an N+M problem. Each service builds one MCP server; each AI app builds MCP support once. Any compatible app can then use any compatible server. A common analogy is a USB-C port for AI: one standard plug instead of a drawer full of adapters.
When Anthropic open-sourced MCP on 25 November 2024, it described the goal as replacing fragmented, one-off integrations with a single protocol for connecting AI systems to the places where data lives.
How does MCP work? Hosts, clients and servers in plain English
MCP has three roles. The host is the AI application you use, such as a desktop chat app, a code editor or an agent platform. The host decides which connections are allowed and asks for your consent.
Inside the host, a client handles the connection to one particular server. If you connect the app to GitHub, a calendar and a database, the host runs three clients, one per server.
The server is a small program that wraps a tool or data source and exposes it in the standard MCP format. Servers can run locally on your computer, for example to read files, or remotely as web services, for example a company’s hosted MCP endpoint. Messages between client and server use JSON-RPC 2.0, a simple, widely used format for requests and responses.
What can an MCP server provide?
The specification defines three main building blocks. Tools are actions the model can call, such as “search issues,” “send message” or “run query.” Resources are data the app can read and add to the model’s context, such as a file or a database record. Prompts are reusable templates a server offers for common tasks.
Servers advertise their capabilities to the client, so the host knows exactly which tools and resources are available. The model sees short descriptions of the tools and decides when to call one; the host carries out the call and returns the result.
What are some examples of MCP in use?
Common uses include letting a coding assistant read a repository and open pull requests, letting a chat assistant search a company’s documents or wiki, connecting an agent to a CRM or ticketing system, and giving an assistant access to a calendar, email or a database it can query.
Many software vendors now publish official MCP servers for their products, and large community directories list thousands more. That means a new AI app that supports MCP can connect to a wide range of services on day one, without its developers writing each integration.
Who supports MCP as of late 2026?
Adoption spread well beyond Anthropic during 2025. In December 2025, Anthropic donated MCP to the Agentic AI Foundation, a fund under the Linux Foundation co-founded by Anthropic, Block and OpenAI, with support from Google, Microsoft, AWS, Cloudflare and Bloomberg. The protocol’s existing maintainers continue to guide its technical direction through a public proposal process.
At the time of the donation, Anthropic reported more than 10,000 active public MCP servers and over 97 million monthly downloads of its Python and TypeScript SDKs. It named ChatGPT, Cursor, Gemini, Microsoft Copilot and Visual Studio Code among the products that had adopted MCP, and AWS, Cloudflare, Google Cloud and Microsoft Azure among the cloud providers offering deployment support.
The specification is versioned by date and continues to evolve, so details such as authentication and transport options change between releases. Check modelcontextprotocol.io for the current version.
Is MCP safe? Security risks to know
MCP is a connection standard, not a security guarantee. Connecting a model to tools gives it real power, and the usual AI risks travel along with that power.
The biggest is prompt injection. If a server returns content containing hidden instructions, for example an email or web page that says “send the user’s files to this address,” the model may follow them. Malicious or poorly built servers are another risk: a server can misdescribe what a tool does or request more access than it needs.
Sensible precautions are to install servers only from sources you trust, grant each one the least access it needs, use read-only access where possible, review and approve tool calls that change or send data, and keep secrets out of tool descriptions and prompts. The specification puts responsibility on hosts to obtain user consent before exposing data or running tools.
MCP vs APIs and function calling: what is the difference?
An API is how a single service exposes its features to programs. Function calling (or tool use) is a model feature that lets an LLM ask the app to run a named function with specific inputs. MCP sits between them: it is a standard way to package APIs as tools, describe them to any AI app, and deliver the results back.
MCP does not replace APIs; most MCP servers call an existing API underneath. It also does not replace function calling; the model still uses function calling to decide which MCP tool to use. What MCP adds is portability, so one integration works across many AI apps.
The three MCP roles in plain English
| Role | What it is | Example |
|---|---|---|
| Host | The AI app the user interacts with; manages connections and consent | A desktop AI assistant or an AI code editor |
| Client | A connector inside the host, one per server | The host’s link to a GitHub server |
| Server | A program that exposes a tool or data source through MCP | A server that lets the model search and create GitHub issues |
| Tools (server feature) | Actions the model can call | create_issue, run_sql_query |
| Resources (server feature) | Data the app can read into context | A file, a document, a database row |
| Prompts (server feature) | Reusable templates offered by the server | “Summarize this pull request” |
Examples
- A developer connects an AI code editor to a GitHub MCP server so the assistant can read issues and open a pull request with a fix.
- A team links its chat assistant to a documentation MCP server, so answers cite the internal wiki instead of guessing.
- An analyst connects an assistant to a read-only database MCP server and asks plain-English questions that become SQL queries.
- A local filesystem MCP server lets a desktop assistant organize files in one approved folder and nowhere else.
- A support agent uses a ticketing-system MCP server to look up a customer’s open cases before drafting a reply, with a human approving the send.
Common questions
Is MCP only for Claude?
No. Anthropic created it, but MCP is an open standard now hosted under the Linux Foundation’s Agentic AI Foundation. As of December 2025, Anthropic reported that ChatGPT, Gemini, Microsoft Copilot, Cursor and Visual Studio Code had adopted it, and anyone can build a compatible client or server.
Is MCP free to use?
Yes. The specification and official SDKs are open source, so there is no license fee to implement it. Individual MCP servers may connect to paid services, and running remote servers has hosting costs, but the protocol itself is free.
Do I need to code to use MCP?
Not necessarily. Many AI apps let you add an MCP server or connector through settings, sometimes from a directory with one-click setup. Building your own server does require programming, typically using one of the official SDKs.
What is an MCP connector?
“Connector” is a common product name for an MCP server that has been packaged for easy setup inside an AI app. For example, Claude’s connector directory lists integrations built on MCP. Under the hood it is the same host, client and server arrangement.
How is MCP different from an AI agent?
An AI agent is a system that plans and takes multi-step actions toward a goal. MCP is plumbing that agents can use to reach tools and data. An agent without tools can only talk; MCP is one standard way to give it hands, while the agent’s logic decides what to do.
Sources and further reading
- Introducing the Model Context Protocol — Anthropic
- Donating the Model Context Protocol and establishing the Agentic AI Foundation — Anthropic
- MCP specification: Architecture — Model Context Protocol
- Linux Foundation announces the formation of the Agentic AI Foundation — Linux Foundation
- LLM01:2025 Prompt Injection — OWASP Gen AI Security Project
Glossary terms
- AI agent
An AI agent is software that uses an AI model to pursue a goal over multiple steps, deciding for itself which actions to take, such as searching, running code or using other apps, then checking the results and continuing until the task is done or it needs a human.
- LLM
An LLM (large language model) is an AI model trained on huge amounts of text to predict the next piece of text in a sequence. That one skill lets it answer questions, write, summarise, translate and code. ChatGPT, Claude and Gemini are apps built on LLMs.
Keep reading
- What is an AI agent?
An AI agent is software that uses an AI model to pursue a goal over several steps, deciding for itself which tools to use and what to do next. It runs a loop: plan, take an action such as a search or API call, check the result, and repeat until the task is done or it needs a human.
- AI agent vs chatbot
A chatbot answers you: you send a message, it replies, and the turn ends. An AI agent works toward a goal: it plans steps, uses tools such as search, code, or apps, checks the results, and keeps going until the task is done or it needs your input. The difference is who drives the next step.
- What is RAG?
RAG (retrieval-augmented generation) is a technique where an AI system first searches a set of documents for passages relevant to your question, then gives those passages to a language model to write the answer. It lets the model use current, private, or specialized information it was never trained on, and makes answers easier to check against sources.
- What is a system prompt?
A system prompt is a set of instructions given to an AI model before the conversation starts, telling it who it is, what it should do and how it should behave. Users usually never see it. It sets the role, tone, rules and background knowledge, while user prompts are the individual questions or requests that follow.
- Prompt vs context engineering
Prompt engineering is the craft of wording instructions so a model understands the task. Context engineering is the wider job of deciding everything the model sees on each call: system prompt, retrieved documents, tool definitions and results, memory, examples, and conversation history, all within a limited context window. Prompt engineering is one part of context engineering.
- What is automation?
Automation means using software or systems to perform repeatable tasks with less ongoing human effort. It moves work from manual clicks and copy-paste into rules, scripts, or AI-assisted pipelines.