NEW! |One API call, clean data back. No scrapers needed.Get 10,000 Free Tokens →

Connect Cursor to FineProxy MCP

Add the FineProxy MCP server to Cursor with a one-click link or mcp.json, keep your API key in an environment variable and check that the agent can see your account.

This page shows how to connect Cursor’s agent to the FineProxy MCP server so it can read your account, quote and buy proxies, and troubleshoot services from chat. Cursor connects to the server directly over Streamable HTTP and sends your API key in the Authorization header.

Requirements

  • Cursor with MCP support for remote (Streamable HTTP) servers. Node.js is not required.
  • A FineProxy API key (starts with fb_). Create one in Settings → API keys. Start with read-only scopes.

Set up

Option 1: one-click install

Click Add to Cursor and confirm the install in Cursor. The link adds a server named fineproxy with this configuration:

{
  "url": "https://fineproxy.org/account_new/api/v1/mcp",
  "headers": {
    "Authorization": "Bearer ${env:FINEPROXY_API_KEY}"
  }
}

Important: The link stores only a reference to the FINEPROXY_API_KEY environment variable, not a key. Set the variable as described in Keep your key out of the config and restart Cursor. Until you do, every request fails with 401.

Option 2: edit mcp.json

  1. Choose where the server should be available:

    ScopemacOS / LinuxWindows
    Global (all projects)~/.cursor/mcp.json%USERPROFILE%\.cursor\mcp.json
    Project<repo>/.cursor/mcp.json<repo>\.cursor\mcp.json
  2. Add the fineproxy entry under mcpServers (create the file if it does not exist):

    {
      "mcpServers": {
        "fineproxy": {
          "url": "https://fineproxy.org/account_new/api/v1/mcp",
          "headers": {
            "Authorization": "Bearer ${env:FINEPROXY_API_KEY}"
          }
        }
      }
    }
  3. Set FINEPROXY_API_KEY (see the next section) and restart Cursor.

Note: Hosted Cloud Agents do not read ~/.cursor/mcp.json. To use FineProxy from Cloud Agents, configure the server for your team in the Cursor dashboard — see the Cursor MCP docs.

Keep your key out of the config

Cursor expands ${env:NAME} in headers, so the file only holds a reference and the key lives in your environment:

export FINEPROXY_API_KEY="fb_your_api_key"
  • The variable must be visible to the Cursor process. If you start Cursor from the Dock, Start menu or a launcher, it may not inherit variables from ~/.zshrc or ~/.bashrc. Start Cursor from a terminal where the variable is set, or set it as a system / user environment variable.
  • envFile applies only to local (stdio) servers. It has no effect on a remote URL server like FineProxy.

Warning: A project-level .cursor/mcp.json is easy to commit by accident. Never commit it with a literal fb_... key. Keep only the ${env:FINEPROXY_API_KEY} reference there, or add the file to .gitignore.

Verify the connection

  1. Open Customize in the sidebar and find fineproxy in the MCP section. The server should be enabled and list its tools.

  2. In the Agent chat, ask:

    What is my FineProxy balance?

    The agent calls the wallet_balance tool. Expand the tool call to see the arguments and the result:

    {
      "balance_cents": 5000,
      "currency": "USD",
      "wallet_id": "00000000-0000-0000-0000-000000000000",
      "has_wallet": true
    }

    Money values are integer cents: 5000 means $50.00.

  3. If the server does not connect, open the Output panel (Cmd+Shift+U / Ctrl+Shift+U) and select MCP Logs in the dropdown.

Tips

  • Approve tool calls. Cursor asks for approval before it runs an MCP tool. Click the arrow next to the tool name to check the arguments — especially for orders, renewals and cancellations. Don’t allowlist money-moving tools for automatic runs.
  • Use a read-only key first. For exploring, a key with customer:read, wallet:read, services:read and catalog:read is enough. Without wallet:spend, the agent can’t run tools that debit your wallet.
  • Add wallet:spend only for purchases. Create a separate key with wallet:spend when you want the agent to buy or renew. Purchase tools carry a price guard and an idempotency key: a wrong total is rejected without a charge, and a retry with the same key never charges twice.
  • Read MCP safety and the scopes reference before you give an agent spending rights.

Troubleshooting

SymptomCause and fix
401 in MCP Logs right after one-click installFINEPROXY_API_KEY isn’t set or Cursor doesn’t see it. Set the variable and restart Cursor from a terminal where it is set.
401 although the variable is setCursor doesn’t see the variable and sends ${env:FINEPROXY_API_KEY} literally. Launch Cursor from a terminal with the variable set, or set it system-wide.
Cursor offers to sign in with OAuthThe Authorization header is missing. FineProxy MCP has no OAuth — it accepts API keys only. Add the headers block.
Server works locally but not in Cloud AgentsCloud Agents don’t read ~/.cursor/mcp.json. Configure the server for your team in the Cursor dashboard.
429 Too Many RequestsToo many sessions or reconnects in a short time. Wait a moment and reconnect once.

For server-side errors and tool failures, see MCP troubleshooting.