For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

This setup provides MCP access. It does not install Studio Secure at inception hooks. Rules instruct the agent when to scan and depend on the model following those instructions.

For clients supported by the Studio CLI installer, use Getting started with Snyk Studio. For enterprise deployment, use the Agentic Development Security (ADS) installer.

Prerequisites

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: Either npx or 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.

Snyk MCP server configured in Qodo

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.

Snyk MCP server running a workflow in Qodo

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

Completing the authenticate and trust prompt

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?