# What Is MCP?

> A plain-language explainer covering what MCP is, how its client-server design exposes tools, resources and prompts, and where its security limits sit.

**URL:** https://caywork.com/learn/docs/tips-and-guides/what-is-mcp

## Content

**Who this is for:** anyone whose AI tools have started asking to connect to an app, and anyone who wants to know what MCP changes and what it leaves alone. No technical background needed.
**How it's organized:** definition, then the integration problem, then the architecture, then the three primitives, then transports, then what changes for builders, then limits and security.

**The one-sentence version:** the Model Context Protocol is an open standard for connecting an AI application to external tools and data through one shared interface instead of a custom connector for every pair [5]; integrations become reusable, and the trust decision stays with the application that hosts the model.

---

## Part 1: The Basics

### What MCP is

The **Model Context Protocol (MCP)** is an open standard for connecting an AI application to external systems: data sources such as files and databases, tools such as search engines and calculators, and workflows packaged as reusable prompts [1][5]. It standardizes the conversation between the two sides, not the work either side does.

MCP is a protocol for **context exchange** [1]. It does not dictate which model an application uses, how it reasons, or how it manages context. A server can wrap a database, an API, or a desktop application, and the messages look the same. The protocol defines how an application discovers and calls what a server offers; when a tool runs, what the user sees, and which permissions are granted belong to the application [1].

## Part 2: The Integration Problem

Four AI applications that each need five external services, built one pair at a time, need 20 connectors. With a shared protocol, the same job takes 9 pieces, because each side is built once.

| Shape | Pieces for 4 clients and 5 tools | What a sixth tool adds |
|---|---|---|
| **One connector per pair** | 20 | 4 more connectors |
| **One shared protocol** | 9 | 1 more server |

The second effect matters more. In the pair-by-pair approach, a calendar integration must know its caller, and the application must know the calendar's details. With MCP, the server describes its tools in a standard shape and the application reads that description at runtime [2].

What it does not remove: the server still wraps the real API and handles its authentication, the application still decides which tools to expose, and someone still judges whether a result is trustworthy [1][2]. A shared plug changes the wiring, not the semantics.



## Part 3: The Architecture

MCP uses a client-server architecture with three roles [1].

| Role | What it is | What it does |
|---|---|---|
| **Host** | the AI application | coordinates clients, holds the model and the interface [1] |
| **Client** | one connection | holds a dedicated link to one server [1] |
| **Server** | a provider of context | exposes tools, resources and prompts [1] |

The host creates one client per server [1]. A local stdio server usually serves one client; a remote Streamable HTTP server usually serves many [1]. "Server" describes a program, not a location: the same software runs on a laptop or in a data center [1].

### Stateless by design

The current revision, `2026-07-28`, removed the `initialize` handshake and protocol-level sessions [3]. Every request carries its protocol version and client capabilities in `_meta`, so a server can process each request independently [1][3]. Servers must implement `server/discover` to advertise supported versions, capabilities and identity [1][3].

State that spans calls travels as an explicit handle passed on each request [3]. Messages are JSON-RPC 2.0 over either transport [1].

The previous revision, `2025-11-25`, used a session identifier and a connection-scoped handshake; many tutorials still describe it [3]. A guide that starts with `initialize` predates the current revision.



## Part 4: The Three Primitives

Servers expose three core primitives, distinguished by who decides when they are used [2].

| Primitive | Controlled by | What it is |
|---|---|---|
| **Tools** | The model | executable functions with typed inputs [2] |
| **Resources** | The application | read-only context addressed by URI [2] |
| **Prompts** | The user | reusable instruction templates [2] |

**Tools are the action surface.** A tool declares a name, description and JSON Schema, and the model decides when to call it [2]. The application performs the call and can require approval first. The model chooses from those strings, so they are part of the interface.

**Resources are the context surface.** Each has a URI and MIME type, and the application decides which to read [2]. A server can offer fixed resources or parameterized templates but cannot push them into a conversation [2].

**Prompts are the human surface.** They are templates a person invokes explicitly, often with arguments, to package a workflow around the server's tools [2]. A prompt is a starting point the user chooses, not an instruction the server injects.

The test: if the capability changes state, make it a tool; if it supplies context, a resource; if it packages a workflow, a prompt.

## Part 5: Transports

Two transports carry the same messages [1].

| Transport | Shape | Where it runs | Typical use |
|---|---|---|---|
| **stdio** | standard input and output between processes | the same machine | local files, databases and developer tools [1] |
| **Streamable HTTP** | HTTP POST with an optional server-sent event stream | remote | hosted services and shared servers [1] |

Transport choice makes a server local or remote, not a different protocol [1]. A stdio server is usually launched as a child process. A Streamable HTTP server is reached over the network and can use bearer tokens, API keys or custom headers; OAuth is recommended for tokens [1].

The `2026-07-28` revision removed the session identifier header, replaced the separate GET stream with `subscriptions/listen`, and makes a broken stream lose its request, which the client re-issues [3]. Another reason to check a tutorial's date.

## Part 6: What Changes for Builders

Four changes follow from the design.

- **Build once, expose to many hosts.** A server written to the protocol works with any compatible application; the Linux Foundation reported adoption across Claude, Cursor, Microsoft Copilot, Gemini, VS Code and ChatGPT in December 2025 [5].
- **Discovery replaces configuration.** Clients list tools, resources and prompts at runtime instead of hard-coding a menu, and can subscribe to change notifications [2][3].
- **Statelessness becomes the default.** Do not treat a connection as a session or a process as a conversation; pass identifiers explicitly [3].
- **Descriptions are part of the API.** The model selects tools from text the server writes, so naming and description quality decide whether the right tool is used [2].

What does not change: the server still owns the integration, its errors and its rate limits [1]. For one tool in one application, MCP adds a layer and buys little; for a tool used by several, it removes repeated connector work.

## Part 7: Limits and Security

The **trust boundary** is the host. It chooses which servers to connect, which tools to offer the model, and when a person must confirm an action [1][2]. Each client holds one connection, so a server sees only what the host sends it [1].

The risks worth knowing:

| Risk | What it looks like | Control |
|---|---|---|
| **Untrusted server** | a local server runs on your machine with your permissions | install only trusted servers, and require consent before one-click setup runs commands [4] |
| **Over-broad access** | a token with scopes far beyond the task | least privilege, with narrow scopes per server [4] |
| **Prompt injection** | instructions hidden in content a tool returns | treat tool output as data, and validate input from servers [4] |
| **Tool poisoning** | instructions hidden in a tool's name or description, which the model reads [2] | review tool descriptions and keep approval on consequential actions [2] |

The deepest limit is what the specification does not cover. It defines messages, not policy. It does not standardize the approval interface, the permission model, which tools are exposed, how resources are selected, or how a server earns trust [1][2]. It also does not secure the API behind the server [1]. Two applications can implement the same revision and behave very differently once a tool can write.

> **Two things that follow from this.** Treat tool descriptions as part of a server's attack surface, because the model reads them as instructions [2]. And treat the permission dialog as a product decision, not a protocol guarantee [1].



## Common Misconceptions

| Belief | Reality |
|---|---|
| "MCP is a model or an AI product." | It is a protocol for context exchange and does not dictate how an application uses a model [1]. |
| "MCP is one product's plugin system." | It is a wire protocol any compatible application can implement, so one server can serve different clients [5]. |
| "MCP is just another name for an API." | The server still wraps an API; MCP standardizes how it is described and called [1][2]. |
| "An MCP server can read the whole conversation." | It receives only what the host sends, and each client connects to one server [1]. |
| "Tools, resources and prompts are interchangeable." | They differ by who controls them: the model, the application and the user [2]. |
| "MCP is owned by Anthropic." | MCP was donated to the Linux Foundation's Agentic AI Foundation in December 2025 [5]. |
| "Any MCP tutorial is current." | The 2026-07-28 revision removed the handshake and sessions, and deprecated sampling, roots and logging [3]. |

## Glossary

| Term | Meaning |
|---|---|
| **Model Context Protocol (MCP)** | Open standard for connecting AI applications to external tools and data [1][5] |
| **Host** | The AI application that manages clients and holds the model [1] |
| **Client** | The component holding a connection to one server [1] |
| **Server** | A program that exposes tools, resources and prompts [1] |
| **Prompt injection** | Instructions hidden in content the model reads |
| **Tool poisoning** | Instructions hidden in tool metadata the model reads before calling |
| **Prompt** | A reusable template the user invokes [2] |
| **Stateless** | Each request carries what it needs, with no protocol session [3] |
| **Prompt injection** | Instructions hidden in content the model reads [4] |
| **Tool poisoning** | Instructions hidden in tool metadata the model reads before calling [2] |

## Related guides

Start with [What Is an AI Agent?](/learn/docs/tips-and-guides/what-is-an-agent) for the loop that calls these tools, then [What Is a Good Agent?](/learn/docs/tips-and-guides/what-is-a-good-agent) for the design decisions. [How to Write Better Prompts](/learn/docs/tips-and-guides/how-to-write-better-prompts) covers the instructions that decide when a model reaches for one.

## References and Helpful Links

- [Architecture overview](https://modelcontextprotocol.io/docs/learn/architecture) (MCP docs). Roles, layers, statelessness and transports [1].
- [Understanding MCP servers](https://modelcontextprotocol.io/docs/learn/server-concepts) (MCP docs). The primitive table and control question [2].
- [Key Changes](https://modelcontextprotocol.io/specification/2026-07-28/changelog) (MCP specification). What the 2026-07-28 revision removed and deprecated [3].
- [Security Best Practices](https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/security_best_practices) (MCP docs). Untrusted servers, consent and input validation [4].
- [Linux Foundation Announces the Formation of the Agentic AI Foundation](https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation) (Linux Foundation, 9 December 2025). MCP's governance and published server count [5].
