Snyk MCP setup examples
To add an MCP server to an Agentic IDE, consult the documentation for the AI system where you plan to integrate Snyk and review the specific MCP instructions. Examples of systems where you can integrate Snyk include Windsurf's MCP, Qodo's MCP support, and VS Code MCP support.
MCP setup examples using the mcpconfig.json
file
mcpconfig.json
fileThis method can be used to set up Windsurf's MCP, as one example. These examples show how to add the Snyk MCP server in the mcpconfig.json
file for each transport type. This method requires that the Snyk CLI is in your system path and can be invoked with the command snyk
. If the CLI is not in your system path, you can provide the full path to the CLI.
Add the Snyk MCP server using stdio
transport in your mcpconfig.json
file
stdio
transport in your mcpconfig.json
fileAdd the Snyk MCP server using sse
transport in your mcpconfig.json
file
sse
transport in your mcpconfig.json
fileIf your MCP Client expects a URL, then you will need to start the MCP server in your terminal first by running snyk mcp -t sse --experimental
This will output the base URL for your local SSE server. The sse
endpoint lives on http://baseUrl/sse.
Qodo setup steps
Select the Agentic option for interacting with Qodo.

Click Connect more tools.

Click the + button to add a new MCP server.

Provide the required details for the Snyk MCP Server:
The MCP Server name
The path to the Snyk CLI
The Snyk MCP command to start the MCP server.

Snyk Security should now be visible in your list of tools. You can expand the Snyk Security list to see the tools available with the Snyk MCP integration.

At this point, start interacting with the Snyk MCP and ask for your code to be scanned.

Last updated
Was this helpful?