---
title: "Gemini CLI: Connect Your Bank Accounts | BankBridge"
description: "Ask Gemini CLI what you spent last month, straight from the terminal. One settings.json edit connects your real bank data, read-only, in about 2 minutes."
url: "https://bankbridge.money/docs/gemini-cli"
---
[← All integrations](https://bankbridge.money/docs)

Gemini CLI

# One command.

`gemini mcp add` writes the config for you. Prefer editing `~/.gemini/settings.json`? Gemini uses `httpUrl` instead of `url`.

Step 01

## Run one command (or edit settings.json).

terminal, one line

```
gemini mcp add --scope user --transport http bankbridge https://bankbridge.money/api/mcp
# then run /mcp auth bankbridge in Gemini CLI
```

~/.gemini/settings.json

```
{
  "mcpServers": {
    "bankbridge": {
      "httpUrl": "https://bankbridge.money/api/mcp",
      "headers": {
        "Authorization": "Bearer bbk_your_api_key_here"
      }
    }
  }
}
```

Restart Gemini CLI after editing the config.

Step 02

## Verify it works.

Restart Gemini, then ask:

try this

```
show my top merchants last 90 days
```

Troubleshooting

Client connects but shows 0 tools.

Usually the client is caching an old config, or you're on a mode that doesn't expose tools (Ask/Edit vs Agent, for example).

**Fix:** Fully quit + relaunch the host app. In VS Code Copilot, switch to Agent mode.

401 Unauthorized on every call.

The API key is missing, typo'd, or got revoked. Check the Authorization header starts with \`Bearer \` (note the space) and ends in a key you still own.

**Fix:** Paste a fresh key from [Settings](https://bankbridge.money/dashboard/settings).

Tools return a NO\_CONNECTIONS warning.

You haven't linked a bank yet.

**Fix:** Visit [Connect a bank](https://bankbridge.money/dashboard/connect) . The bank-connect flow opens automatically, ~30 seconds.

Problems? Email [hello@bankbridge.money](mailto:hello@bankbridge.money).
