Caywork Logo
  • Agents
    • Development
    • Marketing
    • Lifestyle
    • E-commerce
    • Education and Tutoring
    • Finance and Banking
  • Platform
    • Creator
    • Contact
  • Enterprise
    • SMB
    • Managed Plans
    • Contact
  • Learn
    • Tips & Guides
    • Changelog
    • About Us
    • FAQ
    • Agent Components
    • Agent Use Cases
    • Blog
    • Resources
  • Pricing
Tips & Guides
Tips & Guides
  1. Docs
  2. Tips and guides
  3. What is mcp
What Is MCP?

Use this page in your AI assistant

Open in ChatGPTOpen in Claude

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.

ShapePieces for 4 clients and 5 toolsWhat a sixth tool adds
One connector per pair204 more connectors
One shared protocol91 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].

RoleWhat it isWhat it does
Hostthe AI applicationcoordinates clients, holds the model and the interface [1]
Clientone connectionholds a dedicated link to one server [1]
Servera provider of contextexposes 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].

PrimitiveControlled byWhat it is
ToolsThe modelexecutable functions with typed inputs [2]
ResourcesThe applicationread-only context addressed by URI [2]
PromptsThe userreusable 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].

TransportShapeWhere it runsTypical use
stdiostandard input and output between processesthe same machinelocal files, databases and developer tools [1]
Streamable HTTPHTTP POST with an optional server-sent event streamremotehosted 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:

RiskWhat it looks likeControl
Untrusted servera local server runs on your machine with your permissionsinstall only trusted servers, and require consent before one-click setup runs commands [4]
Over-broad accessa token with scopes far beyond the taskleast privilege, with narrow scopes per server [4]
Prompt injectioninstructions hidden in content a tool returnstreat tool output as data, and validate input from servers [4]
Tool poisoninginstructions 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

BeliefReality
"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

TermMeaning
Model Context Protocol (MCP)Open standard for connecting AI applications to external tools and data [1][5]
HostThe AI application that manages clients and holds the model [1]
ClientThe component holding a connection to one server [1]
ServerA program that exposes tools, resources and prompts [1]
Prompt injectionInstructions hidden in content the model reads
Tool poisoningInstructions hidden in tool metadata the model reads before calling
PromptA reusable template the user invokes [2]
StatelessEach request carries what it needs, with no protocol session [3]
Prompt injectionInstructions hidden in content the model reads [4]
Tool poisoningInstructions hidden in tool metadata the model reads before calling [2]

Related guides

Start with What Is an AI Agent? for the loop that calls these tools, then What Is a Good Agent? for the design decisions. How to Write Better Prompts covers the instructions that decide when a model reaches for one.

References and Helpful Links

  • Architecture overview (MCP docs). Roles, layers, statelessness and transports [1].
  • Understanding MCP servers (MCP docs). The primitive table and control question [2].
  • Key Changes (MCP specification). What the 2026-07-28 revision removed and deprecated [3].
  • Security Best Practices (MCP docs). Untrusted servers, consent and input validation [4].
  • Linux Foundation Announces the Formation of the Agentic AI Foundation (Linux Foundation, 9 December 2025). MCP's governance and published server count [5].

On this page

  • Part 1: The Basics
    • What MCP is
  • Part 2: The Integration Problem
  • Part 3: The Architecture
    • Stateless by design
  • Part 4: The Three Primitives
  • Part 5: Transports
  • Part 6: What Changes for Builders
  • Part 7: Limits and Security
  • Common Misconceptions
  • Glossary
  • Related guides
  • References and Helpful Links