Skip to content
← All MCP servers

Is the Snyk MCP server safe? What it can reach

What the Snyk MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Official serverChecked

Snyk Studio’s MCP server is built into the Snyk CLI and runs locally over stdio as snyk mcp. It signs in with your Snyk account and scans code, dependencies, containers, IaC and secrets on your machine. It has no write tool for your repo, but a dependency scan may run build tools. Use the lite profile to cut the tool set.

Who maintains it

ImplementationKindStatus
Snyk Studio MCP (snyk mcp, snyk/studio-mcp, official)Officialactive

It runs as a local process on your machine.

How it signs in

You run snyk auth and finish a browser sign-in, and the server then scans as that Snyk user and organization. The auth, logout and auth status steps are also exposed as tools.

What its tools can do

KindTools
Readsnyk_sca_scan, snyk_code_scan, snyk_iac_scan, snyk_container_scan, snyk_sbom_scan, snyk_secret_scan, snyk_aibom, snyk_package_health_check, snyk_breakability_check, snyk_auth_status, snyk_version
Writesnyk_trust, snyk_auth, snyk_send_feedback
Can’t be undonesnyk_logout

The GitHub README lists 13 tools. The Snyk docs add snyk_send_feedback and snyk_breakability_check and name the lite, full and experimental profiles. The scan tools do not change your files, but they upload scan data to Snyk. snyk_logout is listed as destructive because it ends your signed-in session.

Built-in limits

OptionWhat it does
--profile / SNYK_MCP_PROFILElite exposes only auth, SCA scan, code scan, version, logout, trust and feedback. full is the default. experimental adds tools under evaluation.
snyk_trustThe tool trusts a folder before a scan runs, so you can deny or ask on it to stop the model from adding new folders.

The risks

  • The server runs with your local file permissions, so a prompt injected through a repo file could steer which folders get scanned and sent to Snyk.
  • snyk_sca_scan may run ecosystem tools such as Gradle or Maven on your machine to build the dependency tree, and a hostile project can use that to run its own build code.
  • snyk_trust marks a folder as trusted for scanning, so an injected instruction could widen the paths the server will read.
  • Findings and file context go back into the model’s prompt, and scan data goes to Snyk under your account.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add snyk -- snyk mcp -t stdio

Claude Code names MCP tools mcp__snyk__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "deny": [
      "mcp__snyk__snyk_logout"
    ],
    "ask": [
      "mcp__snyk__snyk_trust",
      "mcp__snyk__snyk_sca_scan",
      "mcp__snyk__snyk_auth"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.snyk]
command = "snyk"
args = ["mcp", "-t", "stdio"]
disabled_tools = ["snyk_logout"]

Checklist

  • Start with --profile=lite unless you need container, IaC or SBOM scans.
  • Run snyk auth yourself before you start the server.
  • Trust only folders you have read.
  • Scan untrusted repos in a throwaway container or VM.
  • Use the CLI’s absolute path in client config.

Checked against the vendor documentation on November 25, 2026. snyk/studio-mcp README · Snyk docs: Getting started with Snyk Studio

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing