MCP · Cline

Cline web search MCP setup

Configure Annolux search_web in Cline and Roo Code for VS Code: clean Markdown snippets and explicit timestamps.

Config file location

  • In VS Code, open the Cline tab, click the MCP Servers icon (the plug icon), then click Edit MCP Settings.
  • File location on macOS/Linux: `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json` (or `roo-cline` for Roo Code).

The JSON

Add this block into mcpServers in your cline_mcp_settings.json. It starts the limited sandbox immediately. For the full account allowance, add ANNOLUX_API_KEY to the server's env as shown on the MCP overview page.

{
  "mcpServers": {
    "annolux": {
      "command": "npx",
      "args": ["-y", "annolux-mcp"]
    }
  }
}

Using search in autonomous tasks

When Cline breaks down complex tasks, it invokes search_web to look up library docs, package APIs, and recent error messages. Cline displays the tool call query and result preview directly in the chat panel.

Troubleshooting

  • npx path: if the command is not recognized, use the absolute path from `which npx`.
  • Restart MCP server: click the retry or reload button next to annolux in the Cline MCP server list.

Boundaries and credits

search_web queries a curated English and Chinese index. Only a successful 2xx search costs one credit; errors and timeouts cost zero. Every account gets 1,000 free credits each month.