Skip to content
Skillpedia
βœ“ Official Β· SafeDep● Free and open sourceπŸ’» LocalπŸ”“ No API keySecurity

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

You need vet installed, for example with Homebrew, mise, Go or a container. The readme says vet needs no account and sends no source code, only package names, ecosystems and versions.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

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.