What is the Model Context Protocol (MCP)?
Large language models are only as useful as the information and actions they can reach. Before MCP, every AI application that wanted to connect to a database, a file system or a SaaS product needed its own custom integration, and every product that wanted to be usable by AI had to build separate connectors for each assistant. The Model Context Protocol replaces that patchwork with a single, shared standard.
Anthropic announced MCP on November 25, 2024, as an open standard for connecting AI assistants to the systems where data lives. It was created at Anthropic by David Soria Parra and Justin Spahr-Summers. Adoption spread quickly across the industry; OpenAI, for example, announced support in March 2025. In December 2025, Anthropic donated MCP to the Agentic AI Foundation, a directed fund under the Linux Foundation co-founded by Anthropic, Block and OpenAI. The protocol's maintainers continue to make technical decisions, with community input through a formal proposal process.
A common shorthand is that MCP does for AI tools what a universal port does for hardware: build an MCP server for your product once, and any MCP-compatible AI application can use it.
Why MCP matters
- Build once, use everywhere: A product team can expose its capabilities through one MCP server instead of writing a separate integration for every AI assistant.
- Richer AI applications: Assistants can read live data and take real actions, not just answer from training data.
- Vendor neutrality: Because MCP is an open protocol under neutral governance, it is not tied to a single model provider.
- Discoverability: Clients can ask a server what it offers, so new capabilities appear without changing the client.
- Clear security boundaries: Connections are explicit and can be authorized, scoped and approved by the user or administrator.
How MCP works
MCP follows a client-server architecture and defines a data layer, which specifies the messages, and a transport layer, which specifies how those messages travel.
Hosts, clients and servers
An MCP host is the AI application the user works in, such as Claude Desktop, Claude Code or Visual Studio Code. The host creates one MCP client for each server it connects to, and each client keeps a dedicated connection to its MCP server. A server is any program that provides context or capabilities, whether it runs locally on the same machine or remotely as a hosted service.
Server primitives: tools, resources and prompts
Servers expose three core primitives. Tools are executable functions the AI application can invoke, such as querying a database or calling an API. Resources are data sources that provide context, such as file contents or records. Prompts are reusable templates that help structure interactions with the model. Clients discover what is available through list methods, then retrieve or call what they need.
Client primitives
The protocol also lets clients offer capabilities back to servers. The most important is elicitation, which allows a server to ask the user for additional information or confirmation of an action during a workflow.
Messages and transports
All MCP messages use JSON-RPC 2.0. Local servers typically use the stdio transport, communicating through standard input and output on the same machine. Remote servers use the Streamable HTTP transport, which supports standard HTTP authentication, and the specification recommends OAuth for obtaining authentication tokens.
MCP vs a traditional API
MCP does not replace APIs. Most MCP servers sit in front of an existing API and make it usable by AI applications.
- Audience: A REST or GraphQL API is designed for developers writing code; an MCP server is designed for AI applications acting on a user's behalf.
- Discovery: API capabilities are usually learned from documentation; MCP clients discover tools, resources and prompts at runtime, with descriptions and input schemas the model can read.
- Integration effort: Each API needs custom client code; any MCP-compatible host can connect to any MCP server.
- Interaction style: APIs are called directly by programs; MCP tools are typically chosen and called by a model as part of a conversation.
Common use cases
- Developer workflows: Coding assistants connect to repositories, issue trackers and documentation through MCP servers.
- Business data access: Assistants query CRMs, knowledge bases and analytics tools without bespoke integrations.
- Product automation: Software vendors publish MCP servers so customers can configure and operate their product through an AI assistant.
- Agent evaluations: Teams test how an agent uses an MCP server inside an AI agent sandbox before allowing it near production.
- Hands-on POCs: Prospects point the agent they already use at a vendor's MCP server to explore the product with their own tooling, often in a dedicated POC environment.
Best practices
- Give each tool a clear name, a precise description and a strict input schema, since the model relies on them to choose correctly.
- Grant the minimum permissions a workflow needs, and let administrators switch individual capabilities on or off.
- Require user confirmation for destructive or irreversible actions.
- Use OAuth or another standard mechanism for remote servers rather than embedding long-lived secrets.
- Test servers in an isolated AI sandbox with realistic data before production use.
How Heropa helps
Heropa labs give software vendors a controlled place to show their MCP server in action. With AI Lab Keys, prospects in a demo or POC can use AI alongside your API, CLI or MCP server to interact with your software, on a key scoped to that evaluation. Every evaluation gets its own key, and the key expires with the POC environment, so each prospect starts with a clean slate. See sales demos and POCs for more.
Heropa has also published its own MCP server, Heropa MCP, which uses the Model Context Protocol to connect Claude to a Heropa account so teams can build lab guides, configure templates and environments, and set up courses and events through conversation, with permissions that can be toggled at a granular level.
Frequently asked questions
Who created the Model Context Protocol?
MCP was created at Anthropic by David Soria Parra and Justin Spahr-Summers and announced as an open standard on November 25, 2024. In December 2025, Anthropic donated it to the Agentic AI Foundation under the Linux Foundation, where its maintainers continue to guide technical direction.
What is the difference between an MCP client and an MCP server?
An MCP server exposes capabilities, such as tools, resources and prompts, for a system like a database or SaaS product. An MCP client lives inside the host AI application and maintains a dedicated connection to one server, passing its capabilities to the model and relaying the model's requests.
Does MCP only work with Claude?
No. MCP is an open, vendor-neutral protocol. Many AI applications and development tools act as MCP hosts, and OpenAI announced support in 2025. Any host that implements the specification can connect to any compliant MCP server.
Is MCP secure?
MCP provides building blocks for security, such as standard authorization for remote servers and explicit, user-approved connections, but safety depends on implementation. Servers should apply least-privilege permissions, require confirmation for risky actions, and be tested in isolated environments before production use.
What are MCP tools, resources and prompts?
They are the three core primitives an MCP server can expose. Tools are functions the AI can call to take actions. Resources are data sources that provide context, such as files or records. Prompts are reusable templates that structure interactions with the model.