Skip to content

Cursor

Cursor’s agent has both a WebSearch and a WebFetch tool, and the shipped cursor-agent CLI bundle shows that neither one runs on the developer’s machine. The client only receives a request from Cursor’s backend, asks the user to approve it, and returns “approved” or “rejected” verified in code. So the fetch itself almost certainly happens on Cursor’s servers and comes back to the model as markdown, which means a site owner should expect Cursor fetches from cloud IPs, not from developers’ laptops inferred. Before we get into the details, I want to say up front that this page is weaker than our other teardowns, for two reasons. Cursor is closed source, so everything here comes from a minified bundle and third-party tests, and we didn’t run Cursor in our Dec 2026 lab because the CLI wasn’t logged in.

cursor-agent 2026.08.11
Fetch toolWebFetch, takes one url, returns {url, markdown, output_location} verified in code
Search toolWebSearch, takes search_term, returns references of {title, url, chunk} verified in code
Who issues the requestCursor’s backend; the client only answers an approval query inferred
User-Agent Unconfirmed. Known Agents lists Cursor/1.0.0 and Cursor/3.x (<os> <arch>) strings with no verification method
Accept header text/markdown listed first, with HTML and XML fallbacks, per a third-party test
JS rendering SPA content was reduced to extracted text in a third-party test; mechanism unknown
Content conversion HTML to markdown, with nav and boilerplate stripped (85 KB became 4.8 KB in one test)
Size and truncation About 28 KB on one backend path in a third-party test
Caching Unknown
robots.txt Known Agents says Cursor should follow User-agent: Cursor; compliance unmeasured
Permission modelApproval prompt per fetch, webFetchDomainAllowlist, WebFetch(<domain>) permission entries, autoAcceptWebSearch default false verified in code

The bundle at cursor-agent/versions/2026.08.11-e8db854/index.js defines protobuf messages agent.v1.WebFetchArgs{url, tool_call_id} and WebFetchResult{success{url, markdown, output_location} | error | rejected} verified in code. In other words, the model receives markdown, not raw HTML. The only client-side executor related to fetching is web_fetch_allowlist_precheck_exec (isWebFetchFullyAllowlisted), and it answers exactly one question: is this URL’s hostname on the user’s allowlist?

What’s missing is just as telling, because there’s no client-side web_fetch executor in the bundle at all. Instead, the agent loop receives webFetchRequestQuery and webSearchRequestQuery interaction queries from Cursor’s backend, shows an approval prompt or auto-approves, and replies with the decision verified in code. That design strongly suggests the HTTP request runs on Cursor’s servers, and a third-party report that a WebFetch timeout makes the agent fall back to local shell curl fits the same picture inferred.

Cursor: a WebFetch round trip as the bundle implies itcursor-agentCursor backendYour site1. user prompt2. webFetchRequestQuery(url)3. allowlist check / ask user4. approved5. GET urlcloud IP, UA unconfirmed6. 200 text/html7. HTML → markdown, truncate8. WebFetchResult{markdown}

Cursor: a WebFetch round trip as the bundle implies it

  1. cursor-agent→Cursor backend
    user prompt
  2. Cursor backend→cursor-agent
    webFetchRequestQuery(url)
  3. cursor-agent
    allowlist check / ask user
  4. cursor-agent→Cursor backend
    approved
  5. Cursor backend→Your site
    GET url

    cloud IP, UA unconfirmed

  6. Your site→Cursor backend
    200 text/html
  7. Cursor backend
    HTML → markdown, truncate
  8. Cursor backend→cursor-agent
    WebFetchResult{markdown}
The client handles approval only; the GET and the HTML-to-markdown step are inferred to run in Cursor's cloud. Not yet measured in our lab.

The most detailed behavioural data comes from a third-party test suite that ran 27 tests against 13 URLs with Cursor’s Auto model. It found HTML converted to markdown with navigation stripped (85 KB down to 4.8 KB), JavaScript-heavy single-page apps reduced to extracted content, redirects followed through five hops, an Accept header listing text/markdown first, and output truncated near 28 KB on one backend path. On timeout, the agent sometimes fell back to local curl, which returned raw HTML. That’s useful work, but to be clear, we haven’t reproduced any of these results ourselves.

WebSearchArgs{search_term, tool_call_id} returns WebSearchResult with a list of references, each holding a title, a url and a text chunk verified in code. The model sees passage-level snippets, not whole pages, which to me looks like embedding-style retrieval over a pre-built index and not a list of ten blue links inferred. Web search is off by default for automatic use (autoAcceptWebSearch:false), and subagents receive the message “Web search requires host approval” verified in code.

Cursor doesn’t name its search provider in anything we could retrieve. Cursor’s old @Web docs said the feature builds a query from the user’s message and context, but that page now redirects. Morph’s Exa search API page claims Exa powers Cursor’s search, but we found no first-party confirmation, and no evidence for Perplexity or Parallel as a built-in backend either (both exist as Marketplace plugins). So treat Exa as unverified, and see search backends for how Exa-backed agents such as OpenCode behave.

Cursor: where search and fetch executeDeveloper machineCursor cloudSearch indexYour sitecursor-agentapproval onlyWebSearchtitle, url, chunkProvider indexExa? unverifiedWebFetchreturns markdowndocs.example.comcloud IP, UA unknownShell fallbackcurl on timeoutdocs.example.comcurl/x.y, dev IP1 search approved2 query3 follow-up fetch4 GET (inferred)5 fallback6 GET
Cursor: where search and fetch executeDeveloper machineCursor cloudSearch indexYour sitecursor-agentapproval onlyWebSearchtitle, url, chunkProvider indexExa? unverifiedWebFetchreturns markdowndocs.example.comcloud IP, UA unknownShell fallbackcurl on timeoutdocs.example.comcurl/x.y, dev IP123456
  1. cursor-agent → WebSearchsearch approved
  2. WebSearch → Provider indexquery
  3. WebSearch → WebFetchfollow-up fetch
  4. WebFetch → docs.example.comGET (inferred)
  5. cursor-agent → Shell fallbackfallback
  6. Shell fallback → docs.example.comGET
Search reads a third-party index and never contacts your site at query time; fetch is inferred to come from Cursor's cloud, with local curl as a fallback.

Shell commands are governed separately from the web tools, which matters more than it sounds. The bundle’s sandbox: {mode, networkAccess: "user_config_with_defaults"} setting and the cursorsandbox helper apply to shell only, and shell permissions are stored in ~/.cursor/cli-config.json as entries such as Shell(ls) verified in code. Any curl, npm or git traffic arrives from the developer’s IP with that tool’s own User-Agent.

Cursor’s MCP client sends User-Agent: Cursor/1.0.0 to MCP servers over the streamable HTTP and SSE transports verified in code. That string matches one of the UAs Known Agents attributes to Cursor, so a site that sees Cursor/1.0.0 may be looking at MCP traffic and not a WebFetch call at all inferred. If you run a documentation MCP server, this is the header I’d log.

Cursor’s browser tool, used by computer-use and cloud agents, is a separate path again. A Cursor forum thread shows it sending a Chrome User-Agent together with Web Bot Auth signed headers (Signature-Agent: "https://cursorusercontent.com" and a Signature-Input tagged web-bot-auth with alg="ed25519"), which Cloudflare classified as verifiedBotCategory: AI Assistant. That makes Cursor’s browser one of the few agent paths a site can verify cryptographically, which is very cool.

Since we have no lab data for Cursor yet, the table below combines bundle evidence with third-party reports. Cross-agent signatures are collected on User-Agents and log signatures.

Cursor pathSignature at your originEvidence
WebSearchNothing at query time; a third-party index is queriedinferred
WebFetchRequest from Cursor or cloud IPs; UA unconfirmed (candidates Cursor/1.0.0, Cursor/3.27.12 (darwin arm64), a Chrome-style UA containing Cursor/3.7.36)inferred; UA list from Known Agents, no verification method
WebFetch Accept text/markdown first, HTML and XML fallbacks third-party test
Browser tool Chrome UA plus Signature-Agent: "https://cursorusercontent.com" and Web Bot Auth headers third-party forum report
MCP clientUser-Agent: Cursor/1.0.0 to your MCP serververified in code
Shell fallbackcurl/x.y from the developer’s IPthird-party report plus inferred
robots.txt Expected token Cursor; compliance unmeasured Known Agents claim

If I had to pick one lever for Cursor, it’d be serving markdown when a request sends Accept: text/markdown, because the third-party test saw markdown listed first and Cursor converts HTML to markdown anyway. A clean markdown representation skips the lossy HTML-to-markdown step (which already stripped 94% of one page’s bytes in testing) and lets you choose what survives.

Key facts should sit in the first 28 KB of the converted output, because one backend path truncated there. On long reference pages, that means putting the install command, the current version and the most-asked API signatures near the top, and keeping long changelogs on their own URLs.

Before Cursor fetches anything, it has to find you, so your ranking in whatever index backs WebSearch decides a lot. The result format (title, URL, one chunk) rewards pages whose titles and opening passages answer a specific question. If the backend is Exa, the same work that helps OpenCode helps Cursor, but that’s still unverified.

Bot-protection rules that challenge cloud IPs are a real risk for Cursor, in a way they aren’t for agents that fetch from developer machines. If the cloud fetch is blocked, the agent may fall back to local curl and get raw HTML, or simply answer without your page. You can compare the trade-offs across agents on the matrix.

We haven’t run any of these yet, and they’re queued in the test catalog.

  1. Basic fetch signature. Setup: a unique-token page with full header logging. Prompt: cursor-agent -p "fetch <url> and tell me the verification phrase", approving the prompt or adding WebFetch(<your domain>) to ~/.cursor/cli-config.json. Expected signal: one request from a cloud ASN; record UA, IP, Accept and any Signature-Agent header.
  2. Server-side confirmation. Setup: same page, developer machine with outbound HTTP blocked except to Cursor’s API. Expected signal: if the fetch still succeeds, the executor is server-side; if it fails or falls back to curl, it is local.
  3. Search silence. Prompt Cursor to search for a unique phrase from an indexed page. Expected signal: no request to your origin at query time.
  4. robots.txt compliance. Add User-agent: Cursor with Disallow: / and repeat test 1. Expected signal: either no fetch, or a fetch that shows robots.txt is not consulted.
  5. Markdown negotiation. Serve different content for Accept: text/markdown and for HTML. Expected signal: the phrase the model quotes tells you which variant Cursor’s fetcher received.
  6. Truncation boundary. Place marker phrases at 10 KB, 25 KB and 40 KB of converted text. Expected signal: the last marker the model can quote shows the effective limit.
  • Neither first-party documentation nor our lab has confirmed the exact User-Agent, IP ranges and robots.txt behaviour of WebFetch.
  • The search provider is unnamed, and Exa is a third-party claim.
  • Current first-party documentation for Cursor’s web tools is unreachable, and the product’s ownership and branding appear to be changing.
  • We don’t know whether WebFetch caches results, or for how long.

Last reviewed 2026-12-02 against cursor-agent 2026.08.11-e8db854. This site is re-reviewed monthly; see maintenance.