Proxies Sx Mcp Server

io.github.bolivian-peru由 GitHub 帳號 bolivian-peru 發布v3.2.0更新於 Oct 30, 2026

Residential and mobile proxies and Private modems for AI agents: proxy URLs, stock, rotation, top-up

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取雲端與基礎設施商業與電商

概覽

AI 產生的概覽

讓助理查詢住宅與行動代理庫存、產生輪換或黏性代理 URL,並購買與管理 Proxies.sx 的代理流量與數據機。

可以做什麼
  • 查詢即時代理庫存,以及各國家可用的城市、電信商與 IP 類別
  • 產生可直接使用的 HTTP 或 SOCKS5 閘道代理 URL,並解釋閘道錯誤碼
  • 讀取代理憑證、用量、工作階段與帳戶餘額,並可設定代理密碼
  • 瀏覽、報價、租用、續約與輪換專用 4G/5G 數據機,並透過付款連結儲值餘額
  • 管理專用連接埠、私有集區與保留 IP,並建立或查看支援工單
適用情境
適合需要讓助理透過住宅或行動代理進行網頁擷取、資料蒐集或瀏覽器自動化的情境,也適合在購買前查詢代理可用性與價格。已有 Proxies.sx 帳戶時,也可用來管理流量、數據機與連接埠。
執行需求
可使用託管端點,或在本地以 npx 執行 npm 套件(需 Node.js 18 或更新版本)。需要 Proxies.sx 帳戶與 psx_ API 金鑰,透過 Authorization 標頭或 PROXIES_API_KEY 提供,或以 PROXIES_EMAIL 搭配 PROXIES_PASSWORD;沒有金鑰時只會列出公開工具。選用的 x402 錢包模式需要 AGENT_WALLET_KEY 與 BASE_RPC_URL。需能連線至 Proxies.sx API。
安裝前請注意
此伺服器可以花錢:租用數據機、續約與刷卡儲值都需要 confirm: true 和已報價的美元金額,儲值另有每日消費上限。AGENT_WALLET_KEY 是 Base 網路上 USDC 錢包的私鑰,僅支援本地執行,託管伺服器不會保存。相關工具可輪換 IP、變更代理密碼、刪除連接埠與關閉工作階段。代理憑證、出口 IP 與公開的集區金鑰都屬敏感資訊;錯誤訊息中的金鑰與密碼會被遮蔽,但仍不應公開。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Proxies Sx Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.bolivian-peru%2Fproxies-sx-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "proxies-sx": {
      "type": "http",
      "url": "https://api.proxies.sx/mcp"
    }
  }
}

README

@proxies-sx/mcp-server

[npm version] [License: MIT] [Proxies.sx MCP server on Glama]

MCP (Model Context Protocol) server for Proxies.sx: residential and mobile proxies for AI agents, metered per GB. Claude, Cursor and any MCP client can get rotating or sticky HTTP/SOCKS5 proxy URLs, check live stock per country, rotate IPs and manage usage by themselves, for web scraping, data collection and browser automation.

The main product is the Pool Gateway: one endpoint, gw.proxies.sx (HTTP 7000, SOCKS5 7001), where the proxy username says which pool, country and session you want. With this server an agent reads live stock, gets its credentials, builds the proxy URL, watches usage and opens a support ticket when something is wrong. For a dedicated, unlimited-traffic device it rents a Private modem (one 4G/5G modem, by the day, week or month) and tops up the balance by card through a link a person pays. It can also manage dedicated ports on carrier modems, Private Pools and Reserved IPs.

Every tool carries MCP annotations (readOnlyHint, destructiveHint), so a client can ask before a delete, rotate, cancel or purchase. The tools that spend money do nothing until the agent passes confirm: true, which it sets only after the user agreed to the exact USD amount.

Quick start

  1. Create an API key at client.proxies.sx/account and add traffic (GB) at client.proxies.sx/purchase.
  2. Add the server to your client. Claude Code:
bash
claude mcp add proxies-sx -e PROXIES_API_KEY=psx_your_api_key_here -- npx -y @proxies-sx/mcp-server

Or install it as a Claude Code plugin, which connects to the hosted server below, adds the Proxies.sx skill and asks for your API key once (stored masked in secure storage):

/plugin marketplace add bolivian-peru/proxies-sx-mcp-server/plugin install proxies-sx@proxies-sx

Or connect to the hosted server, with nothing to install: https://api.proxies.sx/mcp (Streamable HTTP). Send the key as Authorization: Bearer psx_...; without a key only the public tools are listed (stock, proxy URL format, error help, service status).

bash
claude mcp add --transport http proxies-sx https://api.proxies.sx/mcp --header "Authorization: Bearer psx_your_api_key_here"
json
{ "mcpServers": { "proxies-sx": { "url": "https://api.proxies.sx/mcp", "headers": { "Authorization": "Bearer psx_your_api_key_here" } } } }

Add ?toolset=full to the URL for every API-key tool. The x402 wallet mode runs only locally (npx), because the hosted server never holds a wallet key.

  1. Ask for a proxy:

Check Pool Gateway stock for Germany, then give me a sticky residential proxy URL there.

The agent calls pool_get_stock, pool_get_my_credentials and pool_build_proxy_url and answers with a URL such as http://psx_abc123-peer-de-iptype-residential-sid-job1-rot-sticky:[email protected]:7000.

API key scopes

A customer key can hold: ports:read, ports:write, ports:rotate, billing:read, account:read, account:write, traffic:read, tickets:read, tickets:write. Select all of them for the full customer tool set. Two opt-in scopes are never in the default set and must be ticked on purpose: modems:purchase (proxies_modem_buy, proxies_modem_renew) and billing:topup (proxies_topup_checkout, proxies_topup_status; each key has a daily top-up cap, spendCapUsdPerDay, default 100 USD, set in the dashboard).

  • billing:write is not available to customer keys. The tools that need it (purchase_shared_traffic, create_crypto_payment, cancel_crypto_payment) work with reseller and admin keys only; a customer buys traffic in the dashboard.
  • The pak_ key tools (pool_mint_key and the other pool_*_key tools) need a reseller account, whose keys hold customers:read and customers:write.
  • The ops_* tools answer only to admin keys with ops:* scopes.

Pool Gateway rules

The username grammar is psx_<account>-<pool>-<country>[-token-value ...]. pool_build_proxy_url writes it for you; these are the rules behind it.

  • Two pools. peer is the main network: residential and mobile devices in most countries. mbl is carrier modems in exactly six countries: US, GB, FR, NL, PL and GE. GE is Georgia, not Germany, so mbl-de never works: use peer-de. any and best let the gateway choose. pool_get_stock shows what is online now.
  • IP class. -iptype-mobile, -iptype-residential or -iptype-isp. The ISP (static) class is addresses on ISP-registered networks hosted on servers; it is served only when you name it.
  • Rotation. sticky and hard both hold one device. auto5, auto10, auto20 and auto60 move to another device on that interval (auto10 is the default). ondemand picks again on each new connection.
  • Sessions need -sid-. sticky, hard and auto* only persist across connections when the username carries -sid-<id> (lowercase letters, digits and _). -session- is not a token: the gateway ignores it without an error.
  • Sticky holds the device, not the IP. A mobile carrier can change the exit IP of a held modem. For an address that stays, use a residential peer or a Reserved IP.
  • Limits per account: 500 concurrent connections and 250 sessions.
  • Price: per GB of traffic, lower per GB on larger purchases; time is free. get_pricing reads the live price list. Both pools cost the same.
  • Proxy password. The gateway password is the account's proxy password (pool_get_my_credentials), or a pak_ key. It is not the account login password.

Gateway errors

The gateway answers a failed request with CODE: message (req: id). pool_explain_error turns any of them into what to do next.

CodeStatusMeaning
E_AUTH_REQUIRED407no proxy credentials sent
E_AUTH_INVALID407username or proxy password rejected
E_BALANCE_EXHAUSTED407credentials are right, the account has no traffic left
E_CAP_EXCEEDED407a pak_ key reached its GB cap
E_RATE_LIMITED_AUTH429too many failed logins
E_RATE_LIMITED_CONN429over the connection limit
E_SESSION_LIMIT429over the session limit
E_NO_STOCK_COUNTRY502nothing online for that pool, country and filters
E_STOCK_DEGRADED502the device went away during the request
E_SSRF_BLOCKED403target is a private or metadata address
E_WRONG_PORT400HTTP sent to the SOCKS5 port, or the reverse
E_INTERNAL503unexpected gateway error

A tool that fails returns an MCP error result (isError: true) whose text ends with a What to do: line for the common cases: a missing or revoked API key, a missing scope, a rate limit, a server error. Keys and passwords are masked in error text.

Modes and configuration

ModeSetTools
API key (standard)PROXIES_API_KEYthe default toolset (20 tools), or every API-key tool with --toolset=full
x402 wallet (optional)AGENT_WALLET_KEYthe x402 wallet group plus the tools marked "also listed in wallet mode"
Bothboth variablesboth of the above

Toolsets

By default the server lists 20 tools, grouped by what an agent does: buy (proxies_modem_catalog, proxies_modem_quote, proxies_modem_buy, proxies_modem_renew, proxies_topup_checkout, proxies_topup_status, get_pricing), use (pool_get_stock, pool_get_my_credentials, pool_build_proxy_url, pool_explain_error, proxies_modem_mine, proxies_modem_rotate) and manage (get_account_summary, get_account_usage, pool_set_proxy_password, get_service_status, create_support_ticket, list_my_tickets, get_ticket). Fewer tools in the list means a client picks the right one more often.

Everything else (dedicated ports, Private Pools and Reserved IPs, crypto orders, coupons, pak_ keys, x402 session management, ops) is listed with the full toolset:

bash
npx -y @proxies-sx/mcp-server --toolset=full      # or PROXIES_TOOLSET=full in the environment

The wallet tools are not affected by the toolset: they are always listed when AGENT_WALLET_KEY is set. The tool tables below mark the default tools.

VariableDescription
PROXIES_API_KEYpsx_ API key from client.proxies.sx/account
PROXIES_EMAIL, PROXIES_PASSWORDAlternative to the API key: log in with the account credentials
AGENT_WALLET_KEYPrivate key (0x...) of a USDC wallet on the Base network, for x402 payments without an account
BASE_RPC_URLCustom Base RPC endpoint, for x402 (default https://mainnet.base.org)
PROXIES_API_URLAPI base URL. Default https://api.proxies.sx; a trailing /v1 is accepted and ignored. Leave it unset unless you run a private API.
PROXIES_TOOLSETdefault (20 tools) or full (every API-key tool). The --toolset=full argument does the same.

Usage with MCP clients

Every client runs the same command, npx -y @proxies-sx/mcp-server, with PROXIES_API_KEY in the environment.

Claude Code

bash
claude mcp add proxies-sx -e PROXIES_API_KEY=psx_your_api_key_here -- npx -y @proxies-sx/mcp-server

Add -s user to make it available in every project. A project can instead carry a .mcp.json in its root with the JSON below.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop:

json
{  "mcpServers": {    "proxies-sx": {      "command": "npx",      "args": ["-y", "@proxies-sx/mcp-server"],      "env": {        "PROXIES_API_KEY": "psx_your_api_key_here"      }    }  }}

Cursor

The same JSON in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).

Windsurf

The same JSON in ~/.codeium/windsurf/mcp_config.json.

Docker

bash
docker build -t proxies-sx-mcp https://github.com/bolivian-peru/proxies-sx-mcp-server.gitdocker run -i --rm -e PROXIES_API_KEY=psx_your_api_key_here proxies-sx-mcp

The container speaks MCP over stdio (-i is required).

More recipes

recipes/ has working examples for LangChain, CrewAI and a raw MCP client.

Tools

Generated from the code of version 3.2.0 by npm run build:manifest. Do not edit by hand.

The 20 tools marked "Default" are listed without a flag; the others need --toolset=full (or PROXIES_TOOLSET=full). Wallet tools are always listed when a wallet is set.

Pool Gateway

ToolWhat it does
pool_get_stockGet live Pool Gateway stock, no account needed. Default. Also listed in wallet mode.
pool_get_facetsList the cities, states, carriers (with ASN and class) and IP classes that have stock in one country, with counts, no account needed. Also listed in wallet mode.
pool_build_proxy_urlBuild a ready-to-use Pool Gateway proxy URL (gw.proxies.sx, HTTP 7000 or SOCKS5 7001). Default. Also listed in wallet mode.
pool_explain_errorExplain a Pool Gateway error and say what to do about it. Default. Also listed in wallet mode.
pool_get_my_credentialsGet your Pool Gateway proxy username and proxy password with ready HTTP and SOCKS5 URLs. Default.
pool_set_proxy_passwordSet a new proxy password (at least 6 characters). Default.
pool_get_my_statsGet your own Pool Gateway traffic and open connections, plus the health score of the pool and how many devices are connected to it.
pool_list_sessionsList your saved Pool Gateway sessions: pool, country, carrier, rotation mode, bytes and last activity.
pool_close_sessionClose one Pool Gateway session by the sessionKey from pool_list_sessions.
pool_close_all_sessionsClose every saved Pool Gateway session of the account.

Private modems

ToolWhat it does
proxies_modem_catalogList the Private modem plans for sale right now: country, carrier, period (day, week or month), price in USD, stock, OpenVPN and p0f support, regions. Default.
proxies_modem_quotePrice check before spending. Default.
proxies_modem_buyRent a Private modem (one dedicated 4G/5G modem, unlimited traffic) from the account balance. Default.
proxies_modem_renewExtend the rental of one of your Private modems from the account balance. Default.
proxies_modem_rotateAsk one of your Private modems for a new IP address. Default.
proxies_modem_mineList your rented Private modems: status, expiry, online state, HTTP and SOCKS5 credentials, rotation settings, auto-renew, plus open orders and recent failures. Default.

Private Pool and Reserved IPs

ToolWhat it does
private_pool_listList your Private Pools with their countries, status, gateway username, connection strings with the password masked (private_pool_reveal shows the key) and remaining GB.
private_pool_buildCreate a Private Pool paid from the account's existing GB balance: no purchase, traffic is metered from the same balance.
private_pool_revealShow the gateway password (pak_ key) of a Private Pool.
private_pool_usageGet the traffic of a Private Pool per day, in MB.
reserved_ip_listList the Reserved IPs a Private Pool holds: country, class, carrier, city, rotation mode, whether the device is online, the exit IP last seen, and connection strings with the password masked.
reserved_ip_reserveReserve one device for a Private Pool so no other customer is routed through it, and get its connection strings with the password masked.
reserved_ip_rotateMove a Reserved IP to a different device in the same country now.
reserved_ip_extendChange how long a Reserved IP is kept without traffic.
reserved_ip_set_rotationSet whether a Reserved IP moves to another device on a schedule: off (hold the device, the default) or every 5, 10, 20 or 60 minutes.
reserved_ip_releaseGive a Reserved IP back to the shared pool.

Account

ToolWhat it does
get_account_summaryGet the account balance, free port slots, traffic bought and left, and any account alerts. Default.
get_account_usageGet traffic purchased, used and still available, split into Pool Gateway traffic and dedicated-port traffic. Default.

Billing

ToolWhat it does
get_pricingGet the live price per GB, the volume discounts, the free port-slot tiers and your current tier. Default.
calculate_priceCalculate what a GB amount costs with the volume discount applied.
purchase_shared_trafficBuy traffic in GB from the account balance.
coupon_validateCheck whether a coupon code is valid for an order, without using it.
coupon_redeemRedeem a standalone coupon that grants free GB or port slots to the account.
get_payment_historyList the account's past payments and crypto top-up orders.

Crypto payments

ToolWhat it does
proxies_topup_checkoutAdd money to the account balance by card: creates a Stripe Checkout page and returns its url and sessionId. Default.
proxies_topup_statusCheck whether a card top-up started with proxies_topup_checkout was paid and credited to the balance (credited true or false). Default.
create_crypto_paymentCreate a crypto order that tops up the account balance and return its hosted payment link.
check_crypto_payment_statusCheck whether a crypto order is still unpaid, confirming, paid, expired or cancelled, and whether the balance was credited.
get_pending_crypto_paymentsList the account's crypto orders that are not finished yet, with their payment links.
cancel_crypto_paymentCancel a crypto order that has not been paid yet.
get_crypto_payment_infoCheck whether crypto top-ups are available right now and which currencies the payment page accepts.

Dedicated ports

ToolWhat it does
list_available_countriesList the countries where a dedicated port can be created right now, with the countryId create_port needs.
list_portsList your dedicated ports with status, country, carrier, expiry and port ids.
get_portGet one dedicated port with its location and ready-to-use HTTP and SOCKS5 connection strings (contains the port password).
create_portCreate a dedicated port on a carrier modem and return its connection strings.
delete_portDelete a dedicated port and free its slot.
update_port_credentialsChange the login and/or password of a dedicated port.
update_os_fingerprintSet the OS fingerprint (TCP/IP signature) a dedicated port presents.
reconfigure_portMove a dedicated port to another country, carrier or city.
extend_portAdd hours to a dedicated port's expiry.

Port status

ToolWhat it does
get_port_statusCheck whether a dedicated port is online, offline or expired.
get_port_ipGet the server address a dedicated port listens on.
ping_portTest that a dedicated port answers and measure its latency.
speed_test_portRun a speed test through a dedicated port (download, upload, ping).

Port rotation

ToolWhat it does
rotate_portMove a dedicated port to another modem in the same location.
check_rotation_availabilityCheck whether a dedicated port can be rotated now, how long the cooldown still runs and how many other modems are free.
configure_auto_rotationTurn automatic rotation of a dedicated port on or off and set its interval.
get_rotation_historyGet the past rotations of a dedicated port: when, how triggered, the location it moved to and whether it worked.
get_rotation_token_urlGet the public rotation link of a dedicated port.

Utilities

ToolWhat it does
get_proxy_connection_stringBuild the HTTP or SOCKS5 connection string of a dedicated port (contains the port password).
get_all_proxy_formatsGet a dedicated port in every common format: URLs, host:port, environment variables, curl, Python and Node.js snippets, and its public rotation link.
get_service_statusCheck whether Proxies.sx is healthy right now: open Pool Gateway incidents, the state of the API, gateway and relay, and recent uptime. Default. Also listed in wallet mode.
get_os_fingerprint_optionsList the OS fingerprint values create_port and update_os_fingerprint accept.

Support

ToolWhat it does
create_support_ticketOpen a support ticket that a person at Proxies.sx reads and answers. Default.
list_my_ticketsList your support tickets with their status and IDs. Default.
get_ticketGet one support ticket with the original message and every reply. Default.
reply_to_ticketAdd a reply to one of your support tickets.
close_ticketClose one of your support tickets once the problem is solved.

Pool access keys (reseller accounts)

ToolWhat it does
pool_mint_keyCreate a Pool Access Key (pak_) for one of your customers; it is used as the proxy password.
pool_list_keysList your Pool Access Keys with usage, cap and expiry; the key values are masked.
pool_topup_keyAdd GB to a Pool Access Key's cap and/or extend its expiry in one step.
pool_update_keyChange a Pool Access Key's label, enabled flag, cap, expiry or quality tier.
pool_regenerate_keyReplace the secret pak_ value of a Pool Access Key.
pool_reveal_keyShow the full pak_ value of a Pool Access Key.
pool_delete_keyDelete a Pool Access Key.
pool_key_usageGet the traffic of one Pool Access Key per day, in MB.
pool_key_auditGet the audit log of one Pool Access Key, newest first: created, changed, topped up, regenerated, revealed, deleted, and gateway logins that worked or failed.

x402 session management

ToolWhat it does
get_x402_sessionGet details of your x402 session including all ports.
list_x402_portsList all ports in your x402 session with connection strings and expiration times
get_x402_port_statusGet detailed status of a specific port including traffic usage and connection info
get_sessions_by_walletList all x402 sessions associated with your wallet address.
get_session_statusGet quick status check for a session including traffic usage and expiration
replace_x402_portReplace an offline port of an x402 session with a new port on another device, at no charge.
calculate_x402_topupCalculate what it costs to add traffic and/or time to an x402 session.
topup_x402_sessionAdd traffic and/or time to an x402 session.

Ops (admin keys only)

ToolWhat it does
ops_get_userCustomer 360 view: balance, pool-gateway usage, ports, and (if a farmer) their AI note.
ops_get_user_auditRecent ops-agent actions taken on this user.
ops_reconcile_paymentsRead-only Stripe-vs-DB payment view for a user (confirmed total + pending).
ops_list_ticketsList support tickets (admin view).
ops_reply_ticketPost an admin reply to a ticket, optionally emailing the customer.
ops_set_slotsSet a user's port slot limit (capped).
ops_credit_balanceCredit a user's balance in USD (admin credit).
ops_email_userSend a personalized email to one user (hourly rate-capped).
ops_list_farmersList farmer AI notes (shared operational memory).
ops_get_farmerFarmer fleet funnel (total/online/verified/listed/routable) + AI note.
ops_write_farmer_noteWrite/append a farmer AI note (situation, nextAction, free note) — shared with future AI sessions.

x402 wallet (optional, no account)

ToolWhat it does
x402_get_proxyBuy a dedicated mobile proxy on one carrier modem by paying USDC from the agent wallet; no account needed.
x402_get_pricingGet the live x402 price per GB, the smallest purchase, the allowed duration and the payment networks, and compare the cost of a purchase with the wallet balance.
x402_list_sessionsList the active x402 proxy sessions this wallet bought from this machine, with location, expiry and proxy host.
x402_check_sessionGet status, time left, traffic used and the connection strings of an x402 proxy session.
x402_wallet_balanceGet the agent wallet address and its USDC and ETH (gas) balance on the Base network.
x402_rotate_ipMove an x402 proxy to another modem so it gets a different exit IP.
x402_list_countriesList the countries where x402_get_proxy can create a proxy right now, with the number of free modems.
x402_extend_sessionAdd hours to an x402 proxy session.
x402_service_statusCheck that the x402 payment service is up, and show the wallet balance and how many sessions are active or about to expire.
x402_get_pool_accessBuy Pool Gateway traffic by paying USDC from the agent wallet; no account needed.
x402_pool_creditGet the GB bought, used and left on an x402 pool session.
x402_pool_topupAdd GB and/or time to an x402 pool session.
x402_pool_regenerateReplace the password of an x402 pool credential, for example after a leak.
x402_pool_connectionShow the gateway host, port, username and password of an x402 pool session again.
x402_pool_usageGet the traffic of an x402 pool session per day, in MB.
x402_pool_pricingGet the Pool Gateway tiers that can be bought with x402 and their live price per GB and smallest purchase.

tools.json carries the same list in machine-readable form (name, category, title, first sentence of the description, read-only and destructive flags, mode, parameters).

Private modems

A Private modem is one dedicated 4G/5G modem rented whole, by the day, week or month, with unlimited traffic, paid from the account balance. It is the first answer to a request for a dedicated, unlimited, exclusive-device, p0f or OpenVPN proxy; per-GB traffic stays on the Pool Gateway.

1. proxies_modem_catalog {country: "de"}            -> plans with carrier, period, price in USD, stock2. proxies_modem_quote {tariffId}                   -> the current price; show it to the user3. proxies_modem_buy {tariffId, expectedPriceUsd, confirm: true}   -> order; returns the Idempotency-Key it used4. proxies_modem_mine                               -> credentials once the order succeeded (10-60 s)5. proxies_modem_rotate {modemId}                   -> new IP;  proxies_modem_quote {modemId} + proxies_modem_renew to extend
  • Buy and renew need the price the user saw as expectedPriceUsd; the API refuses a stale price with price_changed. They send an Idempotency-Key and return it: retry a failed call with the same idempotencyKey and you get the same order, never a second charge. After insufficient_balance nothing is charged; top up, then order again with a new key.
  • When the balance is short, proxies_topup_checkout {amountUsd, confirm: true} returns a Stripe Checkout url that a person opens and pays by card (the agent cannot pay it); proxies_topup_status {sessionId} says when the balance is credited.
  • The modem's exit IP appears in proxies_modem_mine for its owner only. Do not publish it.

Dedicated ports

A dedicated port binds one port to one carrier modem. Modems exist only in US, GB, FR, NL, PL and GE (Georgia); list_available_countries shows where a modem is free right now. For every other country use the Pool Gateway.

  • rotate_port moves the port to another modem. The login and password stay, the port numbers change, and one rotation per 5 minutes is allowed.
  • reconfigure_port creates a new port in another location and removes the old one: the port ID changes.
  • The API never returns the exit IP of a port. Send a request through the proxy to see it.

Private Pools and Reserved IPs

A Private Pool is a separate gateway credential limited to the countries you choose and paid from the account's GB balance (private_pool_build). A Reserved IP holds one device for that pool alone (reserved_ip_reserve) until you release it or the idle window ends. The server keeps part of each country's stock unreserved and limits how long a peer device can be held; when it refuses a reservation, its message says why. The ISP (static) class cannot be reserved.

The connection strings of a pool or a Reserved IP come back with pak_******** as the password: put the key from private_pool_reveal in its place.

reserved_ip_list shows the exit IP last seen on a reserved device. It is shown to the owner only: do not publish it.

x402: paying without an account (optional)

An agent with a funded USDC wallet on the Base network can buy traffic without a Proxies.sx account through the x402 protocol: the API answers 402 Payment Required with the price, the server pays on-chain and retries with the transaction hash. Set AGENT_WALLET_KEY to enable the wallet tools.

  • x402_get_pool_access buys Pool Gateway traffic: one credential for every country of the tier (peer or mbl). x402_pool_pricing reads the live tiers and prices.
  • x402_get_proxy buys one dedicated port on a carrier modem. x402_list_countries shows where one is free, x402_get_pricing the live price.
  • The wallet needs USDC for the purchase and a little ETH for gas, both on Base. x402_wallet_balance shows both. (The API also accepts USDC on Solana from clients that pay by themselves; this server's wallet pays on Base.)

The account path (API key and deposited GB) is the standard one; x402 is an alternative for agents that cannot hold an account.

Earn by sharing bandwidth

Devices that share their connection through the peer SDK are paid per GB served. Terms and setup: agents.proxies.sx/peer/skill.md.

Registry

RegistryEntry
Official MCP Registryio.github.bolivian-peru/proxies-sx-mcp-server (see server.json)
npm@proxies-sx/mcp-server
Glamaglama.ai/mcp/servers/bolivian-peru/proxies-sx-mcp-server
Claude Desktop extension (MCPB)manifest.json, generated by npm run build:manifest

Troubleshooting

  • "Authentication required" at start. Neither PROXIES_API_KEY nor AGENT_WALLET_KEY is set in the environment the client starts the server with.
  • Every tool answers 401. The key is wrong, expired or revoked. Create a new one at client.proxies.sx/account.
  • A tool answers 403 "missing required scope". Create a key that includes that scope. billing:write and customers:* cannot be given to a customer key (see above). modems:purchase and billing:topup are opt-in: tick them when creating the key.
  • A purchase tool answers with a code such as price_changed, no_stock, insufficient_balance or spend_cap_reached. The What to do: line is the API's own fix for that code; follow it rather than retrying the same call.
  • proxies_modem_buy answers "confirm is not true". Nothing was bought. Show the user the USD price from proxies_modem_quote and call again with confirm: true once they agree.
  • The proxy answers 407. Read the error code: E_AUTH_INVALID is a wrong proxy password (use pool_get_my_credentials), E_BALANCE_EXHAUSTED is an empty balance (use get_account_usage).
  • The proxy answers 502 E_NO_STOCK_COUNTRY. Nothing is online for that pool, country and filters: check pool_get_stock and pool_get_facets, and remember that mbl exists in six countries only.
  • Claude Desktop does not show the server. Check the JSON syntax of the config file, make sure Node.js 18 or newer is installed, and restart the app completely.

Development

bash
npm installnpm run build            # compile to dist/npm test                 # unit tests: registry, routes, username grammar, error mappingnpm run lintnpm run build:manifest   # regenerate manifest.json, tools.json and the tool lists in the docs
# Read-only check of every tool against production (needs a real key, changes nothing):PROXIES_API_KEY=psx_... node tests/live-smoke.mjs

Links

License

MIT License, see LICENSE.

來源:README.md,提交 661bb90

工具

5

pool_get_stock

Pool: Get Stock

Get live Pool Gateway stock, no account needed. With a country: the mbl and peer endpoint counts there and the peer counts per class (mobile, residential, isp). Without: totals plus the count per country for both pools. Use it to pick a pool and country before pool_build_proxy_url.

輸入參數country

pool_get_facets

Pool: Get Targeting Options

List the cities, states, carriers (with ASN and class) and IP classes that have stock in one country, with counts, no account needed. The values are the ones pool_build_proxy_url accepts for city, state, carrier and asn. Pass city, state or carrier to see what remains once that filter is applied.

輸入參數citypoolstatecarriercountry必填

pool_build_proxy_url

Pool: Build Proxy URL

Build a ready-to-use Pool Gateway proxy URL (gw.proxies.sx, HTTP 7000 or SOCKS5 7001). Local, no network. Take proxyUsername and password from pool_get_my_credentials (a reseller passes a customer pak_ key as password). pool: "peer" is the main network (residential and mobile, most countries), "mbl" is carrier modems in US, GB, FR, NL, PL and GE (Georgia) only, "any" or "best" let the gateway choose. Rotation: sticky and hard both hold one device, auto5/auto10/auto20/auto60 move to another device on that interval, ondemand picks again on each new connection; sticky, hard and auto* only persist across connections with a sid. Sticky holds the device, not the IP: a mobile carrier can still change the exit IP. The result contains the password.

輸入參數asnispsidttlcitypoolstateipTypepakKeystrictcarriercountry另有 5 個

pool_explain_error

Pool: Explain Gateway Error

Explain a Pool Gateway error and say what to do about it. Pass the error text your HTTP client got from gw.proxies.sx (it looks like "E_NO_STOCK_COUNTRY: ... (req: ...)") or just the code. Covers E_AUTH_INVALID, E_BALANCE_EXHAUSTED, E_NO_STOCK_COUNTRY, the rate and session limits and the rest. Local, no network.

輸入參數error必填

get_service_status

Get Service Status

Check whether Proxies.sx is healthy right now: open Pool Gateway incidents, the state of the API, gateway and relay, and recent uptime. No account needed. Call it when requests fail with 5xx or E_INTERNAL before retrying in a loop.

無需輸入參數。

版本歷史

2
  1. v3.2.0最新Oct 30, 2026
  2. v3.0.1Oct 19, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分