Skip to content

AI Agent Proxy: Exit IPs for Browser Use, Playwright MCP and n8n

Give each agent its own exit IP — fixed for API calls, local for browsing — and keep its traffic off your servers' address.

Why AI agents need their own proxy

AI agents now browse, call APIs and fill forms on their own, and sites have noticed: Cloudflare reported in July 2026 that more than half of Internet traffic is non-human, and since July 2025 it has blocked AI training crawlers by default on new domains. An agent that shares your production server's IP can get that IP rate-limited or blocked.

A proxy gives each agent a separate, controllable exit: a fixed datacenter IP for tool calls and APIs that allowlist callers, or a household IP in a chosen country when a task has to see the page a local visitor sees. It doesn't change who the agent is — say what it is and follow robots.txt and each site's terms.

Agent frameworks take a proxy directly. Browser Use's ProxySettings has server, bypass, username and password; Playwright MCP reads a proxy from its configuration file (its --proxy-server flag has no password option); n8n's HTTP Request node has a Proxy option that overrides HTTP_PROXY and HTTPS_PROXY. Browser-based agents run on Chromium, which can't authenticate to SOCKS5 — use the HTTP endpoint.

Recommended AI agent setup

Scroll horizontally with the arrow keys to read all content.

Recommended AI agent setup
CriterionChooseWhy
ProductStatic datacenter proxyFixed IP per agent, fastest and priced per IP — fits tool calls, APIs and allowlists
Browsing tasks blocked from serversRotating residential, Choose region / sticky IPA household IP in the task's country, billed per GB
How many IPsOne per agent or per concurrent sessionOne noisy agent can't get the others rate-limited
CountryWhere the content is: US, CA, GB, DE, NL, JP, KR or SG for datacenterLocalized pages and prices differ by country
ProtocolHTTPChromium-based agents can't authenticate to SOCKS5
CredentialsEnvironment variables, never the promptPrompts and agent logs are easy to leak

The button below opens Static Datacenter Proxies with the AI and automation use case. Choose Region, Term, Protocol and Quantity (up to 100 IPs at a time) before you pay.

Which Proxy302 proxy to buy

Scroll horizontally with the arrow keys to read all content.

Which Proxy302 proxy to buy
CriterionStatic ISPRotating residentialDatacenter
What you getA dedicated home-broadband IP that stays yours for the whole termReal household IPs: rotating exits, or a sticky session in a chosen country or cityFast fixed server IPs, HTTP and SOCKS5
PricePer IP and term — live price at checkoutBudget US$1.50/GB (US$1.35/GB at 100 GB); Premium US$5.00/GBPer IP and term — the cheapest per IP
Best for AI agentsAgents that log into one account and must keep its IPBrowsing agents that need a local household IPTool calls, APIs and fast browsing of sites that accept servers

Prices in US dollars. Top up your wallet once and pay any line from it. Nothing renews automatically — renew in My assets to keep an IP.

Set up proxies for AI agents in 5 steps

  1. Choose the region and term

    The button below opens Static Datacenter Proxies (Per IP and term) with the AI and automation use case. Pick the Region, choose a Term and set Protocol to HTTP. Set Quantity to the number of IPs you need (one for each agent or concurrent session, up to 100 at a time). Click Review cost and generate.

  2. Let your coding assistant wire it up

    In My assets, click Copy for AI on a proxy, pick the target — Python, Node.js, curl, Playwright, Puppeteer, Scrapy, AdsPower, BitBrowser or other — and paste the text into Claude Code, Cursor or ChatGPT. The text asks the assistant to configure the proxy in your project and verify the exit IP.

  3. Or set it yourself

    Browser Use: pass ProxySettings to Browser (code below). Playwright MCP: put the proxy in the config file and start npx @playwright/mcp@latest --config playwright-mcp.json. n8n: open the HTTP Request node, add the Proxy option and enter the proxy URL.

  4. Check the exit IP

    Ask the agent to open api.ipify.org and report the IP.

    Expected result The agent reports the proxy's IP, not your server's.

  5. Keep secrets out of prompts

    Store the proxy password in an environment variable or a .env file excluded from git; don't paste it into the agent's task text.

Browser Use agent through an authenticated proxy (Python)

Scroll horizontally with the arrow keys to read all content.

# pip install browser-use   (model and API key setup: docs.browser-use.com)
import asyncio
import os
from browser_use import Agent, Browser, ChatOpenAI
from browser_use.browser.profile import ProxySettings

browser = Browser(
    proxy=ProxySettings(
        server=f"http://{os.environ['PROXY_HOST']}:{os.environ['PROXY_PORT']}",  # HTTP endpoint
        username=os.environ["PROXY_USER"],
        password=os.environ["PROXY_PASS"],
        bypass="localhost,127.0.0.1",
    )
)


async def main():
    agent = Agent(
        task="Open https://api.ipify.org?format=json and report the IP address it shows",
        llm=ChatOpenAI(model=os.environ["LLM_MODEL"]),
        browser=browser,
    )
    history = await agent.run()
    print(history.final_result())  # should be the proxy's exit IP


asyncio.run(main())

Syntax-checked. ProxySettings and its server, bypass, username and password fields come from Browser Use's source (version 0.13.13 on GitHub); model setup follows the Browser Use docs.

Playwright MCP config with a password-protected proxy

Scroll horizontally with the arrow keys to read all content.

{
  "browser": {
    "browserName": "chromium",
    "launchOptions": {
      "proxy": {
        "server": "http://HOST:PORT",
        "username": "USERNAME",
        "password": "PASSWORD"
      }
    }
  }
}

Save as playwright-mcp.json and start the server with npx @playwright/mcp@latest --config playwright-mcp.json. The proxy object is Playwright's launch option, so username and password work here, unlike the --proxy-server flag. JSON validated.

Quick fixes

The agent's browser shows your own IP

Check Is the proxy set on the Browser the agent actually uses? Is the target in the bypass list?

Fix Pass ProxySettings to that Browser and keep bypass to localhost only.

407 in Playwright MCP

Check Is the password-protected proxy given through --proxy-server?

Fix Move it to the config file's launchOptions.proxy with username and password.

n8n requests skip the proxy

Check Is the Proxy option set on that HTTP Request node?

Fix Set it on the node; it overrides HTTP_PROXY and HTTPS_PROXY for that request.

A site keeps blocking the agent

Check Does the site block AI agents or crawlers on purpose?

Fix Respect the block: use the site's API or ask for access. A different IP doesn't change the site's rules.

AI agent proxy FAQ

Do AI agents need proxies?

When they call APIs that allowlist IPs, run many sessions in parallel, need a country-specific view, or shouldn't share your server's IP — yes. One proxy per agent keeps their traffic and limits apart.

Datacenter or residential for an AI agent?

Datacenter for tool calls, APIs and sites that accept server IPs — fixed, fast and cheap per IP. Rotating residential for browsing tasks on sites that block servers.

How do I add a proxy to Browser Use?

Create ProxySettings(server, username, password, bypass) from browser_use.browser.profile and pass it as proxy= to Browser, as in the code above.

Can Playwright MCP use a proxy with a password?

Yes, through the configuration file: put proxy with server, username and password under browser.launchOptions. The --proxy-server flag only takes a server address.

What does Copy for AI do?

It turns a proxy from My assets into instructions for your coding assistant, for the tool you pick, including how to verify the exit IP — so the assistant can set it up for you.

Sources and verification

8
  1. Cloudflare blog — Content Independence Day, one year on (July 2026)

    Third-party source · Checked:

  2. Browser Use source — ProxySettings (server, bypass, username, password)

    Official documentation · Checked:

  3. Playwright MCP — README: --proxy-server and configuration file

    Official documentation · Checked:

  4. n8n docs — HTTP Request node: Proxy option

    Official documentation · Checked:

  5. Chromium — Proxy support in Chrome

    Official documentation · Checked:

  6. Proxy302 console — My assets → Copy for AI

    Product observation · Checked:

    In My assets, Copy for AI writes step-by-step instructions for a coding assistant (Claude Code, Cursor, ChatGPT and similar) for Python, Node.js, curl, Playwright, Puppeteer, Scrapy, the AdsPower local API, BitBrowser or other software; the instructions tell the assistant to keep the password in an environment variable and to verify the exit IP. Seen in the live console on 2026-10-18.

  7. Proxy302 pricing

    Product observation · Checked:

    Rotating residential per-GB prices as published on the pricing page and used by the console (Budget US$1.50/GB, US$1.35/GB in the 100 GB package; Premium US$5.00/GB; 1 PTC = US$1). Static ISP and datacenter IPs are quoted live per IP and term.

  8. Proxy302 console — Static Datacenter Proxies

    Product observation · Checked:

    Option names, billing modes and limits as shown in the live console on 2026-10-18: Line (Premium/Budget), Exit mode, Region, State, City, Protocol (HTTP/SOCKS5), Quantity (1–500), Term, Auto-renew IP (not yet available), My assets → Copy / Rotate / Renew / Copy for AI. Rotating residential connects through proxy.proxy302.com:2222 (HTTP) and :3333 (SOCKS5). Static datacenter IPs were sold in 8 countries on 2026-10-18 (read-only check of the production catalogue): US, CA, GB, DE, NL, JP, KR, SG.

Ready to connect?

Create an account, top up once and pick rotating residential, static ISP or datacenter. Rotating residential exits cover 195+ countries and regions.