FineProxy MCP server
Connect Cursor, Claude, VS Code, n8n and other AI agents to your FineProxy account. The agent can buy, configure, monitor and troubleshoot proxies through 57 tools.
The FineProxy MCP server lets an AI agent work with your FineProxy account. You can ask it to buy proxies, read connection details, change the IP allowlist, check usage or download an invoice, and it does the work through the same API keys and permissions as the REST API.
What MCP is
The Model Context Protocol (MCP) is an open standard for connecting AI assistants to external systems. An MCP server publishes a list of tools: named actions with typed inputs, such as wallet_balance or quote_composite. An MCP client (Cursor, Claude Code, VS Code Copilot, n8n and others) shows these tools to the language model. When you write “How much money is in my FineProxy wallet?”, the model picks the right tool, the client calls it, and the model answers from the result. You don’t write code, and in most clients you see and approve each tool call before it runs.
What an agent can do
The server has 57 tools. They fall into eight groups:
| Group | What the agent can do | Tools |
|---|---|---|
| Catalog & buying | List countries with live IP stock, explain pricing, split a total IP count across countries, quote and buy datacenter, ISP and dedicated proxies, buy catalog products | list_countries, get_pricing_info, plan_composite, quote_composite, order_composite, quote_dedicated, order_dedicated, list_catalog, buy_service |
| Services | List services and their expiry, renew, turn auto-renewal on or off, cancel | list_services, get_service, renew_service, set_auto_renew, cancel_service |
| Proxy access | Read IPs, credentials and rotating-proxy configuration, rotate the password, manage the IP allowlist and per-IP connection limits, refresh (replace) IPs, add IPs, check and restore IPs missing from an imported contract | list_proxy_ips, get_proxy_credentials, rotate_proxy_credentials, get_proxy_config, get_whitelist, add_whitelist_ip, remove_whitelist_ip, replace_whitelist_ip, update_whitelist_limits, get_refresh_status, quote_refresh, refresh_ips, add_ips, get_import_shortfall_status, quote_import_shortfall_restore, restore_import_shortfall |
| Add-ons | List available and active add-ons (extra allowlist IPs, extra connections, UDP), buy and disable them | list_available_addons, list_active_addons, purchase_addon, disable_addon |
| Usage analytics & diagnostics | Traffic totals, success rate, latency percentiles, timeseries, top destinations, failure breakdown by category, rule-based recommendations | get_usage, get_usage_overview, get_usage_timeseries, get_top_destinations, get_diagnostics, get_recommendations |
| Wallet & payments | Balance, transaction history, invoices with PDF links, payment gateways, wallet top-up links and their status | wallet_balance, list_ledger, list_invoices, get_invoice, list_payment_gateways, init_deposit, get_deposit_status, list_payments |
| Account | Profile and verification status, login history, the public IP of the machine running the agent | get_profile, get_access_log, get_my_ip |
| Support | Read, open, reply to and close support tickets, download attachments | list_tickets, get_ticket, get_ticket_attachment, create_ticket, reply_ticket, close_ticket |
Every tool, with its inputs and required scopes, is listed in the MCP tools reference.
Server facts
| Property | Value |
|---|---|
| URL | https://fineproxy.org/account_new/api/v1/mcp |
| Transport | Streamable HTTP, stateless: every request is a single POST with a JSON-RPC 2.0 message, every reply is application/json (no SSE stream, no session ID) |
| Authentication | Authorization: Bearer fb_... with a FineProxy API key. OAuth is not supported. |
| Tools | 57. No resources and no prompts. |
| Permissions | The same scopes as the REST API. Tools that spend money need wallet:spend. |
| Protocol versions | 2025-06-18, 2025-03-26, 2024-11-05 |
| Money | Integer cents everywhere: 1200 means $12.00 |
Engineers building their own client should read Protocol details.
Supported clients
Any MCP client that can send a custom Authorization header to a remote Streamable HTTP server works. Clients that only start local (stdio) servers can connect through the mcp-remote bridge.
| Client | How it connects | Guide |
|---|---|---|
| Cursor | Native remote server with headers; one-click install link | Cursor |
| Claude Code | claude mcp add --transport http or .mcp.json | Claude Code |
| Claude Desktop | Custom connector with request headers, or mcp-remote in claude_desktop_config.json | Claude Desktop |
| VS Code (GitHub Copilot) | .vscode/mcp.json with a password prompt for the key | VS Code |
| Cline | streamableHttp server entry | Cline |
| Windsurf | serverUrl entry in the Cascade MCP config | Windsurf |
| n8n | MCP Client Tool node with Bearer Auth (n8n 1.104.0 or later) | n8n |
| OpenAI Codex CLI | bearer_token_env_var in config.toml | Codex CLI |
| Gemini CLI | httpUrl entry in settings.json | Gemini CLI |
| Other clients (Zed, JetBrains and others) | Direct HTTP with headers, or the mcp-remote bridge | Other clients |
Note: ChatGPT custom MCP connectors can’t use this server today. They authenticate with OAuth and have no field for a static bearer key. See Troubleshooting.
Generic configuration
Most clients use this JSON shape. The server name fineproxy is what the agent sees; keep it so the examples in this documentation match.
{
"mcpServers": {
"fineproxy": {
"url": "https://fineproxy.org/account_new/api/v1/mcp",
"headers": {
"Authorization": "Bearer fb_your_api_key"
}
}
}
}
Field names differ between clients: Claude Code and VS Code need "type": "http", Cline needs "type": "streamableHttp", Windsurf uses serverUrl and Gemini CLI uses httpUrl. Most clients can read the key from an environment variable instead of the literal value, for example ${env:FINEPROXY_API_KEY} in Cursor. Use that, so the key never ends up in a file you might commit. The client guides show the exact syntax.
To get started in two minutes, follow the MCP quickstart.
Safety in short
An agent with a FineProxy key can spend money from your wallet, so the server is built to make mistakes hard:
- Scopes are the hard limit. A key without
wallet:spendcan’t buy anything, whatever the agent tries. Start with a read-only key. - Price guards. Purchases take the quoted price (
expected_total_centsand similar). If the actual price differs, nothing is charged. - Idempotency keys. A retried purchase with the same
idempotency_keydoes not charge twice. - Explicit confirmation. Cancelling a service or disabling an add-on requires
confirm: true, and the server instructs agents to confirm with you first. - Your wallet is the budget. The agent can only spend what is on the prepaid balance, and it can’t add money. Top-ups need you to pay on the payment page.
Read Safety for AI agents before you give an agent purchase rights.
What MCP adds over the REST API
Both interfaces work on the same account, but some capabilities are only available as MCP tools:
| Capability | MCP tools |
|---|---|
| Usage analytics: overview, timeseries, top destinations | get_usage_overview, get_usage_timeseries, get_top_destinations |
| Failure diagnostics and recommendations | get_diagnostics, get_recommendations |
| Dedicated (exclusive) proxies | quote_dedicated, order_dedicated |
| Auto-renewal on/off | set_auto_renew |
| Price guard on composite orders | order_composite with expected_total_cents |
| Login history | get_access_log |
| Public IP of the caller | get_my_ip |
| Payment gateways, payment attempts, top-up status | list_payment_gateways, list_payments, get_deposit_status |
| Per-IP connection limits on the allowlist | update_whitelist_limits |
| Imported-contract shortfall check and restore | get_import_shortfall_status, quote_import_shortfall_restore, restore_import_shortfall |
The REST API, in turn, has sticky sessions for rotating proxies and webhooks, which have no MCP tools.
Next steps
- MCP quickstart: connect Cursor and run your first prompt.
- Example prompts: what to ask and which tools the agent calls.
- Safety for AI agents: scopes, price guards and key strategy.
- Protocol details: build your own client.
- Troubleshooting: fix connection and tool errors.