Cursor guide
You can add the Snyk MCP server to Cursor to secure code generated with agentic workflows through an LLM. This can be achieved in several ways. When you use it for the first time, the MCP server will ask for trust and trigger authentication if necessary.
Direct link (preferred)
Click this link to directly add the server to Cursor.
Confirm installation in the Cursor settings by clicking on
Install

Cursor MCP server directory
Navigate to the list of MCP servers on the Cursor website and search for Snyk. Then install by clicking the
Add Snyk to Cursor
button.

Confirm the installation by clicking
Install
in the Cursor settings.
Install manually in Cursor
Open Cursor settings
Navigate to Tools & Integrations
Select Add Custom MCP
Add the following json snippet to the file in use. For this example, the assumption is that Snyk is on the system path. If this is not applicable, then use the absolute path to the Snyk CLI.
{
"mcpServers": {
"Snyk": {
"command": "snyk mcp -t stdio --experimental",
"env": {}
}
}
}
Last updated
Was this helpful?