Cursor proxy
Cursor proxy settings on a fixed static ISP IP: http.proxy, HTTP/1.1 compatibility mode and a US exit — the region Cursor uses to decide which models you see.
View options and pricingHow to set up a proxy in Cursor: the http.proxy setting, an address with a username and password, HTTP/1.1 mode and a check with Run Diagnostics, and what a proxy does not change.
This article is about network setup, not about whether a service is available. The Regions section of the Cursor documentation says some model providers restrict access by location: models that are not available in your region do not appear in Cursor, and if a provider blocks a region, calls can fail even with your own key. Cursor's Terms of Service (version of 3 September 2026, section 17.5) require you to follow applicable trade law, including sanctions and export controls. A proxy does not make Cursor available where it is not, and it does not change those terms.
The Cursor documentation does not describe the http.proxy setting. It is a standard VS Code setting, and the Cursor proxy settings page uses it. Because the documentation does not describe it, do not treat it as working until the check below confirms it. To add it, open the command palette (Ctrl+Shift+P or Cmd+Shift+P), choose Preferences: Open User Settings (JSON), add the block shown here, then close Cursor completely and open it again.
{
"http.proxy": "http://USERNAME:PASSWORD@HOST:PORT",
"http.proxySupport": "override"
}Replace HOST, PORT, USERNAME and PASSWORD with the values from My assets.
If the username or password contains special characters, percent-encode them in the address: @ becomes %40, : becomes %3A, / becomes %2F, # becomes %23 and % becomes %25. Without this the address is parsed wrongly and the proxy answers with an authentication error. The easiest way to avoid typos is to copy the details from My assets instead of typing them.
The VS Code documentation says proxies with authentication are supported (Basic, Digest, NTLM and Negotiate), while authentication for SOCKS5 is not implemented yet. So for a proxy with a username and password, choose HTTP. The Cursor documentation says nothing about SOCKS5.
Cursor uses HTTP/2 for streaming responses, and some proxies do not pass it through. According to the Cursor documentation, the fix is to set HTTP Compatibility Mode to HTTP/1.1 in Cursor Settings → Network and restart Cursor. The network configuration section of the documentation also says that when streaming has problems, Cursor switches by itself to HTTP/1.1 Server-Sent Events mode.
The tool checks the connection to Cursor's servers and shows problems that affect the AI features.
It shows the IP, country and network that websites see. The guide on how to check your proxy's IP, country and ISP explains how to read the ip, country, city and org fields.
*.cursor.sh, *.cursor-cdn.com and *.cursorapi.com.
curl -x http://USERNAME:PASSWORD@HOST:PORT https://ipinfo.io/jsonReplace HOST, PORT, USERNAME and PASSWORD with the values from My assets.
• 407 Proxy Authentication Required. The proxy rejected the username or password. Copy the details again instead of typing the password, and check the percent-encoding.
• Certificate errors. These can happen only with a proxy that replaces certificates. The VS Code documentation names adding the proxy's certificate to the operating system's trusted certificates as the preferred option. Turning certificate checks off is not advised: the documentation calls that approach dangerous.
• Timeouts. The proxy does not answer on the port, or the IP lease has ended. Check it with the curl command above.
• A streaming response hangs. Switch HTTP Compatibility Mode to HTTP/1.1.
MCP adds tools to Cursor. With the proxy302-mcp server, the Cursor agent can get a Proxy302 proxy and fetch pages through it. Add the entry below to ~/.cursor/mcp.json to have it in every project, or to .cursor/mcp.json inside one project.
proxy302-mcp is the official Proxy302 MCP server, open source on GitHub and maintained by the Proxy302 team. Proxy302 also runs it at https://proxy302.com/v1/mcp: clients that can send an Authorization header, such as Claude Code, Cursor and VS Code, connect with an API key and install nothing.
This is a separate setting from the proxy on this page. The proxy in Cursor's network settings decides how Cursor itself connects; the MCP server's tools have their own settings, and installing the server does not change how Cursor connects. The guide to the Proxy302 MCP server covers the tools, the other clients and the limits.
{
"mcpServers": {
"proxy302": {
"command": "npx",
"args": [
"-y",
"github:proxy302/proxy302-mcp"
],
"env": {
"PROXY302_API_KEY": "<key id>:<secret>"
}
}
}
}File ~/.cursor/mcp.json (or .cursor/mcp.json in a project). Replace <key id>:<secret> with your Proxy302 API key.
A static ISP proxy fits when you need one permanent address: the IP is fixed for the whole lease and does not change, and you choose HTTP at purchase. The Cursor proxy settings page has the details and a ready preset, and the product itself is described on the static residential proxies page. The table below is our latest hourly check of Cursor through exits in seven countries, with the network of each exit and the response time of the site.
| Item | Network (ISP) | ASN | Response, ms |
|---|---|---|---|
| United States | Verizon Business | AS5650 | 2339 |
| United Kingdom | British Telecommunications Limited | AS2856 | 855 |
| Germany | Marco Bungalski GmbH | AS59790 | 1020 |
| Japan | Sony Network Communications Inc. | AS2527 | 969 |
| Singapore | MobileOne Ltd. Mobile/Internet Service Provider Singapore | AS4773 | 604 |
| Brazil | Claro NXT Telecomunicacoes Ltda | AS28573 | 3010 |
| Indonesia | PT INDONESIA COMNETS PLUS | AS9341 | 665 |
Hourly check of the Proxy302 probe, 22 October 2026, 14:18 UTC: one request to Cursor per country through a dynamic residential exit, using the public Proxy302 entry. Only the first three octets of an IP are public. One sample per country, not an average; later checks will differ.
Open the static ISP page, choose the country, set Protocol to HTTP, choose the term and the quantity, then review the cost and generate.
Open My assets and copy HOST, PORT, USERNAME and PASSWORD. The Tools & checks page shows a ready example with your own details. HTTP uses port 2222.
Put the values into http.proxy as shown above and restart Cursor.
Check the exit with the curl request and with Run Diagnostics.
A static ISP IP costs US$0.50 for one day and US$7.99 for 30 days, about US$0.27 per day, the same in every country. Availability by country changes daily and is shown on the order page. There is no free trial, and the smallest purchase is one IP for one day.
| Item | Price | Protocols | Locations | Fits agent work like |
|---|---|---|---|---|
| Rotating residential | From US$1.50 per GB (Budget line); US$5 per GB (Premium line); lower per GB in larger packages | HTTP, SOCKS5 | 195+ countries and regions; state and major city on lines that support it | Browsing and research agents, data collection |
| Static ISP, per IP | US$0.50 for 1 day, US$7.99 for 30 days, the same in every country | HTTP or SOCKS5, chosen per IP | 30 countries on the order form; stock changes daily | One fixed IP for each account an agent signs in to |
| ISP for AI subscriptions | Per 30 days: Claude 15 PTC, GPT / Grok 10 PTC, Gemini 8 PTC; the first order in each tier is 50% off | HTTP or SOCKS5 | Claude: US, UK, DE, JP. GPT / Grok: US, UK, FR, JP, KR. Gemini: US, UK, FR, JP | Coding tools and agents signed in to ChatGPT, Claude, Gemini or Grok |
| Datacenter, per IP | US$0.25 for 1 day, US$3.99 for 30 days | HTTP or SOCKS5, chosen per IP | 8 countries | API calls and tool traffic where the IP type does not matter |
| proxy302-mcp | Free, open source (MIT) | MCP over stdio, started with npx | Uses the products above | Lets Claude Code, Codex, Cursor and other MCP clients get a proxy and fetch pages through it |
Prices are in PTC, paid from the wallet; 1 PTC = US$1. There is no free trial: the smallest purchase is 1 GB of rotating residential traffic or one IP for one day. Checked on 4 November 2026.
HTTP. The VS Code documentation says authentication for SOCKS5 is not implemented yet, so for a proxy with a username and password use HTTP.
The proxy rejected the username or password. Copy the details again from My assets and percent-encode any special characters.
It is a switch in Cursor Settings → Network. HTTP/1.1 mode is needed when the proxy does not pass HTTP/2, which Cursor uses for streaming responses.
No. A proxy changes only the network exit. The regional restrictions of model providers and Cursor's Terms of Service still apply.
Official documentation · Confirmed on:
Read on 22 October 2026: models of providers with location-based restrictions do not appear in Cursor, and calls can fail even with your own key if the provider blocks your region.
Official documentation · Confirmed on:
Read on 22 October 2026: section 17.5 (Export and Trade Controls) requires you to comply with applicable trade laws, including sanctions and export control laws.
Official documentation · Confirmed on:
Read on 22 October 2026: authenticated proxies (Basic, Digest, NTLM, Negotiate), SOCKS5 proxy authentication not implemented yet, and the OS trust chain as the preferred way to trust a proxy certificate.
Describes VS Code, on which Cursor is built. It does not describe the http.proxy setting itself, and Cursor's own documentation does not either: test the setting with Run Diagnostics.
Official documentation · Confirmed on:
Read on 22 October 2026: HTTP/2 streaming by default, the automatic fallback to HTTP/1.1 Server-Sent Events, and the domains to allow through a firewall.
Official documentation · Confirmed on:
Read on 22 October 2026: Cursor Settings → Network → Run Diagnostics, HTTP Compatibility Mode set to HTTP/1.1 for proxies that block HTTP/2, and the domains to allow.
Product observation · Confirmed on:
Product facts file of the site (values checked against the console, the backend and the price table on 18-19 October 2026): products, prices in US$ (1 PTC = US$1), lease terms, protocols and ports, countries, quantity limits, no free trial.
Product observation · Confirmed on:
Public JSON of the probe at proxy302.com/live/connectivity/cursor.json, read 22 October 2026, 14:18 UTC: one request per exit country through a dynamic residential exit; exit city, ASN, network and response time.
Official documentation · Confirmed on:
Read on 4 November 2026: ~/.cursor/mcp.json for all projects, .cursor/mcp.json for one project, and the mcpServers entry with command, args and env.
Product observation · Confirmed on:
README of the official Proxy302 MCP server: install commands, environment variables, the seven tools, the read-only, spend-free scope and the hosted endpoint https://proxy302.com/v1/mcp.
Product observation · Confirmed on:
Public JSON at proxy302.com/v1/proxy/ai-isp/catalog, read 4 November 2026: three tiers (Claude, GPT / Grok, Gemini), price per 30 days in PTC, 50% off the first order in a tier, cities by country.
Create an account, top up once, then pick rotating residential, static ISP or datacenter IPs and have one running in your browser within minutes.