Practical overview
When it fits
Use Agent Scan when reviewing an agent setup, MCP configuration or collection of skills for security issues. For untrusted MCP configurations, follow the project's sandboxing guidance and inspect consent prompts before allowing server contact.
Who it is for
- Developers reviewing local AI agent installations and configurations.
- Teams checking MCP servers and skills for security risks before use.
- Security practitioners who want a CLI-based component scan in a local review process.
Documented uses
- Discover supported agent configurations and installed components on a machine.
- Scan an MCP configuration, a skill file or a skills directory.
- Check agent components for risks including prompt injection, malicious content, suspicious downloads, credential handling and exposed secrets.
Requirements & limits
The documented scan setup requires a Snyk account and API token set in the SNYK_TOKEN environment variable. Installation options include uvx, which requires uv, and standalone binaries from GitHub Releases. The repository is licensed under Apache-2.0.
- MCP scanning may execute configured commands or make outbound network requests; untrusted configurations should be scanned in a sandbox.
- Interactive foreground scans request consent before contacting discovered MCP servers; background and push-key scans handle remote servers differently.
- Raw CLI output is experimental and may change, including fields and risk indicators. The repository advises against production dependencies on specific output values.
- Version 0.5.x is planned for deprecation; version 0.6 and later use risk-based output.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Scan an MCP configuration with uvx
Run Agent Scan against a specific MCP configuration file.
Before you start
- A Snyk account and API token.
- Set the token in the SNYK_TOKEN environment variable.
- uv installed on the system.
Steps
Choose the documented command for the installed CLI line:
uvx snyk-agent-scan@latest ~/.vscode/mcp.jsonfor version 0.6 and later, oruvx snyk-agent-scan@0.5.17 ~/.vscode/mcp.jsonfor the documented v0.5.x example.Review the consent prompt carefully before allowing contact with discovered MCP servers.
Use a sandbox when evaluating untrusted or third-party MCP configurations.
Expected outcome
Agent Scan inspects the specified MCP configuration and reports detected risks using the output format of the selected CLI line.
Guide limitations
- Scanning configurations can execute configured commands or make outbound network requests.
- CLI output fields and risk indicators are experimental and may change; do not build production workflows around specific output values.
- Version 0.5.x is planned for deprecation.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 9 October 2026
- Original website title
- snyk/agent-scan · Official homepage title · retained in its source language

