MCP Server Trust and Threats
In this article
- Explain why a newly installed MCP server stays untrusted until a host-side trust policy admits it by publisher, pinned version and a reviewed description diff.
- Treat a server's tool descriptions, resources and tool results as data, and name the trust boundary each attack crosses.
- Choose a blocking control outside the model, an action allowlist or an egress allowlist, and trace every denial.
- Recognise an SSRF risk in a server-supplied URL and refuse private and link-local targets.
- Terms defined here: SSRF.
Overview
A teammate wants to add a third-party notes server to the AI app your team runs. Installing it takes a minute. The question that takes longer is what you just let in: someone else's code on your machine, and someone else's text that your model will read next to its own instructions.
The whole picture: a new MCP server is a stranger until a host policy admits it by approved publisher, pinned version and a reviewed diff on every update. Everything it sends, descriptions, resources and tool results, is data, never an instruction. Because the model may still obey such text, the blocks live in host code: an action allowlist (the calls the host will run), an egress allowlist (the hosts the process may reach) and a log line per denial.
The server notes-helper, the attacker host collect.attacker.example, the versions and the texts below are all invented.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- The tool list the model reads
- Untrusted until admitted
- Text that gets past the review
- Two locks outside the model
- Trace every denial
- Two caveats
- Common mistakes
- Sources
- Check yourself, 13 questions