Skip to content
Agent Web Search
Install guide · Cursor

Install Agent Web Search 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": {    "jerryliu369-agent-web-search": {      "command": "uvx",      "args": [        "agent-web-search-mcp"      ],      "env": {        "AGENT_WEB_SEARCH_PROVIDERS": "",        "ARK_API_KEY": "YOUR_ARK_API_KEY",        "GEMINI_API_KEY": "YOUR_GEMINI_API_KEY",        "XAI_API_KEY": "YOUR_XAI_API_KEY",        "DEEPSEEK_API_KEY": "YOUR_DEEPSEEK_API_KEY",        "AGENT_WEB_SEARCH_RESPONSES_API_KEY": "YOUR_AGENT_WEB_SEARCH_RESPONSES_API_KEY",        "AGENT_WEB_SEARCH_RESPONSES_BASE_URL": "",        "AGENT_WEB_SEARCH_MESSAGES_API_KEY": "YOUR_AGENT_WEB_SEARCH_MESSAGES_API_KEY",        "AGENT_WEB_SEARCH_MESSAGES_BASE_URL": "",        "TAVILY_API_KEY": "YOUR_TAVILY_API_KEY",        "BRAVE_SEARCH_API_KEY": "YOUR_BRAVE_SEARCH_API_KEY",        "PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY",        "YDC_API_KEY": "YOUR_YDC_API_KEY",        "EXA_API_KEY": "YOUR_EXA_API_KEY",        "PARALLEL_API_KEY": "YOUR_PARALLEL_API_KEY",        "ZHIPU_WEB_SEARCH_API_KEY": "YOUR_ZHIPU_WEB_SEARCH_API_KEY",        "ZHIPU_CHAT_SEARCH_API_KEY": "YOUR_ZHIPU_CHAT_SEARCH_API_KEY"      }    }  }}

Where the config lives

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