Proxy302

Registre officiel IA et agents

Residential proxies for AI agents: usage, proxy URLs by country, IP purity checks and cost quotes.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http proxy302 'https://mcp.proxy302.com/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "proxy302": {
            "type": "http",
            "url": "https://mcp.proxy302.com/mcp"
        }
    }
}
Remote (streamable-http)
Claude Code
claude mcp add --transport http proxy302 'https://proxy302.com/v1/mcp' --header 'Authorization: <Your Proxy302 API key from the console, sent as Bearer <key id>:<secret>>'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "proxy302": {
            "type": "http",
            "url": "https://proxy302.com/v1/mcp",
            "headers": {
                "Authorization": "<Your Proxy302 API key from the console, sent as Bearer <key id>:<secret>>"
            }
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. proxy302-mcp
  2. Hosted server (no install)
  3. Run it locally
  4. Tools
  5. Examples
  6. Configuration
  7. Development
  8. License

proxy302-mcp

Official Proxy302 MCP server, built and maintained by the Proxy302 team. For account, billing or connection questions contact Proxy302 support; for bugs in this server, open a GitHub issue.

Give your AI assistant a real residential-proxy toolbox. proxy302-mcp is a Model Context Protocol server for Proxy302: check your traffic and usage, browse countries and plans, get a rotating residential proxy URL for any country, list your proxies and static IPs, and fetch a web page through a proxy, all from Claude Code, Claude Desktop, Cursor or any MCP client.

中文说明

v1 is deliberately read-only and spend-free: it never buys, renews or tops up anything. The one write it can do (creating a dynamic proxy credential) is free, off by default, and only bills traffic when you actually use it.

Hosted server (no install)

Proxy302 also runs this server for you. Create an API key in the Proxy302 console first.

Sign in with OAuth: add https://mcp.proxy302.com/mcp as a custom connector in Claude, ChatGPT or any client that supports MCP sign-in, and paste your API key once in the sign-in window. In Claude Code:

claude mcp add --transport http proxy302 https://mcp.proxy302.com/mcp

Then run /mcp in Claude Code to sign in.

Or send the key as a header: use https://proxy302.com/v1/mcp with Authorization: Bearer <key id>:<secret>.

claude mcp add --transport http proxy302 https://proxy302.com/v1/mcp --header "Authorization: Bearer <key id>:<secret>"

Cursor (~/.cursor/mcp.json):

{
  "mcpServers": {
    "proxy302": {
      "url": "https://proxy302.com/v1/mcp",
      "headers": { "Authorization": "Bearer <key id>:<secret>" }
    }
  }
}

The hosted server has the same tools except fetch_url, plus rotate_ip (fresh exit IP for sticky proxies), check_ip_purity (blocklist score of your static IPs, or of the IPs a location would hand out next) and estimate_cost (quote a plan against your wallet). It never spends money either.

Run it locally

  1. Create an API key in the Proxy302 console and note its key id and secret.
  2. Install:
claude mcp add proxy302 -e PROXY302_API_KEY="<key id>:<secret>" -- npx -y github:proxy302/proxy302-mcp

Requires Node.js 20+.

Bonus: Proxy302 credits 1 PTC to paid accounts the first time a call through proxy302-mcp succeeds (once per account).

Claude Desktop

claude_desktop_config.json:

{
  "mcpServers": {
    "proxy302": {
      "command": "npx",
      "args": ["-y", "github:proxy302/proxy302-mcp"],
      "env": { "PROXY302_API_KEY": "<key id>:<secret>" }
    }
  }
}
Cursor

~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "proxy302": {
      "command": "npx",
      "args": ["-y", "github:proxy302/proxy302-mcp"],
      "env": { "PROXY302_API_KEY": "<key id>:<secret>" }
    }
  }
}

Tools

ToolWhat it does
get_account_usageAccount, wallet (PTC) balance, remaining prepaid traffic, per-pool balance and daily usage for the last N days
list_countriesCountries you can target, with ids and ISO codes (name filter)
list_regionsStates of a country, or cities of a state
list_productsProduct lines and static IP plans (data center and residential)
get_dynamic_proxyA ready http://user:pass@host:port rotating residential URL for a country (state/city where supported). Reuses an existing proxy; create_if_missing=true creates one
list_my_proxiesYour dynamic proxies and static IPs, passwords masked unless asked
fetch_urlRequest a URL through your proxy (optionally from a given country) and return Markdown, text or raw

Not in v1, on purpose: purchases, renewals, top-ups.

Examples

Ask your assistant:

  • "How much proxy traffic do I have left, and what did I use this week?"
  • "Which countries can I use? Get me a Germany proxy."
  • "Fetch https://example.com/pricing from a US exit and summarise it."
  • "List my static IPs that expire in the next 7 days."
Use the proxy in Playwright

get_dynamic_proxy returns host, port, username and password:

import { chromium } from 'playwright';

const browser = await chromium.launch({
  proxy: { server: 'http://HOST:PORT', username: 'USERNAME', password: 'PASSWORD' },
});
const page = await browser.newPage();
await page.goto('https://ipinfo.io/json');
console.log(await page.textContent('body'));
Use the proxy in browser-use
from browser_use import Agent, Browser, BrowserConfig

browser = Browser(config=BrowserConfig(
    proxy={"server": "http://HOST:PORT", "username": "USERNAME", "password": "PASSWORD"},
))
agent = Agent(task="Open ipinfo.io and tell me the country", llm=llm, browser=browser)

fetch_url is a plain HTTP request without JavaScript rendering. For JavaScript-heavy sites, hand the proxy URL to a browser as above.

Configuration

VariableMeaning
PROXY302_API_KEYRequired. <key id>:<secret>, or a Basic ... token
PROXY302_API_SECRETOptional; use with PROXY302_API_KEY holding only the key id
PROXY302_BASE_URLOptional; default https://proxy302.com

Credentials are read from the environment only. Never commit them. Requests identify themselves with User-Agent: proxy302-mcp/<version> and X-Proxy302-Client.

Development

npm install
npm run build
npm test
PROXY302_API_KEY="<id>:<secret>" npm run smoke   # read-only checks against the live API

License

MIT

Questions fréquentes

Qu'est-ce que Proxy302 ?

Residential proxies for AI agents: usage, proxy URLs by country, IP purity checks and cost quotes.

Comment installer Proxy302 ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http proxy302 'https://mcp.proxy302.com/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Proxy302 ?

Oui. Il attend Authorization, à renseigner dans sa configuration.

Proxy302 est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Proxy302 ?

Il est publié par proxy302. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.