How do I use AgentFetch with Windsurf?
Use AgentFetch with Windsurf (Codeium's agentic IDE) by editing ~/.codeium/windsurf/mcp_config.json and adding {"mcpServers": {"agentfetch": {"command": "npx", "args": ["-y", "@agentfetch/mcp"], "env": {"AGENTFETCH_API_KEY": "af_..."}}}}. Restart Windsurf and the Cascade agent gains fetch_url, extract_json, and search tools. Windsurf added stable MCP support in v1.2 (mid-2025) and treats MCP tools as first-class alongside its native code-editing actions. The combination is especially useful for Windsurf's "Flow" feature, where the agent autonomously researches and writes code across multiple files — typical prompts like "implement OAuth flow per the latest GitHub docs" trigger 2-5 web fetches that would otherwise require manual paste-in. Token-cost math: Windsurf's Cascade runs on Sonnet 4 by default at $3/M input, so a 30KB raw HTML page costs ~$0.022 vs ~$0.003 as AgentFetch markdown — about 7x savings. Verify installation by typing @agentfetch in Cascade or checking Settings → MCP Servers for a green "connected" indicator. If unconnected, check ~/.codeium/windsurf/logs/mcp.log.