Model Context Protocol

Use AgentProxy from your AI assistant

One remote MCP server works in Claude, Cursor, VS Code, Grok Bot, Windsurf and ChatGPT. Your assistant can list products, buy a proxy, read connection strings, rotate the IP and top up the balance.

  • Endpoint: https://mcp.agentproxy.global/mcp (Streamable HTTP)
  • Auth: your apx_ API key in the x-api-key header
  • Listing and reading tools are free; only apg_create_order spends balance

Step 1

Get an API key

Sign in, open Dashboard → API keys and create a key. It starts with apx_ and is shown once. Replace apx_YOUR_KEY below with it.

People

Sign in with a wallet, email or Google at agentproxy.global/login, then create a key under API keys. New accounts get a trial credit after their first deposit.

# 1. Ask for a sign-in message for your wallet address
curl -s https://agentproxy.global/api/apg/v1/agents/challenge \
  -H "content-type: application/json" -d '{"address":"0xYOUR_ADDRESS"}'

# 2. Sign data.message with that wallet (personal_sign), then:
curl -s https://agentproxy.global/api/apg/v1/agents/signup \
  -H "content-type: application/json" \
  -d '{"message":"<data.message>","signature":"0x..."}'
# -> data.apiKey.key is your apx_ key (shown once)

Step 2

Connect your client

Claude Code

claude mcp add --transport http agentproxy https://mcp.agentproxy.global/mcp \
  --header "x-api-key: apx_YOUR_KEY"

Cursor

Use the Add to Cursor button above, or put this in ~/.cursor/mcp.json.

{
  "mcpServers": {
    "agentproxy": {
      "url": "https://mcp.agentproxy.global/mcp",
      "headers": { "x-api-key": "apx_YOUR_KEY" }
    }
  }
}

VS Code (Copilot agent mode)

The install button asks for your key once and stores it as a secret. Or add to .vscode/mcp.json:

{
  "inputs": [
    { "type": "promptString", "id": "agentproxy_key", "description": "AgentProxy API key", "password": true }
  ],
  "servers": {
    "agentproxy": {
      "type": "http",
      "url": "https://mcp.agentproxy.global/mcp",
      "headers": { "x-api-key": "${input:agentproxy_key}" }
    }
  }
}

Grok Bot

Ask your Bot to add a custom MCP server and confirm the card it shows:

Add a custom remote MCP server named "agentproxy"
URL: https://mcp.agentproxy.global/mcp
Header: x-api-key = apx_YOUR_KEY

Windsurf

Cascade → MCP → Open MCP config file:

{
  "mcpServers": {
    "agentproxy": {
      "serverUrl": "https://mcp.agentproxy.global/mcp",
      "headers": { "x-api-key": "apx_YOUR_KEY" }
    }
  }
}

Claude.ai, Claude Desktop and ChatGPT

Add a custom connector with the URL https://mcp.agentproxy.global/mcp. Where the dialog offers request headers, add x-api-key with your key. Sign-in with OAuth for these apps is on our roadmap.

Reference

Tools

Every tool declares a title and MCP hints, so clients run read-only tools freely and ask before anything that spends balance.

ToolKindWhat it does
apg_list_productsread-onlyProxy products with type, protocol, unit and price
apg_get_balanceread-onlyAccount balance in USD
apg_list_ordersread-onlyYour proxy orders, newest first
apg_get_orderread-onlyOne order with connection strings
apg_create_orderspends balanceBuy a proxy; debits the balance, idempotent per key
apg_rotate_ipwriteChange the exit IP, optionally by country
apg_deposit_optionsread-onlyChains and stablecoins accepted for top-ups
apg_create_depositwriteCreate a deposit address (nothing is charged)
apg_get_depositread-onlyStatus of one deposit
apg_list_depositsread-onlyDeposits, filter by status
{
  "name": "apg_create_order",
  "arguments": {
    "productId": "apg_prd_06ff8e25f545",
    "quantity": 1,
    "idempotencyKey": "order-2026-12-03-001"
  }
}

More

Registry, source and support