toolprint by JEStats

v0.4.1
io.github.jestatsio/toolprint Checked 1 hour ago Published 1 month ago

package-lock.json for MCP trust: catch MCP rug-pulls, tool poisoning, and leaked secrets.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan Scan MCP servers and skills

Connect to MCP servers (or read skill bundles), compare every capability against toolprint.lock, and report tool-poisoning, secret-leak, and rug-pull findings. Read-only: never writes the lockfile. Findings at or above `failOn` set `failing: true` and `exitCode: 2` in the structured result.

ParameterTypeDescription
allClientsbooleanDiscover and scan the MCP config of every agent client installed on this machine (Claude Code, Claude Desktop, Cursor, Zed, and more).
baselinestringPath to a prior JSON report, to show findings new or resolved since then.
clientsarrayScan only these agent client ids, for example `cursor` or `zed`.
configstringPath to an MCP client config file (Claude Desktop / VS Code / Cursor).
failOnstringMinimum severity that counts as failing: info, low, medium, high, or critical. Default high.
failOnNewbooleanWith `baseline`, count only newly introduced findings as failing.
ignoreFilestringPath to toolprint.ignore.json with reviewed false positives.
lockfilestringPath to toolprint.lock (default: nearest one).
probebooleanCall tools the server annotates as read-only (a self-report, not verified) with empty arguments and inspect what they return. Off by default; only probe servers the user trusts to execute.
probeToolsarrayCall these tools by name regardless of annotation. Enables probing on its own.
skillsboolean | stringScan SKILL.md skill bundles on disk instead of MCP servers: `true` for the default skill roots, or a directory path.
targetstringWhat to scan: an MCP config path, an http(s) MCP URL, an `npx:<package>` spec, or a raw server command. Omit to auto-discover the project's MCP config.
timeoutMsintegerPer-server timeout in milliseconds. Default 30000.
workingDirectorystringProject directory for relative paths and lockfile discovery. Default: this process's working directory.

pin Pin current definitions into toolprint.lock

Scan, then write the current capability definitions into toolprint.lock as the trusted baseline for future scans. Pinning accepts drift, so only call this after the user reviews the changes; poisoning and leaked-secret findings still set `failing: true`. The user should commit the lockfile after a pin.

ParameterTypeDescription
allClientsbooleanDiscover and scan the MCP config of every agent client installed on this machine (Claude Code, Claude Desktop, Cursor, Zed, and more).
baselinestringPath to a prior JSON report, to show findings new or resolved since then.
clientsarrayScan only these agent client ids, for example `cursor` or `zed`.
configstringPath to an MCP client config file (Claude Desktop / VS Code / Cursor).
failOnstringMinimum severity that counts as failing: info, low, medium, high, or critical. Default high.
failOnNewbooleanWith `baseline`, count only newly introduced findings as failing.
ignoreFilestringPath to toolprint.ignore.json with reviewed false positives.
lockfilestringPath to toolprint.lock (default: nearest one).
probebooleanCall tools the server annotates as read-only (a self-report, not verified) with empty arguments and inspect what they return. Off by default; only probe servers the user trusts to execute.
probeToolsarrayCall these tools by name regardless of annotation. Enables probing on its own.
skillsboolean | stringScan SKILL.md skill bundles on disk instead of MCP servers: `true` for the default skill roots, or a directory path.
targetstringWhat to scan: an MCP config path, an http(s) MCP URL, an `npx:<package>` spec, or a raw server command. Omit to auto-discover the project's MCP config.
timeoutMsintegerPer-server timeout in milliseconds. Default 30000.
workingDirectorystringProject directory for relative paths and lockfile discovery. Default: this process's working directory.