list_connections
List linked banks with consent expiry. Banks needing re-linking say 'reconnect_required'.
无需输入参数。

io.github.pritch56由 GitHub 账号 pritch56 发布v0.1.2更新于 Nov 3, 2026
Unofficial read-only MCP server for UK bank and card data via TrueLayer Open Banking
非官方只读 MCP 服务器,通过 TrueLayer 开放银行让助手读取你已关联的英国银行与银行卡账户、余额和交易。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
Unofficial, read-only MCP server for your own UK bank and card data, via TrueLayer Open Banking. It can read accounts, cards, balances and transactions. It cannot move money: only read scopes are ever requested.
Not affiliated with TrueLayer or any bank. See SECURITY.md before linking real accounts.
Requires Python 3.11+ and uv (or pip).
Or install the package into any environment with pip install .; this provides the bank-mcp (server) and
bank-mcp-link (bank linking) commands.
http://localhost:3000/callback
(use the same port as --port if you change it).info accounts cards balance transactions offline_access.bank-mcp-link from:Never commit these values. .env files are git-ignored.
bank-mcp-link opens your bank's sign-in page in the browser and stores the resulting tokens under a nickname of
your choice. You can link several banks.
If the browser does not open, copy the URL printed in the terminal. Linking waits five minutes for the redirect.
UK Open Banking consent lasts 90 days. When it lapses, tools return Reconnect required for '<bank>'; run
bank-mcp-link again for that bank.
Tokens are stored in ~/.bank-mcp/tokens.json, readable only by you.
Replace /path/to/bank-mcp with your checkout. The server reads the same TRUELAYER_* credentials from its
environment, and uses the provider id and environment recorded when each bank was linked.
Add to claude_desktop_config.json (Settings > Developer > Edit Config), then restart Claude Desktop:
To run the server remotely instead of over stdio, see worker/README.md: a TypeScript Worker with Workers KV for tokens, protected by Cloudflare Access.
bank-mcp (stdio) exposes five read-only tools. Each except list_connections takes an optional bank
nickname; leave it out to query every linked bank.
When all banks are queried, the working banks are still returned and the failing ones are listed under errors.
See CONTRIBUTING.md. Release history is in CHANGELOG.md.
来源:README.md,提交 f5a0f02
List linked banks with consent expiry. Banks needing re-linking say 'reconnect_required'.
无需输入参数。
List accounts and cards. `bank` is a nickname; omit it to query all linked banks.
bankBalances. `bank` is a nickname (omit for all banks); `account_id` narrows to one account.
bankaccount_idTransactions with since <= date < before (ISO dates; default the last 30 days), oldest first. Page with `limit` and `offset`; `next_offset` is null on the last page.
banklimitsincebeforeoffsetaccount_idinclude_pendingPending (not yet settled) transactions. `bank` is a nickname; omit it for all banks.
banklimitoffsetaccount_id已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
git clone https://github.com/pritch56/bank-mcp.gitcd bank-mcpuv syncuv run bank-mcp-link --helpexport TRUELAYER_CLIENT_ID=your-client-idexport TRUELAYER_CLIENT_SECRET=your-client-secretexport TRUELAYER_ENV=sandbox # or "live" (the default)# Sandbox (no real bank needed)uv run bank-mcp-link --provider mock --name test --sandbox
# A real bank: use its TrueLayer provider id, for example ob-nationwideuv run bank-mcp-link --provider ob-nationwide --name nationwide
uv run bank-mcp-link --list # linked banks and consent expiryuv run bank-mcp-link --remove nationwide # forget a bank{ "mcpServers": { "bank": { "command": "uv", "args": ["run", "--directory", "/path/to/bank-mcp", "bank-mcp"], "env": { "TRUELAYER_CLIENT_ID": "your-client-id", "TRUELAYER_CLIENT_SECRET": "your-client-secret", "TRUELAYER_ENV": "live" } } }}claude mcp add bank \ --env TRUELAYER_CLIENT_ID=your-client-id \ --env TRUELAYER_CLIENT_SECRET=your-client-secret \ --env TRUELAYER_ENV=live \ -- uv run --directory /path/to/bank-mcp bank-mcp