Snyk
MCP server that lets AI coding agents run Snyk security scans and fetch findings
Snyk is an MCP server for security. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 1.1304.2
- Listing updated
Similar MCP servers
Install
Run in a terminal
claude mcp add mcp -- npx -y snykAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"snyk"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"snyk"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"snyk"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"snyk"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"snyk"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
About Snyk
The Snyk MCP server ships as part of the Snyk CLI and is started with the snyk mcp command. It gives MCP-enabled agentic tools access to Snyk scanning, so an assistant working in a codebase can trigger scans and read the results inside the same session instead of switching to a separate security dashboard.
The README lists scan tools covering open source dependencies, code, infrastructure as code, containers, SBOM files and secret detection, along with a package health check, an AIBOM generator, and authentication and trust helpers. Running the dependency scan may invoke ecosystem tools such as Gradle or Maven on the local machine to resolve the dependency tree.
It suits developers and security teams who already use Snyk and want findings surfaced during AI-assisted coding. Use of the scans depends on a Snyk account, and the repository is closed to public contributions.
Tools this server provides (13)
Taken from the project documentation; the running server may differ.
- snyk_sca_scan
- Open Source scan
- snyk_code_scan
- Code scan
- snyk_iac_scan
- IaC scan
- snyk_container_scan
- Container scan
- snyk_sbom_scan
- SBOM file scan
- snyk_secret_scan
- Secret detection scan
- snyk_aibom
- Create AIBOM
- snyk_package_health_check
- Package health and security assessment
- snyk_trust
- Trust a given folder before running a scan
- snyk_auth
- authentication
- snyk_logout
- logout
- snyk_auth_status
- authentication status check
- snyk_version
- version information
What it does
- Dependency vulnerability scanning
- Runs open source scans via snyk_sca_scan to report vulnerable packages in a project.
- Code and IaC scanning
- Exposes code and infrastructure-as-code scan tools for finding issues in source and config files.
- Container and SBOM scanning
- Scans container images and SBOM files for known security problems.
- Secret detection
- Provides a scan tool that looks for exposed secrets in the codebase.
- Package health checks
- Offers a package health and security assessment tool for evaluating dependencies.
- Folder trust and authentication
- Includes tools to trust a folder before scanning and to manage Snyk login state.
Good for
- Checking a project's dependencies for vulnerabilities while an AI agent writes code
- Reviewing code and infrastructure files for security issues within an MCP-enabled editor
- Assessing a third-party package's health before adding it to a project
- Generating an AIBOM for an AI-enabled application
Snyk FAQ
How is the Snyk MCP server started?
The README says it is run with the snyk mcp CLI command as part of the Snyk CLI.
Does running the dependency scan touch anything outside the project?
The README notes that snyk_sca_scan may execute third-party ecosystem tools such as Gradle or Maven on the local machine to fetch the dependency tree.
Is the repository open to contributions?
The README states that the repository is closed to public contributions.
How do I add Snyk to Claude Code?
Run this command in your terminal: claude mcp add mcp -- npx -y snyk
What are the best alternatives to Snyk?
The closest alternatives to Snyk are SymbioticSec, SAST MCP Server, SecurityScan, Package Intel and MCPVetter.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.