Static-scans packages, MCP servers, and agent extensions before installation or connection, returning cited SAFE, REVIEW, or BLOCK verdicts.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We ran the install command below but it didn't respond within our test window โ this can mean a slow first-time install rather than a real problem.
npx --yes pkgxray@1.0.5No response to initialize.
This is an experimental automated check and can have false negatives โ missing environment variables, a slow cold install, etc. It doesnโt necessarily mean somethingโs wrong. Last checked 1d ago.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Pkgxray.
The pkgxray MCP server makes pkgxray's auditing functions available through MCP so an agent can use the same checks that are available from the command line. The project is designed to inspect software before installation, package promotion, or connection to an MCP server. It covers npm and PyPI packages, GitHub repositories, local directories, dependency lockfiles, MCP servers, and AI-agent extensions.
Results use three policy-oriented decisions. SAFE means no high- or medium-risk indicators were found and has exit code 0. REVIEW indicates incomplete evidence or a privileged capability requiring human inspection and has exit code 3. BLOCK indicates high-severity cited evidence and has exit code 2. Findings identify the relevant file and evidence rather than returning an unexplained score.
Normal scans stage package archives in quarantine and read them as bytes. Package code, lifecycle scripts, and install hooks are not executed during these scans. The verdict comes from fixed detection rules rather than a language model, so text inside a package cannot alter the decision logic.
Checks include credential and secret-store access, cloud metadata harvesting, prompt injection, Unicode smuggling, encoded payloads, stage-two loaders, exfiltration, persistence, CI/CD workflow injection, self-deleting droppers, registry replication, install-time execution, obfuscated command arguments, unpublished lockfile names, known CVEs, npm-to-GitHub artifact differences, trojaned updates, and suspicious MCP capability surfaces.
The guard command vets an individual target, audit examines supported dependency files, and recheck compares dependencies over time for regressions. The mcp command can gate an MCP server before connection and supports rechecking for changes. A runtime proxy mode can inspect each live MCP tool call, but that is a separate execution surface from ordinary static scanning.
The package is published on npm. The README demonstrates running a scan without first installing pkgxray locally:
For MCP use, the pkgxray MCP server is documented as an MCP-client integration, but the supplied material does not include its exact launch command or client configuration block. A .pkgxray.json file can tune policy across entry points; when no configuration is present, the strictest settings apply. Configuration cannot suppress a CVE, and a scan error fails closed to REVIEW.
The pkgxray MCP server is suited to exposing audit operations to coding agents and MCP clients. The underlying command-line surfaces support:
The project also documents integrations with Cursor, Windsurf, Codex, Claude Code, GitHub Actions, Hookshot, and MCP clients. These are documented setup targets, not claims of vendor endorsement.
A SAFE result is not proof that a package is harmless. Static analysis may miss a payload downloaded only after execution. The optional canary mode executes a package in a sandbox to confirm behavior, but it cannot prove that a package is safe. Listing an MCP server's tools, using the runtime proxy, and running the canary have different execution boundaries from normal guard and audit scans.
The pkgxray MCP server does not replace CVE-focused tools such as npm audit or OSV-Scanner; the README recommends running those alongside pkgxray. The supplied material also does not specify an MCP transport, authentication mechanism, or exact tool names exposed by the MCP interface.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pkgxray)<a href="https://allmcps.com/mcp/pkgxray"><img src="https://allmcps.com/api/badge/pkgxray?style=directory" alt="Pkgxray on AllMCPs" /></a>