SafeDep Vet MCP
Lets your AI agent check packages, lockfiles and workflows for malware, known vulnerabilities and risky settings.
1.1k stars on GitHubby SafeDepLicense Apache-2.0Updated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add vet -- docker run -i --rm --rm -i ghcr.io/safedep/vet:v1.20.0 -s -l /tmp/vet-mcp.log server mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Scan this project for malicious or vulnerable packages.
Is pkg:npm/express@4.19.2 safe to use?
What it is
vet is a scanner from SafeDep that finds risk in the dependencies, GitHub Actions workflows and AI agent configs your code relies on. It checks each package against SafeDep Threat Intel and reports known vulnerabilities with the fixed version. The MCP server protects AI agents and IDEs from malicious open-source packages.
What it can do
- Scan a directory, git repository, container image or SBOM
- Check a single package such as pkg:npm/express@4.19.2
- Report malicious packages from SafeDep Threat Intel
- Report known vulnerabilities and the fixed version
- Flag risky GitHub Actions workflows
- Fail a scan with a policy written as rules in CEL
When to use
- βΊWhen you want to check a package before your agent installs it
- βΊWhen you want a pull request checked for new risky dependencies
- βΊWhen you want a list of the AI tools and MCP servers on a developer machine checked for malware
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
supply-chain-guardHelps your agent check project dependencies for compromised packages and risky CI/CD setups in npm, PyPI, Rust and GitHub Actions.detecting-malicious-npm-packagesLets your agent check npm packages for malware and credential theft. Helps ensure the security of software dependencies and investigate suspicious packages.supply-chain-risk-auditorLets your agent check a project's dependencies for known security advisories, abandoned packages, and risky install scripts.Frequently asked questions
Is it free and open source?
The project has an open source license file and needs no account. SafeDep Cloud is a separate hosted option.
Does it send my source code anywhere?
No. The readme says vet sends no source code and no file content, only each package's ecosystem, name and version.
Which package ecosystems does it read?
npm, PyPI, Go, Maven, Gradle, Cargo, RubyGems, NuGet, Packagist, Pub and more. It reads lockfiles and manifests without installing or running anything.
Is the version in the readme final?
No. The readme says this branch is vet v2, in alpha, and v1 stays the latest release.
Can I fail a build on findings?
Yes. Use a flag like --fail-on high or a policy file, and the readme describes a GitHub Action for pull requests.
Does the endpoint audit send data?
With credentials, vet endpoint audit sends the machine inventory to SafeDep Cloud. Setting plugins.cloud-inventory.enabled to false turns this off.
If it does not work
- βΊCheck vet is installed and on your PATH by running vet --version.
- βΊIf a scan fails on something you accept, add a suppression with a reason and an expiry date in vet-policy.yml.
- βΊRestart your AI app fully after adding the MCP server.
5 new skills a week. 1 minute to read.