Install guide · Cursor
Install vulnicheck for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "andrasfe-vulnicheck": { "command": "docker", "args": [ "run", "-i", "--rm", "docker.io/andrasfe/vulnicheck:main" ], "env": { "NVD_API_KEY": "YOUR_NVD_API_KEY", "GITHUB_TOKEN": "YOUR_GITHUB_TOKEN", "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY", "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY", "MCP_PORT": "", "CACHE_TTL": "", "VULNICHECK_HTTP_ONLY": "" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |