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 分