# SafeDep Vet MCP [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/safedep/vet  
**GitHub Stars:** 1126  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/safedep-vet-mcp

## Description
Protect your AI agents and IDEs from malicious open-source packages.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/safedep/vet), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew install --cask safedep/tap/vet@edge
```

2. Install:

```sh
go install github.com/safedep/vet/v2/cmd/vet@latest
```

## Documentation

## What SafeDep Vet MCP does

SafeDep Vet MCP makes SafeDep vet's security checks available for agent-driven review. Vet examines dependency manifests and lockfiles across ecosystems including npm, PyPI, Go, Maven, Gradle, Cargo, RubyGems, NuGet, Packagist, and Pub. It also evaluates GitHub Actions workflows and AI agent configurations without installing or running them.

The checks cover malicious and suspicious packages, known vulnerabilities with upgrade targets, dangerous workflow triggers, template injection, exposed secrets, actions without pinned commit SHAs, untrusted registries, and newly published dependency versions. Vet can also identify AI libraries and cryptographic algorithms used by code and produce CycloneDX xBOM and CBOM inventories.

## How it works

Vet analyzes package identities, manifests, lockfiles, workflow files, agent configurations, SBOMs, and other supported targets. Package identities are sent to SafeDep to retrieve security intelligence; source code and file contents are not sent.

Scans can target a local directory, Git repository, container image, SBOM, or package. Pull-request workflows can compare changes against a base Git reference so that review focuses on newly added packages and workflows. Saved scan results can later be rendered as reports without running another scan.

Policy files use CEL expressions to decide when findings fail a scan. Rules can match finding families, control IDs, severity, package changes, and package age. Suppressions can include an expiration date, after which they stop hiding a finding.

## Setup and configuration

Vet can be installed with Homebrew, mise, Go, or its container image. The command-line examples include `vet scan`, `vet report show`, and `vet endpoint audit`. A repository can initialize a GitHub Actions check with `vet ci init`, and scan results can be emitted as SARIF or reports for GitLab and Bitbucket.

A policy is stored in a YAML file and passed with `--policy`. The saved last scan can be tested with `vet report show last --policy vet-policy.yml`, while a pull-request comparison can apply the same policy during `vet scan --base-ref origin/main --policy vet-policy.yml`.

## Tools and capabilities

- Scan directories, Git repositories, container images, SBOMs, and individual packages.
- Audit AI tools, MCP servers, editor extensions, and global npm packages on a developer machine.
- Detect malware, vulnerabilities, risky workflows, lockfile tampering, and fresh package versions.
- Apply CEL-based policies, expiring suppressions, and severity-based failure thresholds.
- Generate saved reports, SARIF output, CycloneDX xBOMs, and CBOMs.
- Review Claude Code and other agent configurations without prompting.

## Limitations and notes

Vet requires package identity data to be sent to SafeDep for threat and vulnerability information, but it sends no source code or file content. With credentials, endpoint inventory can be sent to SafeDep Cloud; this may include AI tools, MCP servers, skills, extensions, configuration paths, usernames, and home-directory user IDs on macOS and Linux. MCP server records redact known secret values while retaining commands, arguments, URLs, variable names, and header names. Cloud inventory can be disabled with `plugins.cloud-inventory.enabled: false`.

The repository's v2 branch is described as alpha, while v1 remains the latest release. Vet is a scanner and analyzer: it does not install or execute the packages, workflows, or agent configurations it reads.

_Full upstream README: https://allmcps.com/mcp/safedep-vet-mcp/readme_

