Connect Qodo to Snyk
How to set up Snyk Studio and the Snyk MCP server in Qodo
Connect Qodo to the local Snyk MCP server to scan code and dependencies from your coding assistant.
Prerequisites
Install the code assistant extension
Add the Qodo extension to the VS Code or JetBrains IDE. Visit the official Qodo.ai page.
Install the Snyk MCP server in Qodo
Install the Snyk MCP server using the method that best suits your operating system and local development environment.
In the Qodo chatbox, click the Add MCP tools > Add new MCP. Provide the required details for the Snyk MCP server:
The MCP Server name
command: Eithernpxor the absolute path to the Snyk CLI.args: The Snyk MCP command to start the MCP server.
npx option:
absolute path option:
For the absolute path option, if the snyk command is not available, add it by following the instructions on the Install the Snyk CLI page.
The following example shows a Snyk MCP server that was successfully configured.

For additional MCP configuration options on VS Code and troubleshooting, consult the official VS Code MCP server documentation.
Set up the Snyk MCP server
Authenticate with Snyk and complete the client's trust request for the repository directory when prompted.
Ask the assistant to authenticate or trust the repository when needed. Confirm that it invokes the Snyk MCP tools and review the returned results.

If you need to authenticate and trust the current directory, then proceed and complete the process.

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.
The following applies to the legacy Qodo IDE plugin. Add the generic rule text to best_practices.md in your project root, after this front matter. Review Qodo's retirement notice before using this workflow.
Qodo workflows
Create a custom Snyk workflow to scan and remediate security vulnerabilities. The following is a suggestion for Qodo workflows. Import this legacy workflow from a TOML file in ~/.qodo/agents/ or through the workflows interface. Review Qodo's retirement notice before using it.
Examples
In the chat, you can tag specific files or functions and ask Qodo to scan your code before deployment:
Review the assistant tool calls to confirm that it invoked the requested Snyk MCP scans.
Review the scan results and any fixes that the assistant proposes.
Last updated
Was this helpful?

