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

Connect other clients to FineProxy MCP

Connect JetBrains AI Assistant, Junie, Zed and stdio-only MCP clients to the FineProxy MCP server, test it with the MCP Inspector, and learn why ChatGPT is not supported.

Any MCP client can use the FineProxy server if it can send a custom Authorization header over Streamable HTTP — or if it can start a local stdio server, through the mcp-remote bridge. This page covers clients without a dedicated guide and shows how to test the server from a terminal.

All examples use the same settings:

SettingValue
Server namefineproxy
URLhttps://fineproxy.org/account_new/api/v1/mcp
TransportStreamable HTTP (stateless, POST only)
AuthenticationHeader Authorization: Bearer fb_your_api_key — API keys only, no OAuth

Create a key in Settings → API keys and start with read-only scopes.

Stdio-only clients: the mcp-remote bridge

If a client can only launch local (stdio) MCP servers, run mcp-remote as the server. It needs Node.js with npx, connects to FineProxy over Streamable HTTP and adds your header to every request.

{
  "mcpServers": {
    "fineproxy": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://fineproxy.org/account_new/api/v1/mcp",
        "--transport",
        "http-only",
        "--header",
        "Authorization:${FP_AUTH}"
      ],
      "env": {
        "FP_AUTH": "Bearer fb_your_api_key"
      }
    }
  }
}
  • --transport http-only tells the bridge to use Streamable HTTP only.
  • mcp-remote replaces ${FP_AUTH} in the header with the value from env. Write Authorization:${FP_AUTH} without spaces — some clients don’t escape spaces inside args — and keep Bearer ... in env, where spaces are fine.
  • To keep the key out of the config file and the process list, use --header-file <path> instead of --header. The file holds one Name: value line per header, for example Authorization: Bearer fb_your_api_key; restrict it with chmod 600 and keep it outside any repository.

Adapt the outer structure (mcpServers, command, args, env) to your client’s config format; the args stay the same.

JetBrains AI Assistant

The AI Assistant MCP settings (Settings → Tools → AI Assistant → MCP) document only a url for HTTP servers, with no field for headers. A direct HTTP entry therefore gets 401. Use the stdio bridge instead:

  1. Open Settings → Tools → AI Assistant → MCP and click Add.
  2. Switch to the STDIO tab.
  3. Paste the mcp-remote configuration from the section above and put your key in FP_AUTH.
  4. Save. The Status column of the MCP table should show the server as connected.

AI Assistant doesn’t support OAuth for MCP servers, which doesn’t matter here: FineProxy uses API keys.

JetBrains Junie

Junie reads MCP servers from mcp.json files that support headers:

FileScope
~/.junie/mcp/mcp.jsonGlobal
.junie/mcp/mcp.jsonProject (meant to be committed)
{
  "mcpServers": {
    "fineproxy": {
      "url": "https://fineproxy.org/account_new/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer ${env:FINEPROXY_API_KEY}"
      },
      "timeout": 120000
    }
  }
}

Check that your IDE version expands ${env:...} in headers: if the server answers 401, the reference was sent literally. In that case use the stdio bridge.

Warning: The project file .junie/mcp/mcp.json is shared through Git. Keep only variable references in it, never a literal fb_... key.

Zed

Zed connects to remote MCP servers (“context servers”) over HTTP with custom headers:

ScopemacOS / LinuxWindows
User~/.config/zed/settings.json%APPDATA%\Zed\settings.json
Project.zed/settings.json.zed\settings.json
{
  "context_servers": {
    "fineproxy": {
      "url": "https://fineproxy.org/account_new/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer fb_your_api_key"
      }
    }
  }
}
  • Zed sends header values literally: ${VAR} and $VAR references in remote headers are not reliably expanded (see Zed issue #60459). Put the key in your user settings.json only.
  • If you leave out the Authorization header, Zed starts an OAuth flow, which FineProxy doesn’t support.
  • Check the status in Settings → AI → MCP Servers: a green indicator means the server is active.

Warning: Never put the key in a project .zed/settings.json — it ends up in Git.

ChatGPT

ChatGPT custom MCP servers (Plugins → Add custom MCP server) offer OAuth or no authentication. There is no field for a static bearer header, and the FineProxy MCP server doesn’t offer OAuth. ChatGPT can’t connect to the FineProxy MCP server. Don’t try to work around this by putting your key into a chat message.

To use FineProxy with OpenAI models, use the Codex CLI, or call the REST API from your own code.

Test the server with the MCP Inspector

The MCP Inspector CLI is the quickest way to check your key and the endpoint without an AI client. Set the key once:

export FINEPROXY_API_KEY="fb_your_api_key"

List the tools (the server exposes 57):

npx -y @modelcontextprotocol/inspector --cli \
  https://fineproxy.org/account_new/api/v1/mcp \
  --transport http \
  --header "Authorization: Bearer $FINEPROXY_API_KEY" \
  --method tools/list

Call a read-only tool:

npx -y @modelcontextprotocol/inspector --cli \
  https://fineproxy.org/account_new/api/v1/mcp \
  --transport http \
  --header "Authorization: Bearer $FINEPROXY_API_KEY" \
  --method tools/call \
  --tool-name wallet_balance

The result contains structuredContent and the same data as text in content[0].text:

{
  "content": [
    {
      "type": "text",
      "text": "{\n  \"balance_cents\": 5000,\n  \"currency\": \"USD\",\n  \"wallet_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"has_wallet\": true\n}"
    }
  ],
  "structuredContent": {
    "balance_cents": 5000,
    "currency": "USD",
    "wallet_id": "00000000-0000-0000-0000-000000000000",
    "has_wallet": true
  }
}

Money values are integer cents: 5000 means $50.00.

To test the stdio bridge exactly as a stdio-only client would run it:

export FP_AUTH="Bearer $FINEPROXY_API_KEY"

npx -y @modelcontextprotocol/inspector --cli --method tools/list --transport stdio \
  -e FP_AUTH="$FP_AUTH" -- \
  npx -y mcp-remote https://fineproxy.org/account_new/api/v1/mcp \
    --transport http-only \
    --header "Authorization:\${FP_AUTH}"

Note: Running many Inspector sessions back to back can trigger 429 Too Many Requests on initialize. Leave a few seconds between runs.

Tips

  • Approve tool calls. Whatever client you use, review order, renewal and cancellation calls before they run, and don’t auto-approve money-moving tools.
  • 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. Use a separate key with wallet:spend when an agent must 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 on a direct HTTP entry in JetBrains AI AssistantThe HTTP entry can’t send headers. Use the mcp-remote stdio configuration.
401 in Zed with ${VAR} in the headerZed sent the reference literally. Put the key itself in your user settings.json.
The client starts an OAuth sign-inThe Authorization header is missing. FineProxy MCP accepts API keys only.
'C:\Program' is not recognized... on WindowsSpaces in args aren’t escaped. Keep Authorization:${FP_AUTH} without spaces and put Bearer ... in env.
mcp-remote fails to connectCheck its stderr output: it logs the transport, the headers it uses (names only) and the connection result. Make sure --transport http-only is set.
429 Too Many RequestsToo many sessions in a short time. Wait a few seconds and reconnect once.

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