Install guide · Cursor
Install google-surf-mcp for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Add to Cursor: google-surf-mcpInstall in VS Code: google-surf-mcpInstall in VS Code Insiders: google-surf-mcp
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
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": { "harimxchoi-google-surf-mcp": { "command": "npx", "args": [ "-y", "google-surf-mcp@1.1.8" ], "env": { "SEARCH_API": "YOUR_SEARCH_API", "SURF_SEARCH_PROVIDER": "", "SURF_SCHOLAR_PROVIDER": "", "SURF_BROWSER_ENGINE": "", "CHROME_PATH": "", "SURF_PROFILE_ROOT": "", "SURF_RESEARCH": "", "SURF_RETRIEVAL_MODE": "", "SURF_RESEARCH_ROOT": "", "SURF_RESEARCH_VECTOR_MODEL": "", "SURF_RESEARCH_VECTOR_LOW_MEMORY": "", "SURF_RESEARCH_VECTOR_THREADS": "", "SURF_RESEARCH_REPO_AUTO": "", "SURF_RESEARCH_REPO_AUTO_MAX_MB": "", "SURF_RESEARCH_REPO_AUTO_MAX_FILES": "", "SURF_RESEARCH_BROKER_IDLE_MS": "", "SURF_RESEARCH_READ_CONCURRENCY": "", "SURF_RESEARCH_QUERY_TIMEOUT_MS": "", "GITHUB_TOKEN": "YOUR_GITHUB_TOKEN", "SURF_LOCALE": "", "SURF_TZ": "", "SURF_HEADLESS": "", "SURF_IDLE_CLOSE_MS": "", "SURF_ALLOW_PRIVATE": "", "SURF_LLM_HEAL": "", "SURF_LLM_PROVIDER": "", "SURF_LLM_MODEL": "", "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY", "ORCAROUTER_API_KEY": "YOUR_ORCAROUTER_API_KEY" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |