Anthropic launches the Model Context Protocol (MCP), an open standard for connecting AI to data and tools
Language models are more and more capable, but they have a practical limitation: they live isolated from data. For an assistant to look up a project's files, a database or GitHub issues, someone has to program a specific integration, and every app does it its own way. This Monday, November 25, Anthropic, the company behind Claude, introduced a proposal to solve it: the Model Context Protocol (MCP).
The Model Context Protocol, an open standard introduced by Anthropic. Illustration: The Joy Robot.
A “USB” for artificial intelligence
MCP's idea is similar to a standard port: if every AI app and every data source speak the same protocol, anyone can connect with anyone. Without a standard, connecting M apps with N services requires M × N different integrations; with MCP, each app and each service only needs to implement it once. The specification is inspired by the Language Server Protocol (LSP), the standard that allowed any code editor, such as VS Code, Vim or Emacs, to offer autocompletion for any programming language without implementing it over and over.
How does it work?
MCP follows a client-server architecture. The host application (for example, Claude Desktop or a code editor) contains one or more MCP clients, each connected to an MCP server. Each server is a program that provides access to a specific data source or service. They communicate with JSON-RPC 2.0 messages, either over standard input and output (for local servers) or over HTTP with server-sent events (SSE). An MCP server can offer three types of capabilities:
- Resources: data the server makes available to the model as context, such as files, database records or documents.
- Tools: actions the model can take, such as creating a GitHub issue or querying an API, always with the user's approval.
- Prompts: predefined instruction templates the server offers to the user.
The client-server architecture of the Model Context Protocol. Diagram: The Joy Robot.
What was released
- The protocol specification, under an open license.
- Official SDKs for Python and TypeScript.
- Example servers for Google Drive, Slack, GitHub, Git, Postgres, the local file system and Puppeteer, to control a browser.
- Support for local MCP servers in the Claude Desktop app.
Companies like Block and Apollo have already integrated it into their systems, and developer tools like Zed, Replit, Codeium and Sourcegraph are working to adopt it.
Trying it in Claude Desktop
To connect an MCP server to Claude Desktop, you just edit its configuration file, claude_desktop_config.json, and specify the command that runs it. For example, to give it access to a folder on your computer with the official file system server, which requires Node.js:
|
| Language: JSON |
|
1 | {
2 | "mcpServers": {
3 | "filesystem": {
4 | "command": "npx",
5 | "args": [
6 | "-y",
7 | "@modelcontextprotocol/server-filesystem",
8 | "/path/to/my/folder"
9 | ]
10 | }
11 | }
12 | }
|
|
|
After restarting the app, Claude will be able to list, read and, if the user approves, modify the files in that folder.
Our take
As developers, we think the idea is spot on. Anyone who has integrated a language model with their own systems knows that most of the work isn't in the model, but in the “plumbing” that connects it to the data. An open protocol, with SDKs and ready-to-use examples, can save a lot of repeated work, just as LSP did for code editors. But a standard only succeeds if many adopt it, and that includes the competition: we'll have to see whether OpenAI, Google and other companies implement it or prefer their own solutions. Security also has to be taken seriously: giving a model access to tools that can modify files or take actions requires clear permission controls and care with malicious content that may be injected through the data. Used well, MCP could be the foundation for AI assistants to go from answering questions to doing real work.
|
|
|