MCP Is Not a Security Layer
MCP is treated like a neutral connector, but every MCP server acts with its own credentials, making it a set of keys, not a security layer; the article covers how it breaks and the containment practices that make it safe in production.
MCP Is Not a Security Layer
When I first plugged an agent into our internal tools, the demo was beautiful. One prompt, and it could read the runbook, check the dashboard, and open the ticket. The team applauded. I did not applaud. I was thinking about the credential sitting behind that plug.
That is the whole problem with MCP, the Model Context Protocol, in one sentence: we treated it like a USB cable — a neutral way to connect things — when it is actually a set of keys. And keys do not stay neutral just because the connector is standard.
MCP has become the de facto way to give agents tools. That is a good thing. Before it, every integration was bespoke, and bespoke integrations are where security goes to die quietly. A standard connector means we can finally inventory what our agents can touch, instead of discovering it during an incident. But a standard connector is not a security layer. The protocol moves tool calls and results between a model and a server. It does not decide, by itself, whether a given call should happen, with whose permission, or for how long. That decision is still ours, and most teams have not made it yet.
The plug that became a privilege
Here is the part people miss when they install their first MCP server. The server does not act with the permissions of the person chatting with the agent. It acts with its own credentials — often an OAuth token, a database credential, or cloud access baked into the server's configuration. If that server is reachable without authentication, anyone who can reach it can run its tools with its credentials.
Security researchers at Pillar disclosed exactly this pattern in 2026 against two remote MCP servers, and their October 2026 update on MCP risks is worth reading in full. The lesson is not that those two servers were badly written, though they were. The lesson is architectural: treat every MCP server as a privileged service, because that is what it is. The moment you add a server, you have added a new identity to your environment, with its own standing access, and probably nobody put it on the access-review list.
My rule now: before any server goes near production tooling, it goes on an inventory — what it is, who published it, what tools it exposes, what credentials it holds, and who approved it. If we cannot answer all five, it does not get installed. Developers, and increasingly non-developers, can add a server to an editor in about a minute with no review; without an inventory, you do not have a security posture, you have a hope.
Four ways it actually breaks
The second thing to understand is that tool descriptions are instructions. Not metadata. Instructions. The model reads a tool's name and description and decides what the tool does and when to call it. So a server can hide directives in its descriptions — including directives that steer how the agent uses other servers' tools. Invariant Labs documented this "tool poisoning" class in 2025, and it has only gotten more relevant as servers proliferate.
Worse, approval is not a one-time event. A server you vetted can change what it tells the agent after you approved it. Pillar found a live campaign in August 2026 whose server stayed harmless for its first three tool calls and then told the agent to collect SSH keys and cloud credentials. That is the "rug pull," and it breaks the mental model most of us carry from app stores: approve once, trust forever. With MCP, the description is fetched at runtime. An allowlist of names is not enough; you need version pins and behavior checks, and you need to re-check.
The third break is the oldest one in security, wearing a new costume: indirect prompt injection. Anything a tool reads — an email, a ticket, a web page, a document — can contain hidden instructions aimed at the agent. The agent follows them using whatever access it has. On October 27, 2026, advisories landed in the US National Vulnerability Database for three open-source MCP servers — esp-mcp, Kali-GPT, and hagent — where command-injection flaws could be reached by prompt injection, letting hostile text an agent reads steer a tool call into running commands as the server's user. Read that again slowly. The attack does not need to compromise your model. It just needs to get text in front of it, through a tool you trusted.
Then the confused deputy, the quietest of the four: a server with broad credentials acts for a user who should never have had that access. Nobody did anything "wrong," and the wrong thing happened anyway. When agents inherit the permissions of whoever set them up rather than the person asking, that is the default, not an edge case.
That is the Authority Envelope idea I keep coming back to — the explicit boundary around what an agent may do alone, what needs a human, and what it may never do. MCP does not replace that envelope; it extends it to every server. Akamai's September 2026 report makes the same point from the other side: machine identities, the credentials assigned to agents rather than people, are routinely over-provisioned and poorly monitored.
October gave us the containment pattern
If that all sounds bleak, October 2026 also showed what the fix looks like — and notably, none of it came from a new model. It came from the runtime around the model.
NVIDIA's OpenShell runs each agent in an isolated sandbox and checks every file access, system call, and network connection against a policy. 1Password's agent product lets an agent ask for a saved login that you approve on your phone, so the agent never sees the password at all. Google's Agent Compute Engine gives each agent its own isolated micro-computer with short-lived credentials. Three different vendors, one shared idea: where the agent runs, what it can reach, and who sees the log matter more than which model sits in the middle.
What I actually do about it
So here is the operating version, the one I would hand a platform team tomorrow:
Inventory first, always. Every server, every tool, every credential, every approver. No inventory, no install. This is also how you find the servers someone installed six months ago and forgot.
Per-task scoped identity. An agent does not get "the platform team's access." It gets a short-lived credential for the specific task, with read and write separated by default. A server that only needs to read a dashboard does not get a token that can change the dashboard. This is the single highest-leverage change, and it is boring, which is why it works.
Read first, write on approval. Agents start read-only. A write action — especially an irreversible one — goes through a human approval gate or a tested, reversible runbook step. The approval is per action, not per session, because sessions drift and descriptions change.
Pin and re-check. Pin server versions. Re-check tool descriptions and behavior, not just names. Treat a server update like a dependency update, because that is what it is — one with production access.
Log the agent, not just the user. Every tool call — agent identity, server, parameters, result — in a trace a human can read. When something goes wrong, the first question is "what did it touch, and in whose name?" If you cannot answer that in minutes, your observability is for dashboards, not agents.
Mixing rule. When one session mixes untrusted content (inbound email, web pages, strangers' tickets) with powerful tools like send, delete, or pay, its write authority drops to zero unless a human says otherwise.
The question to ask before the next install
MCP will keep spreading, and it should — a standard connector beats the bespoke mess it replaces. But the next time someone proposes adding a server, do not ask which model it uses or how good the demo looks. Ask five questions: where does the agent run, whose credentials does this server hold, what can it change, how long does that access last, and who sees the log?
If the team cannot answer all five, the server is not ready for production — it is ready for a sandbox, with read-only tools, until it can. That is not slowing the team down. It is what lets the team keep moving fast once agents do real work in real systems, instead of learning from an incident report that a plug was actually a privilege all along.
Sources
- Pillar Security, "MCP Security: Risks, Real Incidents and Best Practices (2026)" (updated Oct 11, 2026) — servers act with their own credentials; Aug 2026 rug-pull campaign; inventory/allowlist/least-privilege controls: https://www.pillar.security/blog/the-security-risks-of-model-context-protocol-mcp
- The Agentic Times, "Three MCP servers let agents be tricked into running shell commands" (NVD advisories Oct 27, 2026: esp-mcp, Kali-GPT, hagent; prompt-injection-reachable command injection): https://theagentictimes.org/vulnerabilities/three-mcp-servers-let-agents-be-tricked-into-running-shell-commands
- Cofounderbase, "AI Agent News October 2026" (updated Oct 29, 2026) — NVIDIA OpenShell sandbox/policy checks, 1Password for Agents phone approval, Google Agent Compute Engine isolated micro-computer with short-lived credentials; CSO Online: recent agent incidents were about weak containment: https://cofounderbase.com/blog/trending-ai-agents-tools-october-2026/
- Akamai, "Beyond Identity: Governing the Agentic Enterprise" (Sep 22, 2026), as summarized Oct 2026 — MCP attack surface, over-provisioned machine identities, Zero Trust for agents: https://aigovernance.com/news/akamai-mcp-attack-surface-requires-zero-trust-controls-and-machine-identity-governance
- MCP specification tightening (July 28, 2026 release, stricter authorization) via Pillar update above.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article