---
title: "Gemini Code Assist: Bank Data in VS Code | BankBridge"
description: "Ask Gemini Code Assist about your spending without leaving VS Code. It reads the same settings.json as Gemini CLI, so setup takes one 2-minute edit."
url: "https://bankbridge.money/docs/gemini-code-assist"
---
[← All integrations](https://bankbridge.money/docs)

Gemini Code Assist

# Same settings.json as Gemini CLI.

If you’ve already configured BankBridge for Gemini CLI, you’re done. Code Assist reads the same file. Otherwise:

Step 01

## Edit ~/.gemini/settings.json.

~/.gemini/settings.json

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

Restart Gemini Code Assist after editing the config.

Gemini uses `httpUrl` (not `url`). The same file covers both Gemini CLI and Code Assist.

Step 02

## Enable Agent Mode.

In VS Code’s Gemini Code Assist panel, switch to **Agent Mode**. Tools appear in the picker. (Note: not yet supported in the JetBrains Code Assist plugin.)

Step 03

## Verify it works.

In any Gemini Agent Mode chat, ask:

try this

```
what are my top merchants last 30 days?
```

Troubleshooting

Tools don't fire.

You're probably in Ask/Chat mode, not Agent mode.

**Fix:** Toggle to Agent Mode in the Gemini Code Assist panel.

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).

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