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_KEYenvironment 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 with401.
Option 2: edit mcp.json
-
Choose where the server should be available:
Scope macOS / Linux Windows Global (all projects) ~/.cursor/mcp.json%USERPROFILE%\.cursor\mcp.jsonProject <repo>/.cursor/mcp.json<repo>\.cursor\mcp.json -
Add the
fineproxyentry undermcpServers(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}" } } } } -
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
~/.zshrcor~/.bashrc. Start Cursor from a terminal where the variable is set, or set it as a system / user environment variable. envFileapplies only to local (stdio) servers. It has no effect on a remote URL server like FineProxy.
Warning: A project-level
.cursor/mcp.jsonis easy to commit by accident. Never commit it with a literalfb_...key. Keep only the${env:FINEPROXY_API_KEY}reference there, or add the file to.gitignore.
Verify the connection
-
Open Customize in the sidebar and find
fineproxyin the MCP section. The server should be enabled and list its tools. -
In the Agent chat, ask:
What is my FineProxy balance?The agent calls the
wallet_balancetool. 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:
5000means $50.00. -
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:readandcatalog:readis enough. Withoutwallet:spend, the agent can’t run tools that debit your wallet. - Add
wallet:spendonly for purchases. Create a separate key withwallet:spendwhen 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
| Symptom | Cause and fix |
|---|---|
401 in MCP Logs right after one-click install | FINEPROXY_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 set | Cursor 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 OAuth | The 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 Agents | Cloud Agents don’t read ~/.cursor/mcp.json. Configure the server for your team in the Cursor dashboard. |
429 Too Many Requests | Too many sessions or reconnects in a short time. Wait a moment and reconnect once. |
For server-side errors and tool failures, see MCP troubleshooting.