What problem does MCP solve?
Anthropic open-sourced MCP in November 2024. Its announcement argued that even capable models were cut off from the systems where data lives, and that every new data source needed its own custom integration [3]. MCP aims to replace those one-off connections with a single shared protocol. The launch came with ready-made servers for Google Drive, Slack, GitHub, Git and Postgres [3].
The official documentation compares the protocol to a USB-C port: just as USB-C gives devices one standard connection, MCP gives AI applications one standard way to reach external systems [1]. One example in the documentation is an enterprise chatbot that connects to several databases across an organisation, letting people analyse data by chatting [1].
How does MCP work?
The protocol uses JSON-RPC 2.0 messages and defines three roles. The host is the AI application that initiates connections, the client is a connector inside that host, and the server is a service that provides context and capabilities [2]. Servers can offer three kinds of feature: resources (data for the user or model), prompts (templated messages for users) and tools (functions for the model to execute) [2]. The design takes inspiration from the Language Server Protocol, which standardised language support across development tools [2].
How does MCP handle security?
The specification states that tools represent arbitrary code execution and must be treated with caution. Hosts must get explicit user consent before invoking a tool and before exposing user data to a server [2]. Tool descriptions are to be considered untrusted unless they come from a trusted server [2]. The protocol cannot enforce these principles on its own, so it is up to implementers to build the consent and authorisation flows.