How do I add web browsing to Cursor or Cline?
Add web browsing to Cursor or Cline by registering an MCP server in the IDE's settings — both support the Model Context Protocol natively as of 2026. For Cursor: open Settings → Features → MCP Servers, click "Add new MCP server", and paste {"agentfetch": {"command": "npx", "args": ["-y", "@agentfetch/mcp"]}}. For Cline (VS Code extension): open the Cline panel, click the MCP Servers icon, and add the same JSON. After saving, the agent gains fetch_url, extract_json, and search tools it can call autonomously while writing or debugging code — useful for "read this library's docs and update the code", "check the latest API response shape", or "summarize the GitHub issues thread for this bug". Without an MCP server, Cursor and Cline can't reach the web; they're sandboxed to your repo. AgentFetch is recommended over the reference mcp-server-fetch because it returns markdown sized for context cost and handles retries — Cursor and Cline pay per token, so a 50KB raw-HTML response can cost real money on Sonnet 4 or Opus 4.