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:
| Setting | Value |
|---|---|
| Server name | fineproxy |
| URL | https://fineproxy.org/account_new/api/v1/mcp |
| Transport | Streamable HTTP (stateless, POST only) |
| Authentication | Header 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-onlytells the bridge to use Streamable HTTP only.mcp-remotereplaces${FP_AUTH}in the header with the value fromenv. WriteAuthorization:${FP_AUTH}without spaces — some clients don’t escape spaces insideargs— and keepBearer ...inenv, 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 oneName: valueline per header, for exampleAuthorization: Bearer fb_your_api_key; restrict it withchmod 600and 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:
- Open Settings → Tools → AI Assistant → MCP and click Add.
- Switch to the STDIO tab.
- Paste the
mcp-remoteconfiguration from the section above and put your key inFP_AUTH. - 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:
| File | Scope |
|---|---|
~/.junie/mcp/mcp.json | Global |
.junie/mcp/mcp.json | Project (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.jsonis shared through Git. Keep only variable references in it, never a literalfb_...key.
Zed
Zed connects to remote MCP servers (“context servers”) over HTTP with custom headers:
| Scope | macOS / Linux | Windows |
|---|---|---|
| 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$VARreferences in remoteheadersare not reliably expanded (see Zed issue #60459). Put the key in your usersettings.jsononly. - If you leave out the
Authorizationheader, 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 Requestsoninitialize. 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:readandcatalog:readis enough. Withoutwallet:spend, the agent can’t run tools that debit your wallet. - Add
wallet:spendonly for purchases. Use a separate key withwallet:spendwhen 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
| Symptom | Cause and fix |
|---|---|
401 on a direct HTTP entry in JetBrains AI Assistant | The HTTP entry can’t send headers. Use the mcp-remote stdio configuration. |
401 in Zed with ${VAR} in the header | Zed sent the reference literally. Put the key itself in your user settings.json. |
| The client starts an OAuth sign-in | The Authorization header is missing. FineProxy MCP accepts API keys only. |
'C:\Program' is not recognized... on Windows | Spaces in args aren’t escaped. Keep Authorization:${FP_AUTH} without spaces and put Bearer ... in env. |
mcp-remote fails to connect | Check 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 Requests | Too many sessions in a short time. Wait a few seconds and reconnect once. |
For server-side errors and tool failures, see MCP troubleshooting.