IpnProxy MCP

Manage residential, datacenter and mobile proxies from your AI assistant: generate proxy lists, rotate IPs, check usage, buy plans within spend limits and fetch pages through proxies.

Documentation

Connect IpnProxy to your AI assistant with the MCP server

Connect IpnProxy to your AI assistant with the MCP server

The IpnProxy MCP server lets AI assistants manage your proxies and browse the web through them. Ask in plain language:

  • “How much residential traffic do I have left, and when will it run out at this rate?”
  • “Give me 20 sticky US proxies in New York, in user:pass@host:port format.”
  • “Rotate the IP on port 11003.”
  • “Open this product page through a German residential IP and summarize the price.”

The same key also works with the REST API for your own scripts.

1. Create an API key

  1. Open Dashboard → API Keys.
  2. Give the key a name (e.g. Claude Desktop) and choose its permissions:
PermissionAllows
Read (always on)Balance, orders, usage, locations, generating proxy lists, fetching pages through your proxies
ManageRotating IPs, rebooting, changing allowed / whitelisted IPs, resetting the residential proxy password
OrdersBuying bandwidth and plans, extending proxies — paid from your balance only and capped by a daily spend limit you set
  1. Copy the key. It is shown once; we only store a fingerprint of it.

Treat the key like a password. If it leaks, revoke it in Dashboard → API Keys — it stops working immediately.

2. Connect your AI assistant

The server runs on your computer with Node.js 20.18 or newer.

  • Claude Code
  • Claude Desktop
  • Cursor
  • Other clients
claude mcp add ipnproxy --env IPNPROXY_API_KEY=ipn_live_YOUR_KEY -- npx -y @ipnproxy/mcp-server

Open Settings → Developer → Edit Config and add:

{
  "mcpServers": {
    "ipnproxy": {
      "command": "npx",
      "args": ["-y", "@ipnproxy/mcp-server"],
      "env": { "IPNPROXY_API_KEY": "ipn_live_YOUR_KEY" }
    }
  }
}

Restart Claude Desktop.

Add the same block to ~/.cursor/mcp.json (or Settings → MCP → Add new server).

Any MCP client that supports stdio servers works: run npx -y @ipnproxy/mcp-server with the IPNPROXY_API_KEY environment variable.

Tools

The assistant only sees the tools your key is allowed to use.

Account

ToolWhat it does
get_accountBalance, key permissions and daily spend limit
list_ordersOrders across all products
list_plansPlans and prices of a product

Residential

ToolPermissionWhat it does
residential_get_planReadCredentials, total / used / remaining GB
residential_get_usageReadTraffic and requests per hour or day
residential_list_countriesReadAvailable countries
residential_list_targetsReadStates, cities, ZIP codes and ASNs inside a country
residential_generate_proxiesReadProxy lines, identical to the dashboard generator
residential_list_allowed_ipsReadIPs allowed without a password
residential_rotate_ipManageNew IP for one sticky port
residential_add_allowed_ip / residential_remove_allowed_ipManageEdit allowed IPs
residential_reset_passwordManageNew proxy password (old proxy lines stop working)
residential_buy_bandwidthOrdersBuy GB with your balance

Sticky sessions are port based. Each sticky line uses its own port starting at 11000; rotate a session by its port. Rotating proxies get a new IP on every request.

Premium datacenter

ToolPermissionWhat it does
datacenter_list_ordersReadActive orders, threads and expiry
datacenter_list_countriesReadAvailable countries
datacenter_generate_proxiesReadRotating or sticky proxy lines for an order
datacenter_buyOrdersBuy a plan with your balance

Mobile

ToolPermissionWhat it does
mobile_list_ordersReadActive orders
mobile_get_proxiesReadEndpoints of an order
mobile_list_locations / mobile_list_carriersReadAvailable locations and carriers
mobile_update_whitelist_ipManageChange the whitelisted IP (once per 30 minutes)
mobile_buyOrdersBuy ports with your balance

Premium mobile

ToolPermissionWhat it does
premium_mobile_list_ordersReadActive proxies with credentials and expiry
premium_mobile_rotate_ipManageChange the IP
premium_mobile_rebootManageReboot the device
premium_mobile_set_rotation_intervalManageAutomatic IP change every N minutes
premium_mobile_extendOrdersExtend by one period with your balance

Browsing and testing (run on your computer)

ToolWhat it does
fetch_urlFetches a page through a proxy and returns markdown, text or HTML. Uses a rotating residential proxy in the country you choose, or any proxy line you pass.
check_ipShows the public IP a proxy exits from
test_proxySuccess rate, latency and exit IPs of a proxy

fetch_url does not run JavaScript and caps pages at 5 MB. Traffic counts towards your plan.

Safety

  • Spending is opt-in. Paid tools exist only for keys with the Orders permission, pay from your balance only, and stop at the key’s daily limit.
  • Price confirmation. Every paid tool requires max_price: the assistant has to show you the price first, and the purchase is refused if the real price is higher.
  • Untrusted pages. Pages fetched with fetch_url are marked as untrusted content so the assistant does not follow instructions hidden in them.
  • Emails. You get an email whenever a new API key is created on your account.

REST API

Base URL: https://api.ipnproxy.com/api/v1 — send the key as Authorization: Bearer ipn_live_YOUR_KEY (or X-API-Key).

curl https://api.ipnproxy.com/api/v1/residential/proxies \
  -H "Authorization: Bearer ipn_live_YOUR_KEY" \
  -G -d type=sticky -d country=us -d quantity=5 -d format=user:pass@host:port
MethodPathPermission
GET/account, /orders, /products/{product}/plansRead
GET/residential, /residential/usage, /residential/countries, /residential/targets, /residential/proxies, /residential/allowed-ipsRead
POST/residential/rotate-ip, /residential/allowed-ips, /residential/reset-password · DELETE /residential/allowed-ipsManage
POST/residential/buyOrders
GET/premium-datacenter/orders, /premium-datacenter/countries, /premium-datacenter/proxiesRead
POST/premium-datacenter/buyOrders
GET/mobile/orders, /mobile/orders/{id}/proxies, /mobile/locations, /mobile/carriersRead
POST/mobile/buyOrders
POST/mobile/orders/{id}/whitelist-ipManage
GET/premium-mobile/ordersRead
POST/premium-mobile/orders/{id}/rotate, /reboot, /rotation-timeManage
POST/premium-mobile/orders/{id}/extendOrders

{product} is one of residential, premium-datacenter, mobile, premium-mobile.

Limits: 120 requests per minute per key; 20 per minute for changes and purchases.

Errors are JSON with a message: 401 invalid or revoked key · 403 missing permission or daily spend limit reached · 402 insufficient balance · 409 price above max_price · 422 validation error · 429 too many requests.