Snyk
Official Snyk CLI MCP for scanning code, open-source dependencies, containers, IaC, SBOMs, and package health inside agentic security workflows.
Installation path
Choose Add Server, select Local MCP, use npx as the command, add -y snyk@latest mcp -t stdio as arguments, then authenticate Snyk from the CLI when prompted.
Setup steps
- 01
Install the Snyk CLI
npx will pull snyk@latest on first run, or install it globally with npm install -g snyk.
- 02
Open Add Server
Configuration → MCP Registry → Add Server in Cosmos.
- 03
Pick the Local MCP tab
- 04
Set the command
Command
npx - 05
Add the arguments
Args
-y snyk@latest mcp -t stdio - 06
Click Add, then enable
Toggle on Cosmos Agent or CLI.
- 07
Authenticate
Run snyk auth in your terminal when the server prompts.
Local command
Suggested name: snyk
npx -y snyk@latest mcp -t stdioSnyk docs state this is a local MCP server using the Snyk CLI. Snyk does not offer a hosted remote MCP server.
Authentication
Run `snyk auth` in your terminal after Cosmos starts the server.