---
title: "Qwen Code Bank Data MCP: One Command Setup | BankBridge"
description: "Ask Qwen Code what you spent on subscriptions this month. One qwen mcp add command connects your bank accounts, read-only, in under 2 minutes."
url: "https://bankbridge.money/docs/qwen-code"
---
[← All integrations](https://bankbridge.money/docs)

Qwen Code

# One qwen mcp add command.

`qwen mcp add` writes the server to `~/.qwen/settings.json`. `qwen mcp list` shows it connected.

Read-only. Your agent can see balances and transactions, and nothing can move money, pay a bill, or place a trade. BankBridge doesn’t store your transactions. [How it’s secured](https://bankbridge.money/security) · [Try it with sample data first](https://bankbridge.money/demo)

Step 01

## Add the server.

terminal, one line

```
qwen mcp add --transport http bankbridge https://bankbridge.money/api/mcp \
  --header "Authorization: Bearer bbk_your_api_key_here"
```

~/.qwen/settings.json

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

Restart Qwen Code after editing the config.

Editing the file by hand? The field is `httpUrl`. Qwen Code reads a plain `url` as an SSE server, which BankBridge does not use.

Step 02

## Verify it works.

Run `qwen mcp list`. You should see **bankbridge** with the status **Connected**. Then ask:

try this

```
list my bank accounts and balances
```

To test the config before you sign up, use the key `bbk_demo`. It returns sample data.

Running Qwen Code on a local model? [Here is what stays on your machine](https://bankbridge.money/local-agents).

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@greatwork.company](mailto:hello@greatwork.company) with the app you’re setting up and what you see, and we’ll help you finish.
