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

Integration guide

Claude Code MCP setup

Manage your FineProxy proxies from the Claude Code terminal.

UpdatedNovember 28, 2026
FormatStep-by-step guide

How to connect Claude Code to FineProxy MCP

FineProxy runs an MCP server that gives AI agents access to your account. Once you connect it to Claude Code, you can ask Claude to check your balance, list your proxies, compare prices, buy or renew a service and troubleshoot connection problems — right from your terminal.

Before you start

  • Claude Code installed, with the claude command available in your terminal.
  • A FineProxy account. Sign up if you don't have one yet.
  • About five minutes.
Step 1

Create an API key

Open Settings → API keys in your FineProxy dashboard and create a new key. For a start, select only the read permissions: customer:read, wallet:read, services:read and catalog:read. With these permissions the agent can look, but cannot spend money.

Copy the key right away — it starts with fb_ and is shown only once.

Step 2

Save the key in an environment variable

Keep the key in an environment variable, so it never ends up in a config file or your shell history. On macOS or Linux, add this line to ~/.zshrc or ~/.bashrc and open a new terminal:

bash
export FINEPROXY_API_KEY="fb_your_api_key"

On Windows, run this in PowerShell and open a new terminal:

powershell
setx FINEPROXY_API_KEY "fb_your_api_key"
Step 3

Add the FineProxy server

Run this command. The --scope user option makes the server available in all your projects:

bash
claude mcp add --transport http --scope user fineproxy \
  https://fineproxy.org/account_new/api/v1/mcp \
  --header "Authorization: Bearer $FINEPROXY_API_KEY"

Claude Code prints an “Added …” line on success.

Step 4

Check the connection

Run claude mcp list. The fineproxy server should show the status Connected.

Start claude, type /mcp to see the FineProxy tools, and ask: “What is my FineProxy balance?” Claude calls the wallet_balance tool and replies with your balance.

Share the server with your team

To give everyone who works in a repository the same setup, create .mcp.json in the repository root. Each teammate sets FINEPROXY_API_KEY with their own key:

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

.mcp.json is meant to be committed. Keep only the ${FINEPROXY_API_KEY} reference in it and never a real key.

Safety tips

  • Approve tool calls. Claude Code asks before it runs a FineProxy tool. Check the arguments, especially for orders, renewals and cancellations, and don't let purchase tools run automatically.
  • Add wallet:spend only when you need it. Create a separate key with this permission when you want the agent to buy or renew proxies. A wrong price is rejected without a charge, and a repeated request never charges twice.
  • Never paste the key into the chat. The agent doesn't need to see it — Claude Code sends it in the request header.

Full documentation

Developer documentation is available in English: detailed Claude Code setup (scopes, team .mcp.json, troubleshooting), MCP safety and the list of all MCP tools.

Why is the server missing when I open another project?

It was probably added with the default local scope, which applies to one project only. Remove it with claude mcp remove fineproxy and add it again with --scope user.

Can Claude Code spend money from my wallet?

Only if the API key has the wallet:spend permission. With a read-only key the agent can check your balance, services and prices, but cannot buy or renew anything. Even with wallet:spend, review every purchase before you approve it.

Claude Code offers to sign in with OAuth. What should I do?

The FineProxy MCP server accepts API keys only and has no OAuth sign-in. An OAuth prompt means the Authorization header with your key is missing. Check the configuration from the steps above.

Proxies for 48 hours

Build a plan for your task and test the proxies in real work. Pay for the selected configuration for 48 hours—the price is calculated during setup.

Configure for 48 hours