MCP
Model Context Protocol (MCP) Explained
MCP is the plumbing that lets Claude, Cursor, and Claude Code all talk to the same tools and memory. Here's how it actually works.
Updated · 5 min read

Before the Model Context Protocol, connecting an AI agent to a tool, a database, a search index, a memory store, meant writing a custom integration for every combination of client and service. A Claude integration didn't work with Cursor. A Cursor integration didn't work with Claude Code. Every new tool multiplied the number of one-off adapters a team had to maintain.
The Model Context Protocol, MCP, standardizes that connection instead. It's an open protocol that defines a common way for AI applications to discover and call external tools and data sources, so a single MCP server built once works with any MCP-capable client. This guide covers what the protocol actually specifies, how it works under the hood, and why it's become the default way agents reach durable, persistent memory.
What is the Model Context Protocol?
The Model Context Protocol is an open specification, originally released by Anthropic, that defines how an AI client, like Claude Desktop, Cursor, or Claude Code, talks to an external server exposing tools, resources, and prompts. Think of it as a common language: instead of every AI application inventing its own way to call a database or a search API, both sides speak the same protocol and any client can use any server.
Practically, the model context protocol defines a small set of primitives: tools the model can call (like "search memory" or "create a ticket"), resources it can read (like a file or a database record), and prompts a server can suggest. A client connects to a server, asks what it offers, and the model decides when to use each capability during a conversation.
How MCP works under the hood
An MCP connection has two sides: a host application (the AI client) and one or more MCP servers it connects to. On startup, the client asks each connected server to list its available tools and resources. When the model decides a tool is relevant to the current request, the client sends a structured call to the server, waits for the result, and feeds that result back into the model's context.
The protocol itself is transport-agnostic: a server can run locally over stdio, or remotely over HTTP, which is what makes shared, hosted memory possible. A remote MCP server can serve every teammate and every client at once, since the protocol doesn't care whether the server is on your laptop or hosted infrastructure, only that it responds correctly to the standard calls.
Why MCP matters specifically for memory
Memory is one of the clearest use cases for the model context protocol, because memory is exactly the kind of capability that benefits from being shared across tools rather than reimplemented per client. A knowledge graph memory server is one of the protocol's own reference implementations for a reason: agents need to read and write durable facts, and MCP gives every client the same interface to do it.
Without a shared protocol, each client would need its own memory integration, and memory written by one tool wouldn't be visible to another. With MCP, a coding agent in Cursor, a chat session in Claude Desktop, and an automated agent running headless in CI can all point at the same remote MCP endpoint and read and write the same underlying memory.
MCP vs custom integrations
Before MCP, teams built bespoke integrations: a plugin for one assistant, a different plugin for another, each maintained separately and each breaking independently when either side changed its API. That approach doesn't scale past a couple of tools and a couple of clients, and it puts the integration burden on every team building a tool, not just once on the protocol.
The model context protocol inverts that: build one server, and every current and future MCP client can use it without extra work on your end. That's a meaningful shift for anyone building infrastructure meant to serve more than one AI application, which by 2026 is most infrastructure worth building.
How fast MCP adoption actually moved
What made the protocol spread quickly wasn't just the specification, it was the reference implementations released alongside it. The official servers repository shipped working examples for common needs, file access, search, memory, from day one, which gave both server authors and client builders a concrete pattern to follow instead of interpreting a spec from scratch.
That head start compounded. Once a few major clients supported the protocol, building a new MCP server became worth it even for a narrow, internal use case, since the cost of building one server was now amortized across every current and future MCP-compatible client, not just whichever single tool a team happened to be using that quarter, and that math only gets better as more clients adopt the protocol.
What MCP is not
It's worth being precise about what the protocol doesn't do. MCP doesn't decide what a server should return, rank results, or manage memory quality; it only standardizes how a client and server exchange calls and results. A poorly built MCP server behind a well-implemented client will still return poor results, since the protocol guarantees compatibility, not quality.
It also isn't a replacement for the underlying infrastructure a server needs. A memory-oriented server still needs somewhere to store and index memory, a database, a search index, a graph, MCP just standardizes how that infrastructure gets exposed to an AI client, not what the infrastructure itself looks like. Evaluating an MCP server on protocol compliance alone tells you it will connect; it tells you nothing about whether what comes back once it's connected is actually good.
How stored uses MCP
stored exposes its entire memory layer as a remote MCP endpoint: one URL and a per-org API key is the whole integration. Claude Desktop, Cursor, and Claude Code all connect to the same endpoint and read and write the same shared memory graph, no SDK to install and no server for you to host or maintain.
Because the protocol handles discovery, tools like "search memory" and "write memory" show up automatically in any MCP client the moment it connects, and because the endpoint is remote and shared, every teammate's agents draw from and contribute to the same AI agent memory instead of each starting from a blank slate.
That also means switching or adding a client is a non-event. Pick up a new MCP-compatible tool next year, point it at the same endpoint and key, and it inherits the entire memory graph on the first connection, with no migration, no export step, and no separate setup beyond the same URL and credential every other client already uses, which is the whole point of standardizing on a protocol in the first place.
Frequently asked questions
Who created the Model Context Protocol?
The Model Context Protocol was originally released by Anthropic as an open specification. It has since been adopted across the ecosystem, with clients like Claude Desktop, Cursor, and Claude Code, and a growing set of independently built MCP servers.
Is MCP only for Claude?
No. MCP is an open protocol, not a Claude-specific feature. Any AI application that implements the client side of the specification can connect to any MCP server, regardless of which model or vendor built the client.
What's the difference between an MCP tool and an MCP resource?
A tool is an action the model can invoke, like searching memory or creating a record. A resource is data the model can read directly, like a file or a database entry. Both are exposed by an MCP server and discovered automatically by the client.
Do I need to host my own MCP server?
Not necessarily. You can run one locally for personal use, but for anything shared across a team or multiple tools, a hosted, remote MCP server is usually simpler: one endpoint every client connects to, with no infrastructure for you to run.
Related reading

MCP Server: What It Is and How to Choose One
An MCP server is what turns a protocol into something you can actually connect to. Here's what to look for before you pick or build one.

AI Agent Memory: What It Is and How to Build It
Context windows reset. AI agent memory doesn't. Here's what agent memory actually is, why it matters, and how teams build it in production.

Multi-Tenant AI Memory: Team Roles and Access Control
Sharing memory within a team is good. Leaking it across teams is a breach. Here's how multi-tenant AI memory keeps the two apart.
See what your agents remember.
Connect an agent and stored starts building the live memory graph this post describes, free to try.
No credit card required · Free plan available · Bring your own OpenAI key