What if every AI assistant you use could plug into your calendar, your database, and your code editor the same way, without a custom integration for each one? That is the promise behind the Model Context Protocol, usually shortened to MCP. It is an open standard that describes how an AI application talks to outside data and tools. Instead of building a bespoke connector for every model-and-service pair, developers build one connector that any compatible host can use. The idea sounds simple. The details are where teams get stuck, so this guide walks through what MCP actually is, how it works, and where the sharp edges are.
What Is the Model Context Protocol?
MCP is an open protocol that standardizes how AI applications connect to external data sources and tools. Anthropic announced it publicly on 25 November 2024. Before that, connecting a model to a tool usually meant writing glue code specific to one vendor’s function-calling format. Switch models, and the glue broke.
MCP changes the shape of the problem. It defines a shared vocabulary so that a tool server written once can serve many different AI hosts. Think of it as a universal adapter for context. The model still decides what to call. The protocol decides how the request travels and how results come back.
A useful comparison is the early web. Before HTTP, every document system had its own retrieval method. Once one protocol existed, browsers and servers could be built independently and still work together. MCP aims for that same separation of concerns in the AI tooling world.
The Client–Server Architecture

MCP uses a client–server model. A host application, such as an AI assistant or an IDE, runs one or more MCP clients. Each client keeps a single connection to one MCP server. That one-to-one link keeps responsibilities clear: the host manages the user experience and the model, while the server manages access to a specific system.
Servers expose three main primitives:
| Primitive | What it provides | Example use |
|---|---|---|
| Tools | Callable functions the model can invoke | Create a ticket, run a query |
| Resources | Contextual data the host can read | A file, a record, a document |
| Prompts | Reusable templates | A standard review checklist |
The distinction matters in practice. Tools are actions with side effects. Resources are read-oriented context. Prompts are prewritten instructions a server author wants to offer. Mixing these up is one of the most common early mistakes. Teams often expose a database read as a tool when a resource would be safer and cheaper, because resources can be fetched without asking the model to decide.
Transport: How Messages Actually Move
The protocol defines two standard transports. stdio handles communication with a local process, which suits desktop tools and developer utilities running on the same machine. Streamable HTTP handles remote servers over the network.
Streamable HTTP replaced the earlier HTTP+SSE transport in the 2025-03-26 specification revision. That change is worth knowing because older tutorials and sample code still reference the deprecated approach. If a setup guide feels out of date, check which transport it assumes before copying anything.
Practical tip: start local. A stdio server on a developer laptop is the fastest way to learn the primitives without dealing with authentication, network timeouts, or deployment. Move to Streamable HTTP only when the server genuinely needs to be shared.
Specification Versions and Why They Matter
The MCP specification is versioned by date rather than by semantic version numbers. Known revisions include 2024-11-05, 2025-03-26, and 2025-06-18. The mid-2025 revision added features such as structured tool output and elicitation, though the full change list should be checked against the current specification before relying on it. (JSON-RPC 2.0 Specification)
Date-based versioning is honest but easy to overlook. Two servers can both claim MCP support and still behave differently if they target different revisions. In practice, teams should pin the revision they build against and record it in their documentation. When a server and host disagree about capabilities, the failure often looks like a vague connection error rather than a version mismatch, which sends people hunting in the wrong place.
MCP Versus Function Calling
A frequent point of confusion: does MCP replace vendor-specific function calling? Generally, no. It complements it. Function calling is how a particular model decides to invoke something. MCP standardizes discovery and connection, so the same server can serve multiple hosts.
That separation has real consequences. The model-facing layer stays with the vendor. The connection layer becomes portable. A team can keep its tool servers and swap the host or model without rewriting every integration. This is a characterization of how the pieces fit, not a claim written into the specification itself, so treat it as a mental model rather than a rule.
Security Risks You Cannot Skip
MCP’s flexibility is also its attack surface. Community guidance and the specification flag several risks:
- Prompt injection through tool outputs. A malicious or compromised source can return text that steers the model.
- Confused deputy problems. A server with broad permissions can be tricked into acting on behalf of the wrong party.
- Token passthrough. Passing a user’s credentials straight through to downstream services can widen access beyond what was intended.
The specification includes OAuth 2.1-based authorization guidance for HTTP transports, introduced around the 2025-03-26 revision. That is a starting point, not a complete security program. The practical advice that holds up: give every server the narrowest permissions that still do the job, treat all tool output as untrusted input, and log tool calls so odd behavior can be traced after the fact.
Teams that treat a tool server as a trusted internal component tend to get burned. A server that can read a shared drive should not also be able to send email, even if the current task only needs reading. Scope creep in permissions is quiet and cumulative.
Adoption Across AI Tooling
During 2025, MCP support was announced by multiple major AI vendors and developer tools, including OpenAI, Google, Microsoft, and several IDE makers. Specific dates and exact wording vary by announcement, so anyone citing adoption timelines should check the primary sources rather than secondhand summaries.
For a working developer, adoption is more practical than the headline count. It means a tool server has a reasonable chance of working across more than one host. It also means the tools change quickly enough that documentation lags. Expect to read source code and changelogs, as well as getting-started pages.
Governance and the Open-Source Project
MCP was created by Anthropic and is developed as an open-source project, with reference SDKs and servers published under an official organization on GitHub. Stewardship has been broadening, with involvement from other companies and a more community-driven process, though the exact current governance structure is worth confirming directly rather than assuming.
For teams deciding whether to build on MCP, governance is not a trivial question. A protocol’s long-term value depends on who can change it and how. Ask three things before committing: who approves specification changes, how breaking changes are communicated, and whether the reference implementations keep pace with the spec. If those answers are unclear, build with a thin abstraction layer so a pivot stays cheap.
Where Model Releases Fit In
MCP changes how tools connect, but it does not change how models behave. A new model release can still shift tool-calling reliability, latency, and cost. Enterprise teams weighing whether to adopt a new model alongside their MCP servers should think carefully about when a model release matters to enterprise teams, because a protocol upgrade and a model upgrade are two different risk decisions that often get bundled by accident. (Model Context Protocol)
The same discipline applies to performance claims. Vendor benchmarks rarely reflect a real tool-calling loop with network hops and retries, so reading accelerator benchmarks without losing context is a skill worth building before trusting any throughput number attached to an MCP deployment.
Common Mistakes and What Actually Works
A few patterns show up again and again in real deployments.
Mistake one: exposing too much at once. A server that offers forty tools overwhelms both the model and the user. Start with three to five well-described tools and add more only when the need is proven.
Mistake two: vague tool descriptions. The model chooses tools based on their descriptions. “Gets data” tells it nothing. “Returns the last 30 days of invoices for a customer ID” tells it everything.
Mistake three: no fallback plan. Tools fail. Networks drop. A host needs a defined behavior when a server is unreachable, and it should not be a silent hang. Understanding what a model fallback should actually do helps teams design that path before an outage forces the issue.
Mistake four: skipping local testing. Running a stdio server locally against a real host, with real data, catches most integration errors before they reach a shared environment.
What works is unglamorous: small servers, clear descriptions, narrow permissions, pinned spec versions, and logs that record every tool call with its inputs and outputs.
A Quick Comparison of the Two Transports
| Aspect | stdio | Streamable HTTP |
|---|---|---|
| Typical location | Local process | Remote server |
| Setup effort | Low | Higher |
| Authentication | Handled by the host environment | OAuth 2.1 guidance applies |
| Best for | Developer tools, desktop apps | Shared services, multi-user systems |
| Common pitfall | Assuming it scales to teams | Outdated HTTP+SSE examples |
Neither transport is better in the abstract. The choice follows from where the server lives and who needs to reach it.
Conclusion
The Model Context Protocol is best understood as plumbing. It does not make a model smarter, and it does not remove the need for careful design. What it does is replace a pile of one-off connectors with a shared, versioned standard for how AI applications reach tools and data. That shift lowers the cost of trying something new and raises the cost of being sloppy about permissions and versioning. Teams that start small, describe their tools precisely, pin their spec revision, and treat tool output as untrusted will get most of the benefit with the least drama. The protocol is young and still moving. Building with that in mind is not pessimism. It is good engineering.
Frequently Asked Questions
What is the Model Context Protocol in simple terms?
It is an open standard that defines how AI applications connect to external tools and data sources. Instead of writing a custom integration for each model and each service, developers build one server that follows the protocol, and any compatible host can use it.
Who created MCP and when?
Anthropic announced it publicly on 25 November 2024. It is developed as an open-source project, and stewardship has been broadening to include other companies and a more community-driven process, though the exact current structure should be confirmed directly.
What are the three main primitives in MCP?
Servers expose tools, resources, and prompts. Tools are callable functions with side effects, resources are contextual data the host can read, and prompts are reusable templates. Keeping these roles distinct makes a server easier to use and safer to operate.
Does MCP replace function calling?
Generally no. It complements vendor-specific function calling by standardizing discovery and connection, so the same server can serve multiple hosts. The model still decides when to invoke something; the protocol governs how the request and result travel.
What are the biggest security risks with MCP?
The main ones are prompt injection through tool outputs, confused deputy problems, and token passthrough. The specification includes OAuth 2.1-based authorization guidance for HTTP transports, but teams still need narrow permissions, untrusted-input handling, and thorough logging of tool calls.
Which transport should a team start with?
Start with stdio for local development, because it is the fastest way to learn the primitives without authentication or deployment overhead. Move to Streamable HTTP when the server needs to be shared, and make sure any guide you follow reflects the current transport rather than the deprecated HTTP+SSE approach.







