What Is an MCP Server? An MCP server is a small program that exposes tools, data or prompt templates to an AI agent over the Model Context Protocol, an open standard Anthropic open sourced on 25 November 2024, according to the protocol's own site. The architecture uses three roles — a host AI application such as Claude Code or Claude Desktop, one client per connected server, and the server itself — exchanging JSON-RPC 2.0 messages over stdio for local processes or Streamable HTTP for remote ones. Servers expose three primitives: tools the agent can call, resources it can read for context, and prompts the user selects, with support now spanning ChatGPT, Visual Studio Code and Cursor. What Is an MCP Server? An MCP server gives an AI agent tools, data and prompts over one open protocol. What it is, the host, client and server roles, and where Claude Code plugs in. An MCP server is a small program that hands an AI agent tools, data or prompt templates over the Model Context Protocol , an open standard. The agent's app the host opens a client connection to each server it uses, the two talk in JSON-RPC over stdio or Streamable HTTP, and the server answers with whatever it was built to expose. One server, many hosts, no custom glue code. An MCP server is a small program that gives an AI agent access to something it doesn’t have built in: a database, an issue tracker, a browser, your files. It speaks the Model Context Protocol, an open standard, so any compliant AI application can connect the same way, without custom code to wire each one up. If you already use one AI coding CLI, this layer matters more once you run several agents at once in a multi-agent harness /blog/what-is-a-multi-agent-harness/ , because each agent reaches its databases and issue trackers through the servers it has been given, and which agent gets which server becomes your call. What is an MCP server? what-is-an-mcp-server It’s a program that exposes tools, data or prompt templates to an AI application over the Model Context Protocol. The protocol’s own site describes it as an open standard for connecting AI applications to external systems checked 11 Sep 2026, modelcontextprotocol.io https://modelcontextprotocol.io/docs/2026-07-28/getting-started/intro . Anthropic open sourced MCP on 25 November 2024 checked 11 Sep 2026, Introducing the Model Context Protocol https://www.anthropic.com/news/model-context-protocol , and it’s grown well past Anthropic’s own tools since: the protocol’s own site names ChatGPT, Visual Studio Code and Cursor among the applications that support it. The official framing is a USB-C port for AI applications: one connector shape instead of a different adapter for every device. It’s a fair comparison, and a relief if you remember the drawer full of proprietary chargers that preceded USB-C. How does an MCP server work? how-does-an-mcp-server-work Three roles do the work: a host, a client and a server. The host is the AI application, Claude Code or Claude Desktop, say. It opens one client for every server it connects to, and each client keeps a dedicated connection to its server checked 11 Sep 2026, MCP architecture https://modelcontextprotocol.io/docs/2026-07-28/learn/architecture . Client and server exchange JSON-RPC 2.0 messages, and the spec says MCP takes some inspiration from the Language Server Protocol that editors use for programming languages checked 11 Sep 2026, MCP specification https://modelcontextprotocol.io/specification/2026-07-28 . Those messages travel over one of two transports: stdio for a server running as a local process, or Streamable HTTP for one running remotely, which typically serves many clients at once. A client can ask a server which protocol versions and features it supports with one server/discover request, then fetch the actual tools, resources and prompts with tools/list , resources/list and prompts/list , and those lists can change while you work checked 11 Sep 2026, MCP architecture https://modelcontextprotocol.io/docs/2026-07-28/learn/architecture . What does an MCP server actually give an agent? what-does-an-mcp-server-actually-give-an-agent Three things, formally called primitives: tools, resources and prompts. Tools are functions the agent can call to do something, like running a query or filing a ticket. Resources are data the agent can read for context, like a file’s contents or a database record. Prompts are ready made templates the user picks, often shown as slash commands MCP server concepts https://modelcontextprotocol.io/docs/2026-07-28/learn/server-concepts , so a server can ship its own few-shot examples alongside its tools checked 11 Sep 2026, MCP architecture https://modelcontextprotocol.io/docs/2026-07-28/learn/architecture . Claude Code is one MCP host among several, and not every host handles all three: client and server each declare what they support, so check your client’s docs checked 11 Sep 2026, MCP architecture https://modelcontextprotocol.io/docs/2026-07-28/learn/architecture . Here’s the Claude Code command that manages those servers from the client side, checked on 11 Sep 2026: bash $ claude --version 2.1.268 Claude Code $ claude mcp --help Usage: claude mcp options command Configure and manage MCP servers Options: -h, --help Display help for command Commands: add options