The Model Context Protocol, or MCP, is an open standard for connecting AI applications to external tools and data. Before MCP, every agent framework had its own way of describing tools and every integration had to be written for each framework. MCP defines one interface: a server exposes a set of tools, resources, and prompts, and any MCP-compatible client can discover and call them.

How MCP works

Server: A program that wraps some capability, such as a file system, a database, a SaaS API, or an internal service, and exposes it as a list of named tools with typed parameters.

Client: The AI application or agent runtime. It connects to one or more servers, reads their tool lists, presents them to the model, and forwards the model’s tool calls to the appropriate server.

Transport: Servers can run locally and communicate over standard input and output, or run remotely and communicate over HTTP. Remote servers can be shared across many clients.

Tool call: When the model decides to use a tool, the client sends a request naming the tool and its arguments. The server executes it, using whatever credentials the server holds, and returns the result to the client, which passes it back to the model.

What MCP solved

MCP made connecting agents to systems trivial. A team can write one server for an internal API and every agent in the organization can use it. Public servers exist for most major developer and business platforms. The result is that agents now routinely have access to dozens of tools across many systems, assembled in minutes.

What MCP did not solve

MCP is a connection protocol. It standardizes how a tool is described and called. It does not standardize who is allowed to call it, on whose behalf, with what scope, or how the call is recorded. There are three gaps because of this:

Credentials live in the server. An MCP server authenticates to its backend with a credential it holds, typically a service account or API key configured at startup. Every client that can reach the server gets the full authority of that credential, regardless of which user or agent is behind the request.

Authorization is all or nothing. If a client can connect to a server, it can usually call any tool the server exposes. There is no built-in mechanism to say that this agent, for this task, may call the read tools but not the write tools.

Attribution stops at the server. The backend system sees the server’s credential. It does not see which agent made the request or which human delegated the task. Audit logs record the server as the actor.

Newer additions

The MCP specification has added an authorization framework based on OAuth 2.1, which lets remote servers require a token from the client and lets that token carry a user identity and scopes. This is a meaningful improvement for remote servers, but adoption is uneven, local servers rarely use it, and it still relies on bearer tokens that the client holds and could be induced to misuse.

Security implications

An MCP server is an API whose caller may have been manipulated. The agent behind the client reads untrusted content and may be prompt-injected into calling any tool the server exposes. Because MCP made connecting easy, the practical effect is that an agent’s blast radius is the union of every server it is connected to, with each server’s full credential behind it. Containing that requires controls under the protocol: per-tool authorization on every call, credential custody outside the client, and a signed record of who called what.

Next Article: What is Prompt Injection?