Search docs

Search the documentation

Dashboard
For LLMs

MCP server

FlashProxy has an MCP server, so AI assistants such as Claude Code and Cursor can work with your account: read usage, generate proxies and extend plans. It gives the same data as the API and uses the same API key.

Before you start

  1. Open API keys in the dashboard and create a key. It starts with fpk_live_ and is shown only once.
  2. Choose its permissions. Every key can read usage; generating proxies needs proxies and extending plans needs extend.

Keep the key secret. Anyone with it can do what its permissions allow. Revoke it in the dashboard if it leaks.

Claude Code

claude mcp add --transport http flashproxy https://flash-api-staging-iuv7.onrender.com/mcp \
  --header "Authorization: Bearer fpk_live_YOUR_KEY"

Then run /mcp in Claude Code: flashproxy should show as connected.

Cursor

Add the server to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "flashproxy": {
      "url": "https://flash-api-staging-iuv7.onrender.com/mcp",
      "headers": {
        "Authorization": "Bearer fpk_live_YOUR_KEY"
      }
    }
  }
}

Other MCP clients

Use the server URL https://flash-api-staging-iuv7.onrender.com/mcp with the streamable HTTP transport and send your key in the Authorization: Bearer header (X-API-Key also works).

Tools

ToolWhat it doesPermission
get_accountAccount email and nameusage
get_api_keyThe key in use and its permissionsusage
get_balanceAccount balanceusage
list_plansYour plansusage
list_transactionsPayments and top-upsusage
list_productsProducts and pricesusage
get_usageUsage of all active plansusage
get_plan_usageUsage of one planusage
get_plan_usage_historyTraffic over time for one planusage
get_plan_destinationsSites a plan sent the most traffic tousage
get_plan_errorsFailed connections by causeusage
get_plan_ipsFixed IP list of a Datacenter or Dedicated ISP planproxies
get_plan_locationsCountries a plan can targetusage
generate_proxiesReady-to-use proxy lines for a rotating planproxies
quote_extensionPrice of adding GB or days, without chargingusage
extend_planAdds GB or days and charges your balanceextend
quote_purchasePrice of a new plan, without chargingusage
purchase_planBuys a new plan and charges your balancepurchase
list_topup_currenciesCoins and networks a crypto top-up acceptsusage
create_topupOpens a crypto payment that credits your balancepurchase
get_topupStatus of a crypto top-upusage

Extending a plan

extend_plan spends your account balance. The assistant should call quote_extension first and confirm the price with you. Every call carries an idempotency_key: if a call fails, retrying with the same key charges you only once.

Buying a plan

An assistant can buy without the dashboard. list_products shows what is sold, quote_purchase prices a choice and purchase_plan buys it from your account balance and returns the new plan_id. Like extend_plan, it carries an idempotency_key so a retry charges you only once. Dedicated and Unlimited Residential plans are bought on the website.

If the balance is too low, create_topup opens a crypto payment and returns the wallet address, the network and the exact coin amount to send. get_topup reports COMPLETED once the payment is confirmed and the balance is credited.

Limits and errors

Tool calls count toward the same limits as API requests: 60 a minute per key and 120 a minute per account. A missing or wrong key, or a key without the needed permission, comes back as a tool error with a code and a readable message. See the API reference for every code.