CodeQL Development MCP Server
OFFICIAL SERVERWrite, test, run and profile CodeQL queries from an AI assistant through the local CodeQL CLI
Snyk security scans of local code, dependencies, IaC, containers and SBOMs from a coding assistant
Official · Snyk Go Local · stdio SecurityDeveloper tools
76 popularity score ★ 58 ↓ 781k/wk
Opens the app, which asks before it adds the server.
claude mcp add snyk-studio -- npx -y snyk@latest mcp -t stdio{
"mcpServers": {
"snyk-studio": {
"command": "npx",
"args": [
"-y",
"snyk@latest",
"mcp",
"-t",
"stdio"
]
}
}
}{
"mcpServers": {
"snyk-studio": {
"command": "npx",
"args": [
"-y",
"snyk@latest",
"mcp",
"-t",
"stdio"
]
}
}
}{
"servers": {
"snyk-studio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"snyk@latest",
"mcp",
"-t",
"stdio"
]
}
}
}[mcp_servers.snyk-studio]
command = "npx"
args = ["-y", "snyk@latest", "mcp", "-t", "stdio"]gemini mcp add --scope user snyk-studio npx -- -y snyk@latest mcp -t stdioSNYK_MCP_PROFILE |
Optional: Tool profile: lite, full (default) or experimental; same as --profile. |
|---|---|
SNYK_TOKEN |
Optional: Snyk API token; when set, the snyk_auth browser sign-in is skipped and refused. |
Snyk Studio MCP is Snyk's own MCP server. It is part of the Snyk CLI and starts with the `snyk mcp -t stdio` subcommand. It gives a coding assistant Snyk's scanners for the project on your disk: static analysis of source code, open-source dependency checks, infrastructure-as-code misconfiguration checks, container image scans, vulnerability checks of an existing SBOM, and detection of hard-coded secrets. It can also build an AI bill of materials for Python projects and look up the health and security record of a single package before you add it.
The assistant gets the findings back in the chat, so it can fix issues in code it has just written or in existing code. Snyk adds rule files it calls directives on top of the server, to nudge agents to scan new code as they write it.
Tools come in three profiles, set with `--profile` or `SNYK_MCP_PROFILE`. `lite` has the basic scans plus the account and trust tools. `full` is the default and adds container, IaC, SBOM, secret, AIBOM, package-health and breaking-change tools. `experimental` adds tools still under evaluation. The source checks two things before a scan runs: the folder must have been marked as trusted with `snyk_trust`, and the user must be signed in to Snyk. If Snyk Code is not turned on for the organisation, `snyk_code_scan` first asks the assistant to get the user's consent. Called again, it turns Snyk Code on for that organisation (internal/mcp/tools.go).
| Runtime | Node.js |
|---|
A Snyk account (free sign-up exists). Node.js with npx for the documented `npx -y snyk@latest mcp -t stdio` command. Otherwise, an installed Snyk CLI configured by hand. Network access to Snyk's platform. Dependency scans may need the project's own build tools (for example Gradle or Maven) installed locally.
Local only: Snyk offers no hosted remote MCP server. Scans refuse to run in a folder that has not been trusted with `snyk_trust` and return an error asking for it. The `snyk_auth` tool will not run while `SNYK_TOKEN` is set. `snyk_aibom` handles Python projects only. `snyk_sbom_scan` needs components identified by PackageURLs. The README lists a `snyk_auth_status` tool that the current tool definitions (internal/mcp/snyk_tools.json) do not contain. Those definitions do contain `snyk_breakability_check` and `snyk_send_feedback`, which the README leaves out, so older CLI releases may differ. The repository does not accept public contributions.
Teams already on Snyk who want an assistant to scan the code it writes, and its dependencies, IaC and containers, without leaving the editor. It runs on your machine through the Snyk CLI and needs a Snyk account, so it does not suit anyone who wants scanning with no vendor account or offline. Use the `lite` profile to keep the tool list and context small. For testing a running web app or API instead of source, Snyk publishes a separate server, the Snyk API & Web MCP server (snyk/saw-mcp), which we also list.
snyk_authsnyk_sca_scansnyk_code_scansnyk_container_scansnyk_iac_scansnyk_sbom_scansnyk_secret_scansnyk_versionsnyk_logoutsnyk_aibomsnyk_trustsnyk_send_feedbacksnyk_package_health_checksnyk_breakability_check