installaudit MCP Server
Install-script inventory for a dependency tree: what runs when you install.
installaudit scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 5 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 66 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: 1 of 5 tools barely described, short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cloudcorprecords-installaudit": { "command": "npx", "args": [ "-y", "@reneturcios/installaudit@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools5Tool docs quality grade D
All capabilitiesdepsWithScriptstoolentries with hasInstallScript: true.
the direct subset of depsWithScripts.
rootScriptstoolroot lifecycle scripts present among preinstall, install, postinstall, and prepare.
totalDepstoolevery dependency entry found in the lockfile packages object, excluding the root entry.
the transitive subset of depsWithScripts.
About
installaudit
Installing is running code. installaudit tells you whose code, before you install.
npm install does not just download files. Any package whose lockfile entry carries hasInstallScript: true runs code at install time, and so do the root package's own preinstall, install, postinstall, and prepare scripts. Most audits ask whether a dependency is vulnerable. installaudit asks a prior question: what executes the moment you install this tree?
It reads package.json and package-lock.json, inventories every install script in the tree, separates direct dependencies from transitive ones, classifies the root scripts by what they do, and returns a verdict. It never installs anything, never runs a script, and never fetches a package.
Install
npx @reneturcios/installaudit audit
Or install it globally, or add it as an MCP server (below).
CLI
# Audit the current directory
npx @reneturcios/installaudit audit
# Audit another path
npx @reneturcios/installaudit audit ~/src/my-repo
# Machine readable output
npx @reneturcios/installaudit audit ~/src/my-repo --json
# Run as an MCP server on stdio
npx @reneturcios/installaudit mcp
# Print the version
npx @reneturcios/installaudit --version
Exit codes:
0when the verdict is CLEAN.1when the verdict is REVIEW.2for usage errors, including a missingpackage.jsonor a missingpackage-lock.json.141when the reader closed the output pipe early.
MCP
Add to your MCP client config:
{
"mcpServers": {
"installaudit": {
"command": "npx",
"args": ["-y", "@reneturcios/installaudit", "mcp"]
}
}
}
Tool: audit_install_scripts, taking a path argument. It returns the full report as JSON: verdict, counts, and findings.
How the inventory works
Dependencies come from the lockfile, not from package.json alone, because the lockfile is the resolved tree that will actually be installed.
- Lockfile v2 and v3 format: the
packagesobject maps install paths such asnode_modules/<name>to entries. - An entry with
hasInstallScript: trueruns code at install time and becomes a finding. - The package name is taken from the segment after the last
node_modules/segment of the path. Scoped names take two segments:node_modules/@scope/nameis@scope/name, andnode_modules/a/node_modules/@scope/nameis also@scope/name. - A package is direct when its path has exactly one
node_modulessegment and its name is listed in the rootpackage.jsonunderdependenciesordevDependencies. Everything else is transitive, including a nested copy whose name happens to match a direct dependency. - The
versionand thedevflag are read from the lockfile entry and reported with the finding.
Root scripts come from package.json. Only preinstall, install, postinstall, and prepare are read, because those are the scripts npm runs around install. Each one present is a finding, classified from its command body.
Rules
| rule | severity | what it means |
|---|---|---|
DEP-INSTALL-SCRIPT | medium (direct), low (transitive) | A dependency whose lockfile entry has hasInstallScript: true. Evidence is name@version. |
ROOT-SCRIPT-NETWORK | high | A root lifecycle script classified as NETWORK. |
ROOT-SCRIPT-SHELL-OUT | medium | A root lifecycle script classified as SHELL-OUT. |
ROOT-SCRIPT-BUILD | low | A root lifecycle script classified as BUILD. |
ROOT-SCRIPT-OTHER | info | A root lifecycle script classified as OTHER. |
Root script classification uses simple, documented patterns, checked in this priority order: NETWORK first, then SHELL-OUT, then BUILD, then OTHER.
| class | patterns |
|---|---|
| NETWORK | curl or wget, or an http:// or https:// URL combined with a fetch or download tool word (fetch, download, curl, wget). |
| SHELL-OUT | A shell interpreter word (sh, bash, zsh), node -e, or a script interpreter word (python, python3, perl, ruby). |
| BUILD | tsc, npm run build (also pnpm, yarn, and bun), or a build tool name (webpack, vite, rollup, esbuild, parcel, gulp, grunt, babel). |
| OTHER | Anything else. |
Counts reported in every report:
totalDeps: every dependency entry found in the lockfilepackagesobject, excluding the root entry.depsWithScripts: entries withhasInstallScript: true.directWithScripts: the direct subset ofdepsWithScripts.transitiveWithScripts: the transitive subset ofdepsWithScripts.rootScripts: root lifecycle scripts present amongpreinstall,install,postinstall, andprepare.findings: total findings.
Findings are sorted deterministically by rule, then by name. Reports contain no timestamps, so the same tree always produces the same report.
Verdict
CLEAN: no root NETWORK or SHELL-OUT scripts, and no dependency install scripts. A root BUILD or OTHER script alone still verdicts CLEAN; it is reported as a low or info finding, not hidden.REVIEW: anything else. At least one thing in this tree runs code at install time that is worth a human look.
Limits
- Lockfile-based only. A missing
package-lock.jsonis an error (exit 2), not an empty report, because without the lockfile there is no resolved tree to inventory. A missingpackage.jsonis likewise an error. - Script bodies of dependencies are not in the lockfile and are not fetched. For a dependency, installaudit reports presence, name, version, dev flag, and direct or transitive position. It does not report what the script does and does not judge intent. A package with an install script may be entirely legitimate; native builds are the common case.
- Root script classification is pattern based. It reads the literal command text in
package.json; it does not follow a script into the files it invokes, expand variables, or trace what a downloaded file would do. - Only lockfile v2 and v3 are supported, through the
packagesobject. The legacy lockfile v1dependenciesobject is not read, so a v1 lockfile is an error rather than a half inventory. - Only the four install-adjacent root scripts are read. Other scripts, such as
testorstart, are out of scope even when their commands look risky. - Direct means listed in
dependenciesordevDependenciesof the rootpackage.json. A dependency that is only reachable through the tree is transitive by definition here, regardless of who maintains it.
Frequently asked questions
What is installaudit MCP Server?
Install-script inventory for a dependency tree: what runs when you install.
How do I install installaudit MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. installaudit MCP Server runs locally from the npm package @reneturcios/installaudit with the command npx -y @reneturcios/installaudit@0.1.0.
Is installaudit MCP Server free and open source?
Yes. installaudit MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does installaudit MCP Server support remote (HTTP) connections?
No remote endpoint is listed for installaudit MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does installaudit MCP Server provide?
installaudit MCP Server provides 5 tools, including depsWithScripts, directWithScripts, rootScripts, and totalDeps. See the full tool list for descriptions and parameters.
How is installaudit MCP Server's trust score calculated?
installaudit MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.