Model Context Protocol (MCP)
In this article
- Explain the integration problem MCP solves by counting the adapters three AI apps need with and without it.
- Name the host, the client and the server, and say which one each AI app, connector and capability is.
- Say what MCP leaves to the host and to the underlying service, such as who may call a tool.
- Decide whether MCP adds reusable value for a given integration or only adds a layer.
- Terms defined here: MCP host, MCP client, MCP server, Model Context Protocol.
Overview
Your company has one order service, and three AI apps want to look up orders through it: your own support chat, Claude Desktop on a colleague's laptop, and VS Code for the developers. Do you write the glue code three times, once for each app? And when a fourth app arrives, a fourth time? The Model Context Protocol, MCP for short, is an open standard for connecting AI apps to outside systems, meant to reduce that integration work [1]. [1]
Afterwards you can count what an integration costs with and without MCP, name the three roles it defines, and say what it leaves for you to build, such as who is allowed to read which order. You can also tell when MCP is the wrong choice and only adds a layer.
Three apps, three adapters
The shop here is made up. It has an order service that answers "what is the state of order O-1042?", and three AI apps that should be able to ask it. Each app lets a model use a tool: a function the model can have run for it, here reading one order [3]. [3]
Without a shared standard, each app needs its own adapter. An adapter is the code inside one app that turns the order service into a tool that app's model can request: it describes the tool in that app's format, receives the model's tool call, sends the request to the order service with the right credentials (the key or login the service accepts), and turns the reply into text. The support chat's adapter is written against the chat's code. Without a standard, each other app could expect its own tool format, so those adapters are written again from zero.
Count them before reading on: three apps and one service, then a fourth app joins.
| app | order-lookup code it needs |
|---|---|
| support chat | adapter 1, written for the chat |
| Claude Desktop | adapter 2, written for Claude Desktop |
| VS Code | adapter 3, written for VS Code |
| a fourth app, next year | adapter 4, written for that app |
Each copy repeats the same work: credentials, request format, error handling. When the order service adds a field, three teams have to change three adapters, and the one nobody updates quietly returns outdated answers.
One server for every app
Now move the shared part into one place. The shop runs one MCP server, called orders, that offers a tool named get_order. Each AI app contains an MCP client, a generic piece of code that speaks the protocol and knows nothing about orders. The client asks the server which tools it has, with a list request such as tools/list [4], gets back get_order, and calls it when the model asks to read O-1042. [4]
Line up both versions and count again:
| what you count | without MCP | with MCP |
|---|---|---|
| order-specific code | 3 adapters, one per app | 1 server, orders |
| code inside each app | a custom adapter | the MCP client the app already has |
| a fourth app joins | write adapter 4 | connect its client; no new adapter |
| the service adds a field | change 3 adapters | change the 1 server |
The count drops because the part that differs per app, the shape of a tool and a call, is now the same everywhere. Many AI apps already ship an MCP client: Claude and ChatGPT do, and so do Visual Studio Code and Cursor [1]. The shop's own support chat needs a client once, and it can take one from an official SDK, which is generic code, not an order adapter [5]. The project's own picture of this is a USB-C port: one standard plug in place of a different cable for every device [1]. [1,5]
Host, client and server
MCP names three roles, and the shop has all three [3]. [3]
The host is the AI application a person works in: the support chat, Claude Desktop, VS Code [3]. The host creates the clients and coordinates the model, and it is also where security policy and the user's consent are enforced [2]. [2,3]
The client is a connector the host creates inside itself, and each client talks to exactly one server [2]. If VS Code connects to orders and to a second server for the code repository, it runs two clients, one per server [2]. [2]
The server is the program that offers capabilities, here orders with its get_order tool [3]. A server can run as a local process on the same machine as the host or as a remote service elsewhere on the network [2]. [2,3]
So MCP is the agreement between client and server: which messages exist and what they contain, built on JSON-RPC 2.0, an existing standard message format that MCP reuses [2,3]. It takes some inspiration from the Language Server Protocol, the standard for adding support for a programming language, such as Python, to many development tools at once; MCP does the same for tools and context across AI apps [3]. [2,3]
What MCP leaves to you
Two easy misreadings cost teams real trouble. The first is that MCP is a kind of model. It is a protocol: messages between a client and a server [2]. The model sits in the host, and the server does not get the whole chat; the conversation history stays with the host [2]. [2]
The second misreading is that a tool is safe because it is served over MCP. The specification says plainly that MCP cannot enforce its security principles at the protocol level, and asks the people who build hosts and servers to add consent, authorization and access control themselves [3]. It also says the host must get the user's explicit consent before it invokes any tool, and that descriptions of a tool's behavior should be treated as untrusted unless they come from a trusted server [3]. [3]
Take the question "may this person read O-1042?". The list call tells the client that get_order exists; it says nothing about who may call it for which order. Here is who decides each part in the shop:
| part of the job | who supplies it |
|---|---|
finding get_order and the shape of a call | MCP: the list request and the call message |
| asking the user before the tool runs | the host |
| checking that O-1042 belongs to this customer | the order service, with its own login and rules |
deciding what get_order may return | the orders server code you write |
If the order service had no check of its own, adding an MCP server in front of it would not create one. The server would hand any order to anyone whose host called the tool.
When MCP earns its place
MCP pays when several AI hosts need the same capability through one boundary they can discover. It adds only overhead for a single function inside a single app. Three scenarios from the shop show the rule at work.
- One function in one app. The support chat's own code formats a delivery date for its replies. Only the chat uses it, and the chat already calls it directly. An MCP server would add a process, a protocol and a failure point for no second user. Keep the plain function.
- One capability, three hosts. Order lookup is wanted by the chat, Claude Desktop and VS Code. This is the
orderscase: one server replaces three adapters, and a fourth host costs a connection. MCP adds reusable value. - One capability that needs per-user permission. Customers may read only their own orders. MCP can carry the call, but the permission rule still lives in the order service and the consent step in the host [3]. Adopt MCP for the sharing, and build the check anyway. [3]
Common mistakes
- Wrapping a function only one app calls. Symptom: a new server, a deployment and a protocol between a chat and its own helper. Fix: call the function directly until a second host needs it.
- Trusting a server because it speaks MCP. Symptom: no permission check behind the tool, because "it goes through MCP". Fix: keep the service's own checks and the host's consent step; the protocol provides neither [3]. [3]
Sources
- What is the Model Context Protocol (MCP)?. Model Context Protocol project. Checked 24 Oct 2026.
- MCP specification 2026-07-28: Architecture. Model Context Protocol project. Checked 24 Oct 2026.
- Specification (MCP 2026-07-28). Model Context Protocol project. Checked 24 Oct 2026.
- MCP specification 2026-07-28: Key Changes. Model Context Protocol project. Checked 24 Oct 2026.
- MCP Python SDK releases. Model Context Protocol project. Checked 24 Oct 2026.
Check yourself
Check yourself
Question 1 of 13
Which part of an AI app talks to exactly one MCP server, and never two?
Your first check counts towards your result.