Skip to content
AI Tools

What Is MCP? The Model Context Protocol Explained for Beginners

AIblogly Team October 12, 2026
What Is MCP? The Model Context Protocol Explained for Beginners

In short: the Model Context Protocol (MCP) is an open standard that lets AI apps such as Claude, ChatGPT, VS Code and Cursor connect to outside tools and data (your files, GitHub, Slack, databases) in one common way. A program that offers a tool through MCP is called an MCP server; once it exists, any AI app that speaks MCP can use it.

MCP's own documentation compares it to a USB-C port for AI: one standard connector instead of a custom cable for every device. This guide explains what that means in plain language first, then the parts, then the technical details for developers.

What is MCP, explained simply?

MCP is a shared language that AI apps and outside tools use to talk to each other. Without it, every AI app needs its own custom code for every tool: one integration for Claude and Google Drive, another for ChatGPT and Google Drive, another for Cursor and Google Drive, and so on for every pair.

With MCP, the tool's maker writes one MCP server, and every AI app that supports MCP can use it. The AI app's maker supports MCP once, and gets every MCP server that exists.

An everyday example: you ask Claude, "Summarise the open issues in my GitHub project." Without a connection, Claude can only say it cannot see your project. With a GitHub MCP server connected, Claude can ask that server for the issue list, read it, and answer from your real data.

Where did MCP come from?

Anthropic, the company behind Claude, released MCP as an open-source standard on 25 November 2024. The announcement published the specification and software kits, support for local MCP servers in the Claude Desktop apps, and a set of ready-made servers for systems including Google Drive, Slack, GitHub, Git, Postgres and Puppeteer. Anthropic credits David Soria Parra and Justin Spahr-Summers with creating it.

MCP is not limited to Anthropic's products. Its documentation lists support in AI assistants including Claude and ChatGPT and in coding tools including Visual Studio Code and Cursor.

Who runs MCP now?

Since 9 December 2025, MCP has belonged to the Agentic AI Foundation (AAIF), a directed fund under the Linux Foundation. Anthropic donated the protocol and co-founded the foundation with Block and OpenAI, with support from Google, Microsoft, Amazon Web Services, Cloudflare and Bloomberg. The project is legally "Model Context Protocol a Series of LF Projects, LLC", and changes to the specification go through a public governance process of maintainers and Specification Enhancement Proposals (SEPs).

What are the components of an MCP system?

An MCP system has three parts: a host, one or more clients, and one or more servers. These roles come from the MCP architecture overview.

How MCP connects an AI app to tools and data: a host app contains one MCP client per connection; each client talks to a local server over stdio or a remote server over Streamable HTTP; servers offer tools, resources and prompts.

The host is the app you use. Inside it, each MCP client keeps one connection to one server. A local server runs on your own computer; a remote server is hosted online. Every server can offer tools, resources and prompts.

  • Host: the AI application you work in, such as Claude Desktop, Claude Code, ChatGPT or VS Code. It decides what the AI is allowed to use and shows you what is happening.
  • Client: a small component inside the host that keeps a connection to one server. A host connected to three servers runs three clients.
  • Server: a program that offers something to the AI: data to read, or actions to take. It can run locally on your computer (for example, a server that reads your files) or remotely as a hosted service (for example, a company's official server for its product).

What can an MCP server offer?

Every MCP server offers some mix of three things: tools, resources and prompts.

  • Tools: actions the AI can take, such as "search issues", "send a message" or "run a database query". Each tool describes the inputs it needs, so the AI knows how to call it.
  • Resources: information the AI can read for context, such as a file, a document or a database record.
  • Prompts: ready-made instructions the server provides, such as a template for using its tools well.

A server can also ask you for something through the app. This is called elicitation - for example, asking you to confirm before an action runs.

What is an MCP connector?

"Connector" is the name Anthropic uses in Claude for a connection to an outside app or service; connectors are built on MCP. Anthropic's help centre says connectors let Claude access your apps and services, retrieve your data, and take actions within connected services, and that Claude inherits each person's permissions from the connected service: if you cannot open a file there, the connector cannot reach it either.

There are two ways to get one:

  • Pre-built connectors from Claude's Connectors Directory, for services such as Google Drive, Slack and Linear.
  • Custom connectors, where you add the address of any remote MCP server yourself (Anthropic's guide).

Every step for both, on each plan, is in how to add connectors to Claude.

For developers, Anthropic's API also has a feature called the MCP connector, which lets an app connect to remote MCP servers directly from the Messages API without building an MCP client.

How is MCP different from a normal API?

An API is one company's own way of talking to its product; MCP is a common wrapper so AI apps can use many APIs the same way. A GitHub MCP server, for instance, still uses GitHub's API underneath. What MCP adds is a standard description of what the tools are and how to call them, which an AI model can read and use without someone writing custom glue code for each app.

How is MCP different from RAG and function calling?

RAG and function calling are techniques; MCP is the plug that connects an app to the systems those techniques use.

  • RAG (retrieval-augmented generation) finds relevant documents and adds them to the model's prompt before it answers. MCP does not replace it: an MCP server can be the place the documents come from, offered as a resource or a search tool, and the same server then works in every MCP app.
  • Function calling (tool use) is a model API feature: the developer lists functions in a request and the model replies with the one it wants to call. MCP standardises the other side, where those tools live and how an app discovers them, so a tool written once as an MCP server can be listed to the model by any MCP host instead of being hard-coded into one app.
What it isWhere it lives
RAGA way to add retrieved text to a promptInside one app's pipeline
Function callingA model's ability to request a tool callIn one model API request
MCPA protocol for offering tools, data and prompts to any AI appIn a separate server, shared by many apps

How does an AI app use an MCP server, step by step?

  1. Connect. You add the server to your AI app (for example, by enabling a connector).
  2. Discover. The app's MCP client asks the server what it offers. The server replies with its list of tools, each with a name, a description and the inputs it needs.
  3. Decide. When you ask a question, the AI model reads that list and decides whether a tool would help.
  4. Call. The client sends the tool call to the server, which does the work (such as fetching your GitHub issues) and sends back the result.
  5. Answer. The result is added to the conversation, and the model writes its reply using it.

Most apps ask for your approval before a tool takes an action, which is the host's job in the design.

Is MCP safe to use?

MCP itself is a communication standard; how safe a connection is depends on the server you add and the permissions you give it. Anthropic's help centre notes that Claude inherits your permissions from the connected service, and that custom connectors using a shared credential reach whatever that credential can access. Practical habits:

  • add servers only from sources you trust, such as a company's official server;
  • read what a tool will do before approving it;
  • give a connection only the access it needs.

For remote servers, the MCP documentation states that MCP recommends OAuth, the standard "log in with..." flow, for obtaining access tokens.

The specification's security best practices name the attacks implementers must guard against. The ones that matter most to users:

  • Local server compromise. A local server is a program that runs on your computer with your access. The documentation's examples include a malicious "startup" command hidden in a client configuration and a harmful payload shipped inside the server itself, and it calls for sandboxing and clear consent before a local server runs.
  • Token passthrough. A server that accepts access tokens issued for some other service and forwards them unchecked; the specification forbids it.
  • Confused deputy. A server that acts for many users can be tricked into using its own permissions on an attacker's behalf.
  • Too much access. The scope-minimisation section asks servers to request only the permissions a task needs, rather than broad access up front.

For developers: how MCP messages travel

MCP has two layers: a data layer that defines the messages, and a transport layer that carries them. The data layer uses JSON-RPC 2.0 messages. Clients discover a server's features with list methods such as tools/list and run a tool with tools/call; each tool advertises a JSON Schema for its inputs.

Two transports are defined:

  • stdio: standard input and output between two programs on the same computer; the usual choice for a local server.
  • Streamable HTTP: HTTP POST for messages from client to server, with optional Server-Sent Events for streaming; used for remote servers.

What does a minimal MCP server look like?

The official build-a-server tutorial uses the Python SDK, installed with uv add "mcp[cli]". Its pattern, cut down to one tool:

from mcp.server import MCPServer

mcp = MCPServer("weather")

@mcp.tool()
async def get_alerts(state: str) -> str:
    """Get weather alerts for a US state.

    Args:
        state: Two-letter US state code (e.g. CA, NY)
    """
    ...  # call the weather API and return the alerts as text

if __name__ == "__main__":
    mcp.run(transport="stdio")

The function name, its typed arguments and its docstring become the tool's name, input schema and description in tools/list; the host's model reads them to decide when to call it. transport="stdio" makes it a local server that an app such as Claude Desktop starts on your computer.

What changed in the 2026-07-28 version

The current MCP documentation is versioned 2026-07-28 and describes several changes from earlier versions:

  • Stateless requests. Every request carries the protocol version and the client's capabilities in its _meta field, so a server can handle each request on its own.
  • Discovery. Servers must implement a server/discover request that returns their supported versions, capabilities and identity in one response.
  • Opt-in notifications. A client that wants change notifications (for example when a server's tool list changes) opens a subscriptions/listen stream naming the events it wants.
  • Deprecations. Sampling, which let a server ask the host's model for a completion, and protocol-level logging are deprecated in this version. The documentation directs new implementations to call model provider APIs directly and to log to stderr or OpenTelemetry.

Where to find MCP servers

The project runs the Official MCP Registry, a public catalogue where server authors publish their servers under a namespace with version numbers, and which apps and other directories can read through its API. Inside Claude, the Connectors Directory lists pre-built connectors.

This site also keeps a list of MCP servers, each linked to its official repository or documentation, on the Tools page. AIblogly also runs its own MCP server, which lets an AI app look up this site's model data, such as prices, context windows and rankings, directly.

Words to know

  • MCP (Model Context Protocol): the open standard for connecting AI apps to tools and data.
  • Host: the AI app you use.
  • Client: the part of the host that talks to one server.
  • Server: the program that offers tools, resources and prompts.
  • Tool: an action the AI can take through a server.
  • Resource: information a server lets the AI read.
  • Connector: Anthropic's name for an MCP-based connection in Claude.
  • stdio / Streamable HTTP: the two ways MCP messages travel: on one computer, or over the internet.

Frequently asked questions

What is MCP in AI?+

MCP, the Model Context Protocol, is an open standard that lets AI applications connect to external tools and data in one common way. An MCP server offers tools, data and prompts, and any AI app that supports MCP, such as Claude, ChatGPT, VS Code or Cursor, can use it.

What is an MCP connector?+

In Claude, a connector is a connection to an outside app or service such as Google Drive, Slack or Linear, built on MCP. You can add pre-built connectors from Claude's directory or add a custom connector by giving the address of any remote MCP server. Anthropic's API also has a feature named the MCP connector that lets developers reach remote MCP servers directly from the Messages API.

What are the components of an MCP system?+

Three: the host, which is the AI app you use; clients, which live inside the host and each keep a connection to one server; and servers, which offer tools, resources and prompts. Servers can run locally on your computer or remotely online.

What is an MCP server?+

An MCP server is a program that makes a tool or data source available to AI apps through the Model Context Protocol. It lists what it offers, such as actions like searching issues or reading files, and carries out those actions when an AI app asks.

Who created MCP?+

Anthropic open-sourced the Model Context Protocol on 25 November 2024, and credits David Soria Parra and Justin Spahr-Summers with creating it. It is an open standard supported by other AI apps, including ChatGPT, VS Code and Cursor.

Is MCP only for Claude?+

No. MCP's documentation lists support in several AI assistants and development tools, including Claude, ChatGPT, Visual Studio Code and Cursor. Any application can implement the open specification.

Who owns MCP?+

Anthropic created MCP and donated it on 9 December 2025 to the Agentic AI Foundation, a directed fund under the Linux Foundation co-founded by Anthropic, Block and OpenAI. The specification is developed in the open by maintainers through Specification Enhancement Proposals.

What is the difference between MCP and RAG?+

RAG adds retrieved documents to a model's prompt inside one app. MCP is a protocol for connecting any AI app to tools and data. They work together: an MCP server can supply the documents a RAG step retrieves.

How is MCP different from an API?+

An API is one product's own interface. MCP is a standard layer on top: an MCP server usually calls a product's API underneath, but describes its tools in a common format that any MCP-compatible AI app can read and use without custom code.

Enjoyed this? Get more in your inbox.

Up to ten of the week's AI news stories, by email once a week.