Snyk Agent Scan
CLI that finds agents, MCP servers and Agent Skills on a machine and scans them.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
Agent Scan, which began as Invariant Labs' mcp-scan, discovers agent configurations on your machine (Claude Code, Cursor, VS Code and others), connects to the MCP servers they list to read tool descriptions, and checks those and any installed skills for prompt injection, tool poisoning, risky data handling and hidden malware. You run it with uvx or a standalone binary. Note that scanning starts the stdio MCP servers in your configs, so scan untrusted configs inside a sandbox, and that analysis goes through Snyk's API.
Best for
An inventory and risk check of local MCP servers and skills.
Skills it helps with
Learn Snyk Agent Scan by doing
- MCP server security checklist
What to check before installing a server, least-privilege scopes, auth, transport, tool poisoning, and what to log.
Related tools
Cisco Skill Scanner
Open-source Agent Skills scanner using rules, dataflow analysis and an LLM judge.
garak
Scanner that probes LLMs for vulnerabilities such as prompt injection.
PyRIT
Microsoft toolkit for red-teaming generative AI systems.
E2B
Open-source cloud sandboxes for code that agents run.
Guardrails AI
Python framework of validators that check and correct LLM inputs and outputs.
Lakera
Runtime protection against prompt injection and data leakage, now part of Check Point.