Picture an AI assistant for a small business. You type, “Which invoices are overdue?” The language model behind it knows plenty about invoices in general but nothing about yours. It has no login to your accounting software and no way to look inside it. Something has to connect the two, and more and more often that something is MCP.
MCP stands for Model Context Protocol. It is an open standard that lets AI applications connect to outside tools and data using one shared set of rules. Anthropic introduced it in November 2024, and in December 2025 it moved to the Linux Foundation so no single company controls it. It matters most for AI agents, but if you have ever added a “connector” to an AI app you have probably used it already.
Why MCP Exists
Before MCP every connection was a custom job. A developer who wanted one AI app to read Google Drive wrote code for that app and that service alone, and the next app needed its own version. Anthropic described this as an N by M problem, where N apps and M tools produce a pile of one-off connectors (Wikipedia). Think of the years when every phone maker shipped a different charger. MCP is the shared port. A service builds one MCP connection and any app that supports the standard can use it.
How MCP Works
MCP has three parts. The host is the AI app you actually use, such as a chat assistant or a coding editor. Inside the host sits a client, a small component that talks to one server. The server is a lightweight program that gives the AI access to something specific like your calendar, a database or a folder of files. A host can run many clients at once but each client talks to exactly one server, and servers can run on your own computer or on the internet (MCP specification).
The pieces swap messages in a format called JSON-RPC, which is just a standard way for one program to send a request and get an answer. You never need to read these messages unless you build a server yourself. One design rule is worth knowing though. The host keeps the full conversation and a server only receives what it needs, so a server cannot read your whole chat or look into other servers.
What a Server Can Offer
According to the specification a server exposes three kinds of things. Tools are actions the AI can ask for, like creating a calendar event. Resources are data it can read, like a document or a database record. Prompts are ready-made instructions for common jobs. Most beginner explanations focus on tools because they are what make an assistant feel useful.
What Happens When You Ask a Question
Here is an invented example, not taken from a real product, using the invoice question from the start.
- The host connects to your accounting server and asks what it can do. The server replies with a list of tools, each with a name, a plain description and the inputs it needs.
- The model reads that list next to your question and decides a tool called “list_overdue_invoices” fits.
- The host sends the request through the client. Many apps pause here and ask your permission first.
- The server does the work and sends the result back.
- The model turns the result into an answer you can read.
The language model never touches your accounting software. It only picks a tool and the software around it carries the action out, which is the same loop covered in our guide to how AI agents work. The part that sets MCP apart is step one. The app asks the server what is available when it connects, instead of having every tool written into its code ahead of time.
MCP vs API vs RAG
People often ask whether MCP replaces APIs. It does not. An API is a fixed list of requests a service accepts, and a developer writes code that calls them. Most MCP servers sit on top of existing APIs, so the API still does the work and MCP makes it usable by an AI without custom code for every request (Peliqan).
| API | MCP | RAG | |
|---|---|---|---|
| What it is | A fixed set of requests a service accepts | A standard way for AI apps to find and use tools | A method of fetching relevant documents and adding them to the prompt |
| Who chooses what to call | The developer, in advance | The model, at the moment of the question | The retrieval system, based on the question |
| Can it take actions | Yes | Yes | Usually not, it mainly brings back information |
| Typical use | Connecting one piece of software to another | Giving AI apps tools and live data | Answering from your own documents |
RAG works best when the answer already lives in your documents. MCP is the better fit when the AI needs live data or has to do something, like update a record. The two can work together, since a document search system can itself be offered to an AI through an MCP server.
Who Uses MCP Today
OpenAI adopted MCP in March 2025 and Google DeepMind followed in April 2025 (Wikipedia). By its first anniversary it had been built into Claude, Microsoft Copilot, Gemini and ChatGPT among others (Pure AI). In December 2025 Anthropic donated it to the Agentic AI Foundation, a Linux Foundation fund co-founded by Anthropic, Block and OpenAI with support from Google, Microsoft, AWS, Cloudflare and Bloomberg (Anthropic). Reports from around that time counted more than 10,000 active servers and about 97 million SDK downloads a month, though those figures come from secondary coverage.
What Changed in 2026
Older tutorials may not match today’s version. On July 28, 2026 the maintainers finalized a major revision that removes protocol-level sessions, so each request now carries its own version and capability details. It also deprecated a few lightly used features such as sampling and roots, and moved long-running tasks into optional extensions. Not every change is backward compatible (Wikipedia). If you only use MCP through an app, none of this affects you. If you plan to build a server, check which version of the specification a tutorial was written for.
Is MCP Safe?
It depends on what you connect. The protocol itself is only a set of rules, and most problems come from what the AI reads and what it is allowed to do. In April 2025 researchers at Invariant Labs described tool poisoning, where malicious instructions hide inside a tool’s description. The model can read them but the user usually cannot see them. A related risk is prompt injection, where a web page or email returned by a tool contains instructions the model might follow. In May 2026 the U.S. National Security Agency published guidance saying MCP’s rapid spread had outpaced its security model (Wikipedia summary). The specification has since added security requirements, including OAuth 2.1 best practices.
A few habits cover most of the risk. Install servers only from sources you trust. Give each one only the access it needs. Keep approval prompts on for anything that changes or deletes data. And treat anything a tool returns as untrusted text, even when the server itself is one you chose.
Frequently Asked Questions
Is MCP the same as an API?
No. An API is a set of requests a program can make to a service. MCP is a standard that lets an AI app discover tools and call them, and those tools usually use APIs underneath.
Do I need to code to use MCP?
No. Many AI apps let you add connectors that are MCP servers through a settings screen. Building your own server does take programming.
Is MCP only for Claude?
No. Anthropic created it but it is now an open standard under the Linux Foundation and works across many AI apps, including ChatGPT and Gemini.
Does MCP make AI more accurate?
Not by itself. It gives a model access to current data and real tools, which helps, but the model can still misread results or choose the wrong tool. Check important answers.
The Short Version
MCP is a shared standard that lets AI apps find and use outside tools and data without a custom connector for every pair. A host, a client and a server pass requests back and forth, and the model decides which tool fits your question. It sits on top of APIs instead of replacing them, and its main risks come from untrusted tools and over-broad access. Use it with care and it turns a chat assistant into something that can actually get work done.
Sources
- Anthropic, Donating the Model Context Protocol and establishing the Agentic AI Foundation, December 9, 2025.
- Model Context Protocol, Architecture, specification version 2026-07-28.
- Wikipedia, Model Context Protocol. Used for the timeline, adoption dates, the 2026 revision, and security history. The NSA report and the Invariant Labs post were read only through this summary, not opened directly.
- Pure AI, Linux Foundation Launches Agentic AI Foundation, December 2025.
- Peliqan, MCP vs API. Used for the point that MCP servers usually sit on top of APIs.
- createwith.com coverage of the donation, used only for the server and download figures, which are flagged as secondary in the article.

