# vetcode

> vetcode is an open-source MCP server for security. Reads code for malware, secrets and supply-chain attacks before an agent acts. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/openyard-cloud/vetcode
- **MCP Registry name:** io.github.openyard-cloud/vetcode
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

Aimed at coding agents, this scanner runs before a package is installed, after a repository is cloned, or before code ships. It only reads files; nothing from the inspected code is installed, built or run. It needs Node.js 18 or newer and has no other dependencies.

The README describes a guard that answers allow, ask or deny for installs and MCP server additions, a scanner covering malware, supply-chain and agent-targeted attacks such as poisoned CLAUDE.md files, leaked secrets and server or CI issues, and a review procedure that tells the agent how to confirm findings by reading the code. It also lists dangerous web-code calls as places to read, and says plainly that these are a starting point rather than coverage and that a clean report means nothing obvious was found.

The project publishes benchmark numbers against GuardDog and Cisco's skill scanner, with caveats about sample sizes. The MCP server exposes four tools and a security_review prompt, and it is also available as a Claude Code plugin, skill, command line and GitHub Action.

## Features

- **Install guard:** Answers allow, ask or deny before a package install or MCP server addition.
- **Read-only scanner:** Checks a folder for malware, supply-chain attacks, secrets and CI problems without running it.
- **Agent-attack checks:** Flags poisoned CLAUDE.md files, skills, hooks and auto-approved servers.
- **Review procedure:** Tells the agent how to confirm each finding by reading code.
- **Multiple entry points:** Plugin, skill, MCP server, command line and GitHub Action.
- **Published benchmarks:** Detection and false-alarm counts with stated caveats.

## Good for

- Check an npm or PyPI package before an agent installs it
- Scan a cloned repository before running it
- Look for leaked secrets before shipping
- Review a pull request on GitHub
- Vet an MCP server before adding it

## Install

### Claude Desktop (Claude Desktop → Settings → Extensions)

```text
https://github.com/openyard-cloud/vetcode/releases/download/v0.8.20/vetcode.mcpb
```

Download the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.

## Tools

From the tool list in its README, going by the names, 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `vetcode_scan`: Scan a folder for security findings
- `vetcode_guard`: Answer allow, ask or deny for an install or clone
- `vetcode_guide`: Review procedure for confirming findings
- `vetcode_reference`: Reference material for the rules

## FAQ

### Does vetcode run the code it checks?

No. It reads, never runs, and installs or builds nothing from the code it inspects.

### What does vetcode need?

Node.js 18 or newer and nothing else.

### Is vetcode on npm?

No. The README warns that a vetcode package on npm or PyPI is not this project; run it from the repository at a pinned release.

### What licence?

MIT, free and open source.

### Does a clean report mean safe?

No. The README says it means nothing obvious was found.

### Is vetcode free?

Yes. vetcode is open source, so you can use and self-host it for free.

### What are the best alternatives to vetcode?

The closest alternatives to vetcode are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/vetcode
