Server data from the Official MCP Registry
Lockfile versus package.json drift auditor for a repo or monorepo.
About
Lockfile versus package.json drift auditor for a repo or monorepo.
Security Report
lockdrift is a static lockfile auditor for npm projects that reads package.json and package-lock.json and reports dependency drift without installing or executing anything from the checked repo. No malicious patterns, hardcoded secrets, shell execution, or network calls were found, and its only permissions are local file reads plus stdio MCP transport, which match its stated purpose. The only noted items are minor informational points about the MCP tool accepting an arbitrary path, which is expected for a local auditor. Supply chain analysis found 9 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
16 files analyzed · 12 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-cloudcorprecords-lockdrift": {
"args": [
"-y",
"@reneturcios/lockdrift"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
lockdrift
Has the lockfile drifted from the manifest? lockdrift compares
the dependency ranges a package.json declares against the
ranges recorded in package-lock.json and reports every
difference, sorted by name:
missing_from_lockfile— declared in the manifest, absent from the lockfile (someone edited package.json and never reinstalled)version_mismatch— present in both, but the recorded ranges disagreeextra_in_lockfile— recorded in the lockfile but no longer declared
Lockfile v2/v3 (the root packages[""] entry) and v1 (the
top-level dependencies map) are both supported. The comparison
is of the recorded ranges — lockdrift reports recorded drift;
it does not resolve semver or talk to a registry. Pure local
computation: no network, no configuration.
CLI
npx @reneturcios/lockdrift check package.json package-lock.json
npx @reneturcios/lockdrift --version
Output is the report as JSON, e.g.
{"in_sync": false, "drift_count": 1, "drift": [{"name": "zod", "kind": "version_mismatch", "declared_in": "dependencies", "package_json_range": "^3", "lockfile_range": "^2"}]}.
Exit codes: 0 on success (drift is a result, not an error),
1 on a runtime error (unreadable or invalid file), 2 on a
usage error.
MCP server
npx -y @reneturcios/lockdrift mcp
MCP client config:
{
"mcpServers": {
"lockdrift": {
"command": "npx",
"args": ["-y", "@reneturcios/lockdrift", "mcp"]
}
}
}
Tools
check_lockfile_drift— Compare a package.json against its package-lock.json and report drift.package_json(string, required) — the package.json document, as a JSON stringlockfile_json(string, required) — the package-lock.json document, as a JSON string
Docker
docker run -i ghcr.io/cloudcorprecords/lockdrift
docker run --rm -v "$PWD:/w" ghcr.io/cloudcorprecords/lockdrift check /w/package.json /w/package-lock.json
Development
npm install
npm run build # tsc -> dist/
npm test # tsx --test test/*.test.ts (pure local, no network)
npm run dev # run the CLI from source
License
MIT — Copyright (c) 2026 Rene Turcios
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
