Skip to content
driftnet
Install guide · Cursor

Install driftnet for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "kevinchu1110-driftnet": {      "command": "npx",      "args": [        "-y",        "driftnet@1.2.1"      ],      "env": {        "DRIFTNET_HOME": "",        "DRIFTNET_LLM_PROVIDER": "",        "DRIFTNET_LLM_MODEL": "",        "DRIFTNET_LLM_API_KEY": "YOUR_DRIFTNET_LLM_API_KEY",        "DRIFTNET_LLM_BASE_URL": "",        "DRIFTNET_LLM_REGION": "",        "AWS_ACCESS_KEY_ID": "YOUR_AWS_ACCESS_KEY_ID",        "AWS_SECRET_ACCESS_KEY": "YOUR_AWS_SECRET_ACCESS_KEY",        "AWS_BEARER_TOKEN_BEDROCK": "YOUR_AWS_BEARER_TOKEN_BEDROCK",        "GOOGLE_APPLICATION_CREDENTIALS": "",        "GOOGLE_CLOUD_PROJECT": "",        "DRIFTNET_JUDGE": "",        "DRIFTNET_JUDGE_RULES": "",        "DRIFTNET_LANGUAGE": "",        "DRIFTNET_AGENT": ""      }    }  }}

Where the config lives

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json