The Model Context Protocol arrived in late 2024 with a small, readable contract. A server lists what it can do, an agent host sends a request, and the server answers in structured JSON. Getting an implementation running takes an afternoon. The protocol is not complex. The trouble comes from how readily it lets a system describe itself to anyone who asks.
Once every tool an agent can reach is published through a single interface, the extent of your AI stack stops being a private engineering detail. An intruder no longer has to reverse a bespoke API. Reading the manifest is enough. What that manifest makes visible, and how far the credentials behind it actually reach, are questions most security teams have not started asking on a schedule.
What a Tools List Discloses
A server answers a tools/list request with entries carrying a name, a description, and an input schema. The description is the part LLM agents lean on: plain language telling the model when a tool fits.
Schemas describe inputs, never authority. A query tool may take a query string and a table identifier; a file tool may take a path and an operation. Neither schema says whether the server sits on a read replica or on a production system with write access.
That silence causes the trouble. An agent cannot tell a harmless mount from a dangerous one, because the protocol never carries the answer. Scope lives in the server's credentials and deployment configuration, outside the message.
Enumeration Without Reconnaissance
Any host that can issue tools/list can pull the entire catalogue. An intruder who reaches an agent host, or the network segment where MCP traffic flows, gets the inventory without port scanning or guessing.
Across a fleet of servers, the result sketches the environment: databases, file shares, third-party APIs, internal services. Defenders rarely get a view this clean. In hostile hands it becomes a route map for lateral movement, with the agent as the vehicle.
Prompt injection draws on the same material. Steering a model into a write tool, or into feeding a crafted string to a code runner, gets easier when the attacker knows which tools exist, what parameters they take, and which descriptions make invocation likely.
Stdio, HTTP, and Two Threat Models
MCP runs over stdio or over HTTP with Server-Sent Events, and that choice rewrites the security boundary.
With stdio, the server is a child process on the agent's own host. Break the agent process and you have broken the server process with it. Credentials sit in the same execution context, and no network sits between tool and caller. Everything rests on the integrity of that machine.
HTTP adds distance. Servers can live on their own infrastructure, so the question becomes who may call them and how the caller is proven. Plenty of early deployments answer with a static API key, or with nothing at all, on the assumption that only trusted hosts can reach the endpoint. Shared clusters and container networks dissolve that assumption quickly.
The Read-Only Tool That Wasn't
A platform team stands up an MCP server for document search and gives it a service account scoped to read the document store. A quarter later, the same agent is asked to create documents. Instead of a second server with its own narrow credential, the write permission is added to the existing account. The manifest still advertises search. The credential now reaches much further.
Calling that hypothetical would be generous. It is simply what least resistance looks like under release pressure. Anyone able to push the agent into the document tool, whether through an injected instruction, a poisoned retrieval result, or tampered input, gains a write path that the tool description denied.
None of this argues that MCP was built wrong. The protocol takes no position on scope, and teams currently fill the gap by hand, server by server, without a review step.
Five Questions Before a Server Goes Live
The checks are not exotic. They are just missing from most release templates:
- Which credential does the server run under, and what can that credential actually touch?
- Do the declared tools line up with that reach? A capability described as read should not sit on an account that can write.
- Which hosts may connect, and where is that enforced: firewall, token, both, or nowhere?
- What lies beyond the server through the credential it carries, and does the agent's job require that depth?
- If someone enumerated the manifest tomorrow, what would they learn about neighboring systems?
Together the answers form a scope map: description, credential, allowed callers, downstream reach. Without one, an autonomous process holds an attack surface you have never drawn.
After enough of these audits, the pattern that stands out is how often MCP servers get treated as microservices. Stand one up, wire it in, leave it running while it works. The analogy breaks at the caller. A microservice answers code you wrote; an MCP server answers a model reacting to input you did not write. That difference ought to change how the server is monitored and how tightly it is scoped.