# Snyk

> Snyk is an MCP server for security. MCP server that lets AI coding agents run Snyk security scans and fetch findings. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/snyk/studio-mcp
- **MCP Registry name:** io.snyk/mcp
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-21

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp -- npx -y snyk
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "snyk"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "snyk"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "snyk"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "snyk"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "snyk"
      ]
    }
  }
}
```

## Tools

- `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

## 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.

## Alternatives

- [SymbioticSec](https://ai-powered.com/mcp/symbioticsec): SymbioticSec is an MCP server for security.
- [SAST MCP Server](https://ai-powered.com/mcp/sast-mcp-server): SAST MCP Server is an open-source MCP server for security.
- [SecurityScan](https://ai-powered.com/mcp/securityscan-2): SecurityScan is a freemium MCP server for ai models and llm tooling.
- [Package Intel](https://ai-powered.com/mcp/package-intel): Package Intel is an open-source MCP server for security.
- [MCPVetter](https://ai-powered.com/mcp/mcpvetter): MCPVetter is a freemium MCP server for security.
- [Scout Security](https://ai-powered.com/mcp/scout-security): Scout Security is an open-source MCP server for security.
- [Swarm](https://ai-powered.com/mcp/swarm-2): Swarm is a freemium MCP server for security.
- [MCP Archimedes](https://ai-powered.com/mcp/mcp-archimedes): MCP Archimedes is an open-source MCP server for security.

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