How to audit an MCP server
What an MCP security audit actually checks — tool surface, write/exec paths, and the dependency floor — and how to run the free version yourself.
Start from what the tool can actually do, not its description
An MCP server's manifest tells an AI host what each tool is named and what it claims to do. That description is written by the server's author and is not checked by anything before a host trusts it. An audit starts by reading the real implementation behind every tool — not the docstring — and classifying what it is capable of: does it write to disk, does it shell out, does it reach the network, can its arguments influence any of those paths.
This is the exact class of defect behind three real, MITRE-assigned CVEs credited to Still OS: command injection in a sagemath MCP server, a git-tools server, and a docker-tools server, all reachable through a normal tool call with no special access. Each is a public, permanent record in the MITRE/NVD catalog — see Security advisories.
Then map the dependency floor underneath it
A clean tool surface does not mean a clean server. Most MCP servers pull in a shared set of upstream npm packages, and that shared floor is where a single maintainer compromise can reach many unrelated servers at once. In a resolved census of 90 dependency-floor packages across the MCP ecosystem, 43 (47.8%) have exactly one maintainer, and 19 individuals control all of them — see the dependency-floor maintainer-concentration finding for the method and the current count. An audit names which of a server's dependencies sit in that single-maintainer set, because that is the part a scanner reporting CVEs against known-bad versions will not surface on its own.
Check whether the version you reviewed is the code actually running
A server's version string is not proof its installed code matches what you reviewed. Across a 61-day census of 67,503 audited MCP servers, the cumulative hazard that an audited server's installed code moved while its approval artifact still matched is 9.24% by 30 days — see the drift-hazard finding. A one-time audit answers "is this safe today"; it does not answer whether it is still the thing you approved next month, which is why continuous monitoring is a separate line item from the audit itself.
What a real audit report names
- Every tool, classified by write/exec/network capability and whether user input reaches it
- Every dependency in the single-maintainer floor, named, not summarized as a count
- Whether the server's served tool surface has drifted since any prior review
- A plain finding per issue, ranked by real-world reachability — not a raw scanner dump
That is the shape of the $1,500 audit and the $4,500 audit + fix report + retest. You can see whether a paid audit would find anything on your own server first, free, with the same corpus the CVE work above came from.
Check your own MCP server for free
Paste your dependency manifest and see the confirmed command-injection and arbitrary-write vulnerabilities already known in your supply chain — the same check that produced our 3 credited MITRE CVEs. Read-only, no account, nothing to buy.
Run the free check