Connect Augment Code to Snyk
How to set up Snyk Studio and the Snyk MCP server in Augment Code
Connect Augment Code to the local Snyk MCP server to scan code and dependencies from your coding assistant.
Prerequisites
Visit the Augment Code website to download the correct version of the IDE plugin.
Install the Snyk MCP server in Augment Code
Install the Snyk MCP server using the method that best suits your operating system and local development environment.
Name: Snyk
Command: npx -y snyk@latest mcp -t stdio
Name: Snyk
Command: /absolute/path/to/snyk mcp -t stdio
If the snyk command is not available, add it by following the instructions on the Install the Snyk CLI page.
Set up the Snyk MCP server
The MCP server starts automatically. The following example shows a Snyk MCP server that was successfully configured and started.

Authenticate with Snyk and complete the client's trust request for the repository directory when prompted.
If you are already authenticated with the Snyk CLI installed on your system path, or through a prior interaction, then proceed to work with the Snyk MCP server.
Secure at inception rules
Add rules to guide the assistant when invoking Snyk scans. Rules do not guarantee that the model runs a scan. For the generic rule text, visit Rules for manual MCP integrations.
Add the generic rule text to your Augment Code user guidelines.

Examples
In the chat, you can tag specific files or functions and ask Augment Code to scan your code for safe deployment to production.
Augment Code indicates that this request is related to security vulnerability scanning and calls the Snyk MCP server for various scans.

Last updated
Was this helpful?

