On this page8 sections
- 01What is the Model Context Protocol?
- 02How MCP works: hosts, clients and servers
- 03The building blocks: tools, resources and prompts
- 04Local vs remote MCP servers
- 05How to add an MCP server: a config you can copy
- 06Who supports MCP in 2026, and who runs it?
- 07MCP security basics before you install a server
- 08FAQ
The Model Context Protocol (MCP) is an open standard that lets AI applications connect to outside tools and data in one consistent way. Instead of every AI app building its own integration for GitHub, Slack or your database, a service ships one MCP server, and any app that speaks MCP can use it. The official docs compare it to a USB-C port for AI applications.
Anthropic released MCP in November 2024, and it now belongs to a neutral foundation under the Linux Foundation. Claude, ChatGPT, Cursor, VS Code and many other apps support it. As of September 2026, the current version of the spec is dated 2026-07-28.
- MCP is an open standard for connecting AI apps to tools and data. Build an integration once, use it in any compatible app.
- There are three roles: the host (the AI app), a client inside it, and a server that exposes a tool or data source.
- Servers offer tools the model can call, resources it can read, and prompts you can pick.
- Local servers run on your computer. Remote servers run on the web and usually sign you in with OAuth.
- A server is code you trust with access. Install only ones you would trust with your files and accounts.
What is the Model Context Protocol?
The USB-C comparison is apt. Before a common port, every device needed its own cable. Before MCP, every AI app needed a custom integration for every tool, so ten apps and ten tools meant a hundred pieces of glue code. With a shared standard, each side builds once.
Under the hood, MCP messages use JSON-RPC 2.0, a simple format for requests and replies. The design borrows from the Language Server Protocol, which did the same job for programming languages in code editors. MCP is one of the main ways a chatbot becomes an AI agent that can act on real systems.
That look, decide, act pattern is the same loop at the heart of any AI agent. To see a tool call from the inside, build a small agent yourself in about 100 lines of Python.
MCP connects an agent to tools and data. A related standard, A2A, lets agents hand off work to each other instead, and our guide explains how the two differ.
How MCP works: hosts, clients and servers
The spec names three roles:
Host. The AI application you use, such as Claude Desktop, Cursor or VS Code.
Client. The connector inside the host. It keeps one connection to one server.
Server. The program that exposes a tool or data source, such as GitHub, a database or your file system.
Here is what happens when you ask an agent a question that needs an outside tool:
The app asks what the server offers
When the app starts, the client asks the server for its list of tools. Each tool has a name, a plain-language description and the inputs it accepts.
The model picks a tool
You ask, “Which bugs are assigned to me?” The model reads the tool descriptions and decides to call one, such as
list_issues, with the right inputs.You approve the call
Most apps show you the call and ask for permission, at least the first time. The spec says hosts must get your consent before invoking any tool.
The server does the work
The server calls the issue tracker’s API and sends the results back through the client.
The model answers
The results land in the model’s context, and it replies in plain words, or picks another tool if the job is not done.
The building blocks: tools, resources and prompts
An MCP server can offer three kinds of things.
| Building block | What it is | Who decides to use it | Example |
|---|---|---|---|
| Tools | Functions the model can call | The model | create_issue, run_query |
| Resources | Data to read, such as files or records | The app or you | A file, a table schema |
| Prompts | Ready-made templates | You | “Review this pull request” |
Tools do most of the work in practice. The protocol also lets a server ask you for missing information mid-task, and optional extensions add more. MCP Apps, the first official extension, lets a tool show an interactive form, chart or dashboard right in the chat.
Local vs remote MCP servers
Servers come in two shapes, and the difference matters for setup and for safety.
| Local server | Remote server | |
|---|---|---|
| Where it runs | On your computer, started by the app | On the internet, run by the service |
| How it connects | stdio: the app talks to it through standard input and output | Streamable HTTP, over the web |
| How you sign in | An API key in the config or environment | Usually OAuth: you log in through your browser |
| Good for | Files, local databases, developer tools | Online services such as GitHub, Notion or Linear |
| Main risk | It runs with your user account’s permissions | It sees whatever data you send it |
The trend is toward remote servers run by the service itself. You paste a URL, log in once, and nobody’s code runs on your machine.
How to add an MCP server: a config you can copy
Here is the setup from the official MCP docs for Claude Desktop, one of the most popular hosts. It adds the reference Filesystem server so Claude can read and organize files in two folders.
Check that Node.js is installed
Many servers run with Node.js. In a terminal, run
node --version. If nothing prints, install the LTS version from nodejs.org.Open the config file
In Claude Desktop, open the Claude menu, choose Settings, then Developer, then Edit Config. On macOS the file is
~/Library/Application Support/Claude/claude_desktop_config.json. On Windows it is%APPDATA%\Claude\claude_desktop_config.json.Paste the server settings
Replace the contents with the JSON below. Change
usernameto your own, and list only the folders you want Claude to reach.Restart and check
Quit Claude Desktop completely and open it again. The server appears in the connectors list, and Claude asks before each file action.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/username/Desktop",
"/Users/username/Downloads"
]
}
}
}Adding a remote server is usually a single line. In Claude Code, for example, this connects Notion’s official server, and running /mcp inside a session walks you through the login:
claude mcp add --transport http notion https://mcp.notion.com/mcpOnce you have added someone else’s server, building your own is the natural next step. Our tutorial on building an MCP server walks through a working one in about 30 minutes with the TypeScript SDK.
Who supports MCP in 2026, and who runs it?
Support is now widespread. The official site names Claude, ChatGPT, VS Code, Cursor and MCPJam. By December 2025, Anthropic said ChatGPT, Cursor, Gemini, Microsoft Copilot and VS Code had all adopted it.
MCP no longer belongs to Anthropic. In December 2025, Anthropic donated it to the Agentic AI Foundation, a fund under the Linux Foundation co-founded by Anthropic, Block and OpenAI. Day-to-day technical decisions stay with MCP’s maintainers, led as of September 2026 by David Soria Parra and Den Delimarsky. Seats belong to individuals, not companies, and changes go through public proposals.
- November 2024Anthropic releases MCP as an open standard, with servers for Google Drive, Slack, GitHub, Git, Postgres and Puppeteer
- December 2025Anthropic donates MCP to the Agentic AI Foundation under the Linux Foundation
- January 2026MCP Apps, the first official extension, lets tools show interactive UI inside the chat
- July 2026Spec 2026-07-28 makes the protocol stateless, so remote servers are easier to scale
What does “stateless” mean? Earlier versions opened each connection with a handshake that the server had to remember. Now every request carries what the server needs, so any copy of a server behind an ordinary load balancer can answer it. Old and new versions can run side by side, and deprecated features keep working for at least twelve months.
MCP security basics before you install a server
The spec is direct about the risk: tools “represent arbitrary code execution.” A local server runs with your permissions, and every tool description goes straight into the model’s context. Three ways this goes wrong are already documented.
Tool poisoning. In April 2025, Invariant Labs hid instructions inside a tool’s description, invisible to the user but read by the model. In their demo, Cursor’s agent read SSH keys and sent them out.
Rug pulls. A server can change its tool descriptions after you approved it, so yesterday’s review does not cover today’s version.
Impostor packages. In September 2025, Snyk reported an npm package called
postmark-mcp, not published by Postmark, that quietly copied every email it sent to an outside address.
There is also the quieter risk of prompt injection: any server that reads web pages, issues or emails can carry hidden instructions written by someone else.
A listing in the official MCP Registry proves who published a server, not that its code is safe: the registry verifies namespaces but leaves code scanning to others. For a starting list of official servers, see the MCP servers worth installing first.
FAQ
Is MCP only for Claude?
No. Anthropic created it, but it is now an open standard under the Linux Foundation, and apps such as ChatGPT, Cursor, VS Code and Gemini support it.
What is the difference between MCP and an API?
An API is one service’s own interface, and each app must learn it separately. MCP is a standard wrapper that lets any AI app discover and call a service’s tools the same way. Many MCP servers are thin layers over an existing API.
Is MCP safe to use?
MCP is as safe as the servers you connect and the permissions you grant. Use official servers, give them the least access that works, and keep tool approvals on.
Do I need to code to use MCP?
No. Most servers take a URL or a few lines of config, and many apps now offer one-click installs. You only write code to build your own server.
How is MCP different from agent skills?
MCP gives an agent access to other systems. Agent skills teach it how to do a job, often using those MCP tools. They work well together.
- MCP is a shared standard that connects AI apps to tools and data.
- Hosts contain clients, and each client talks to one server.
- Servers offer tools, resources and prompts. Tools do most of the work.
- The current spec is 2026-07-28, and a Linux Foundation fund hosts the project.
- Treat every server as code with access: verify it, scope it and keep approvals on.
Next, pick your first servers from our shortlist by job, or learn how agent skills teach an agent to use them well.
- Specification, Model Context Protocol, July 2026
- Versioning, Model Context Protocol
- The 2026-07-28 specification, MCP blog, July 2026
- What is the Model Context Protocol (MCP)?, Model Context Protocol
- Connect to local MCP servers, Model Context Protocol
- Connect Claude Code to tools via MCP, Anthropic
- Add and manage MCP servers in VS Code, Microsoft, September 2026
- Governance and stewardship, Model Context Protocol, September 2026
- Introducing the Model Context Protocol, Anthropic, November 2024
- Donating MCP to the Agentic AI Foundation, Anthropic, December 2025
- MCP Apps: bringing UI capabilities to MCP clients, MCP blog, January 2026
- The MCP Registry, Model Context Protocol
- MCP security notification: tool poisoning attacks, Invariant Labs, April 2025
- Malicious MCP server on npm postmark-mcp harvests emails, Snyk, September 2025




