How do I use AgentFetch with Cursor?
Use AgentFetch with Cursor by registering it as an MCP server in Cursor Settings → Features → MCP Servers → Add new MCP server. Paste {"agentfetch": {"command": "npx", "args": ["-y", "@agentfetch/mcp"], "env": {"AGENTFETCH_API_KEY": "af_..."}}}, save, and restart Cursor. The Composer and chat agents will now see fetch_url, extract_json, and search tools and can call them autonomously while you code. Typical agent prompts that benefit: "read the latest Stripe API docs and update this checkout function", "fetch the GitHub issue thread for #1234 and propose a fix", "summarize the changelog for [email protected]". Cursor pays per-token to the underlying model (Sonnet 4, Opus 4, GPT-4o), so AgentFetch's markdown output (vs raw HTML) typically saves 70-85% on web-fetch token cost — a non-trivial line item for heavy users. The free tier is sufficient for ~95% of solo Cursor users; high-volume teams should provision an API key via the AgentFetch dashboard. Verify the install by opening the chat input's tool tray (hammer icon) — fetch_url should appear. If not, check Cursor's MCP log under ~/Library/Application Support/Cursor/logs/.