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.
At a glance
Section titled “At a glance”| cursor-agent 2026.08.11 | |
|---|---|
| Fetch tool | WebFetch, takes one url, returns {url, markdown, output_location} verified in code |
| Search tool | WebSearch, takes search_term, returns references of {title, url, chunk} verified in code |
| Who issues the request | Cursor’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 model | Approval prompt per fetch, webFetchDomainAllowlist, WebFetch(<domain>) permission entries, autoAcceptWebSearch default false verified in code |
How fetching works
Section titled “How fetching works”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 it
- cursor-agent→Cursor backend
user prompt - Cursor backend→cursor-agent
webFetchRequestQuery(url) - cursor-agent
allowlist check / ask user - cursor-agent→Cursor backend
approved - Cursor backend→Your site
GET urlcloud IP, UA unconfirmed
- Your site→Cursor backend
200 text/html - Cursor backend
HTML → markdown, truncate - Cursor backend→cursor-agent
WebFetchResult{markdown}
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.
How searching works
Section titled “How searching works”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-agent → WebSearch
search approved - WebSearch → Provider index
query - WebSearch → WebFetch
follow-up fetch - WebFetch → docs.example.com
GET (inferred) - cursor-agent → Shell fallback
fallback - Shell fallback → docs.example.com
GET
Other paths to your content
Section titled “Other paths to your content”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.
What shows up in your logs
Section titled “What shows up in your logs”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 path | Signature at your origin | Evidence |
|---|---|---|
WebSearch | Nothing at query time; a third-party index is queried | inferred |
WebFetch | Request 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 client | User-Agent: Cursor/1.0.0 to your MCP server | verified in code |
| Shell fallback | curl/x.y from the developer’s IP | third-party report plus inferred |
| robots.txt | Expected token Cursor; compliance unmeasured |
Known Agents claim |
What this means for discoverability
Section titled “What this means for discoverability”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.
Tests to run against this agent
Section titled “Tests to run against this agent”We haven’t run any of these yet, and they’re queued in the test catalog.
- 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 addingWebFetch(<your domain>)to~/.cursor/cli-config.json. Expected signal: one request from a cloud ASN; record UA, IP,Acceptand anySignature-Agentheader. - 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. - Search silence. Prompt Cursor to search for a unique phrase from an indexed page. Expected signal: no request to your origin at query time.
- robots.txt compliance. Add
User-agent: CursorwithDisallow: /and repeat test 1. Expected signal: either no fetch, or a fetch that shows robots.txt is not consulted. - Markdown negotiation. Serve different content for
Accept: text/markdownand for HTML. Expected signal: the phrase the model quotes tells you which variant Cursor’s fetcher received. - 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.
Open questions
Section titled “Open questions”- 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
WebFetchcaches results, or for how long.
Further reading
Section titled “Further reading”- Agent ecosystem testing: Cursor web fetch findings
- Cursor forum: Web Bot Auth headers from Cursor’s browser
- Known Agents: Cursor
- Morph: Exa search API
Last reviewed 2026-12-02 against cursor-agent 2026.08.11-e8db854. This site is re-reviewed monthly; see maintenance.