# MCP (Model Context Protocol)

> MCP is the open standard for connecting AI models to external tools and data: write one server, and any MCP client — Claude Code, IDEs, agents — can use it.

**MCP (Model Context Protocol) is the open standard for connecting AI applications to external tools and data sources — write one MCP server for a capability, and any MCP-compatible client can use it.**

Before MCP, every "let the model query our database" integration was bespoke glue between one app and one service. MCP replaces that with a client–server protocol: a **server** exposes tools (functions the model calls), resources (data the app attaches), and prompts (reusable templates); a **client** — Claude Code, Claude Desktop, IDEs, custom agents — discovers and uses them over JSON-RPC, locally via stdio or remotely via Streamable HTTP.

Created by Anthropic in late 2024, adopted by OpenAI and Google in 2025, and donated to the Linux Foundation's Agentic AI Foundation that December, MCP became the de facto standard for the agent-to-tool layer, with thousands of public servers. Its sibling protocol [A2A](/guides/mcp/mcp-vs-a2a) covers the agent-to-agent layer.

Start consuming servers with [Adding MCP Servers to Claude Code](/guides/mcp/claude-code-mcp-setup) and the [2026 shortlist](/guides/mcp/best-mcp-servers-2026); build your own with [Building an MCP Server](/guides/advanced/building-an-mcp-server).

---

_Source: https://agentscamp.com/glossary/model-context-protocol — Term on AgentsCamp._
