What is MCP Security Scanning?

2 min read Updated

MCP security scanning is the static and dynamic analysis of MCP servers and their tools before adoption, covering tool description review, permission and capability analysis, and risk classification of what each tool can do.

WHY IT MATTERS

Adding an MCP server to a client is closer to installing a browser extension than calling an API: the server's tool descriptions enter the model's context, and its tools run with whatever access the host grants. Scanning before adoption is the only point where you can evaluate a server without already being exposed to it.

A useful scan covers three layers:

  • Tool description review — descriptions are untrusted text injected into the prompt, so scanning checks them for embedded instructions, hidden characters, and behaviour-steering language (the vector behind tool poisoning and line jumping).
  • Permission and capability analysis — what does each tool actually reach? File system, network egress, shell execution, credentials. Static analysis of the server's source or package often reveals more than the description claims.
  • Risk classification — mapping each tool to a risk category (read, write, destructive, exfiltration-capable) so policy decisions can be made per tool rather than per server.

Dynamic analysis complements this: running the server in isolation and introspecting its live tools/list output catches discrepancies between published metadata and actual behaviour, and re-scanning over time catches servers whose tools change after gaining trust.

PolicyLayer puts a deterministic check in front of every tool call — the enforcement layer this page assumes.

GOVERN YOUR MCP SERVERS →

Enforced before the call runs. Nothing to install.

HOW POLICYLAYER USES THIS

This is PolicyLayer's catalogue in practice. The crawler at policylayer.com/tools continuously scans public MCP servers — static analysis of package source, README extraction, and live introspection — and publishes per-tool risk classifications you can review before adopting a server. For your own fleet, the npx policylayer CLI scanner analyses the servers in your local MCP configuration and generates policy suggestions from the findings, which the gateway then enforces at call time.

IN THE CATALOGUE

PolicyLayer continuously scans the MCP ecosystem and classifies every tool it finds by risk category.

43,000+ MCP servers known to the catalogue
220,000+ tools scanned and risk-classified
9,300+ servers with published scan reports

FREQUENTLY ASKED QUESTIONS

What is the difference between static and dynamic MCP scanning?
Static scanning analyses the server's source, package, and published metadata without running it. Dynamic scanning runs the server in isolation and inspects its live tools/list output and behaviour. Static is cheap and safe; dynamic catches what metadata hides.
Why scan tool descriptions specifically?
Descriptions are injected directly into the model's context, so they are a prompt injection surface. A scan flags embedded instructions, invisible characters, and language that steers the model toward other tools.
Is a one-time scan enough?
No. Servers update, and a tool that was benign at adoption can change its description or behaviour in a later version. Re-scanning on update, or pinning versions, closes that gap.

FURTHER READING

Let agents act without letting them run wild.

Route your MCP servers through PolicyLayer and every tool call is checked against your policy before it runs — allow, deny, or require approval. Per-identity grants. Full audit log. Live in minutes.

Free to start. No card required.

43,000+ MCP servers and 220,000+ tools scanned and risk-classified.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.