MCP server safety grade
io.github.Digital-Threads/token-pilot
Save up to 80% tokens when AI reads code via AST-aware structural reading
npx -y token-pilot · npm token-pilot 2.0.0 · score 80/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Not seen: 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
- Runs a script automatically when installed (postinstall)
package.jsonnode scripts/postinstall.mjs
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-03-01 |
| This version published | 2026-11-06 |
| Versions | 118 |
| Maintainers | 1 |
| Licence | MIT |
| Source repository | github.com/Digital-Threads/token-pilot |
| Runs scripts on install | postinstall |
| Files in package | 265 (1,508 KB) |
| Web addresses in code | developers.openai.com |
Where we saw each capability (10 examples)
- Writes, moves or deletes files
dist/core/architecture-fingerprint.js:38await writeFile(filePath, JSON.stringify(fp, null, 2) + '\n', 'utf-8');
- Runs shell commands or other programs
dist/ast-index/binary-manager.js:1import { execFile } from "node:child_process"; - Writes, moves or deletes files
dist/ast-index/binary-manager.js:134await rm(tmpPath, { force: true }); - Writes, moves or deletes files
dist/ast-index/binary-manager.js:138await rm(finalPath, { force: true }); - Runs shell commands or other programs
dist/ast-index/client.js:1import { execFile } from "node:child_process"; - Reads environment variables (where API keys usually live)
dist/ast-index/client.js:1204const env = { ...process.env }; - Reads environment variables (where API keys usually live)
dist/ast-index/client.js:1209env.PATH = `${this.astGrepBinDir}:${process.env.PATH ?? ""}`; - Reads environment variables (where API keys usually live)
dist/integration/context-mode-detector.js:6return process.env.HOME || process.env.USERPROFILE || "";
- Runs shell commands or other programs
dist/handlers/explore-area.js:1import { execFile } from "node:child_process"; - Makes network requests
dist/index.js:1594const resp = await fetch(`https://registry.npmjs.org/${packageName}/latest`, {
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-digital-threads-token-pilot)
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).