MCP server safety grade
MCPComp Diagnostics
Grade an MCP server's auth against the spec and diagnose which layer a failure is in.
npx -y mcpcomp · npm mcpcomp 0.6.1 · score 80/100 · scanned 2026-12-05
What it can do
- Not seen: Network access
- Yes: Writes or deletes files
- Not seen: Runs programs or shell commands
- Yes: Reads environment variables
- Yes: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Builds and runs code at runtime
dist/scan.mjs:236new Function(""); - Builds and runs code at runtime
dist/scan.mjs:15130const validate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode)(this, this.scope.get());
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-08-12 |
| This version published | 2026-08-20 |
| Versions | 14 |
| Maintainers | 1 |
| Licence | Apache-2.0 |
| Source repository | none listed |
| Runs scripts on install | No |
| Files in package | 5 (958 KB) |
| Web addresses in code | fetch.spec.whatwg.org mcpcomp.dev mimesniff.spec.whatwg.org openid.net standardschema.dev |
Where we saw each capability (4 examples)
- Writes, moves or deletes files
dist/scan.mjs:24756await writeFile(options.junit, formatJUnit(report));
- Reads environment variables (where API keys usually live)
dist/scan.mjs:24801const clientId = process.env["MCPCOMP_CLIENT_ID"]?.trim();
- Reads environment variables (where API keys usually live)
dist/scan.mjs:24802const clientSecret = process.env["MCPCOMP_CLIENT_SECRET"]?.trim();
- Reads environment variables (where API keys usually live)
dist/scan.mjs:24824const tenantId = options.tenant ?? process.env["MCPCOMP_ENTRA_TENANT"];
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/dev-mcpcomp-diagnostics)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).