Wise Mcp

io.github.BlanketByte由 GitHub 账号 BlanketByte 发布v1.1.1更新于 Oct 24, 2026

Wise balances, card payments, transfers and recipients, plus transfers you approve twice.

已验证STDIO仅桌面效率与工作流金融

概览

AI 生成的概览

连接 Wise 账户的 MCP 服务器,让助手查询余额、刷卡消费、转账与收款人,并准备需你两次确认的转账。

可以做什么
查询 Wise 个人与商业资料的余额、Jars 及各币种金额。浏览活动明细(刷卡消费、转账、换汇、返现),可按类型、状态、日期和文字筛选。查看转账、单笔转账详情、已保存收款人以及当前或历史中间汇率。获取报价和收款人所需银行资料,这些操作不会改动任何数据。以两步方式准备转账、新增收款人和取消未付款转账,经你确认摘要后才提交。
适用场景
适合想用对话查询 Wise 余额、刷卡消费、转账和收款人,或想在聊天中先拟好转账、新增收款人与取消交易、再由你确认的场景。只想只读查询时,也可使用只读令牌并关闭写入功能。
运行要求
本地以 npm 包通过 npx 运行,需 Node.js 20 或更高版本;需在 Wise 设置中创建个人 API 令牌,并通过环境变量 WISE_API_TOKEN 提供。远程自托管模式另需 HTTPS 地址、TOKEN_ENCRYPTION_KEY 和允许的 Wise 用户 ID。
安装前请注意
需要 Wise 个人 API 令牌(WISE_API_TOKEN),完整权限下可准备转账和新增收款人;不需要时建议改用只读令牌或设 WRITES_ENABLED=false。写入虽为两步且需一次性代码,仍会实际创建未付款转账、收款人和取消操作,请核对摘要。转账最终仍须你在 Wise 应用中付款,资金才会移动;可用 MAX_TRANSFER_AMOUNT 设上限。自托管时 TOKEN_ENCRYPTION_KEY 应远离数据备份。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Wise Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Wise MCP]

Wise MCP

Ask Claude or ChatGPT about your Wise money. The simplest, most complete MCP server for your Wise balances, card payments, transfers and recipients that can also prepare transfers you approve twice. Run it locally with one npx command (Claude Desktop, Claude Code, Codex, Cursor…), or host it as a custom connector for Claude and ChatGPT.

[npx @blanketbyte/wise-mcp] [MCP] [OAuth 2.1] [Writes] [Node.js 22] [License MIT]


"How much did I spend on groceries in September?" "What's left in my jars, in EUR?" "Show the transfers I sent to Mario this year and the rate I got." "Send Mario 120 EUR for dinner."

Give it a Wise API token once and your assistant can answer questions like these across all your Wise profiles, personal and business. It can also prepare transfers, new recipients and cancellations. Every change needs your explicit approval in chat, and a transfer only moves money once you pay it in the Wise app.

Why this one

The simplest way to connect Wise to an AI assistant, and the most feature-rich Wise MCP server we know of (October 2026):

  • One token, no partner account. Other servers need Wise partner OAuth credentials or stop at read-only basics. Here a personal API token is all you need, locally or hosted.
  • Your real spending. The activity feed includes card payments with clean merchant names and amounts, plus transfers, conversions, cashback and Jars, across personal and business profiles.
  • Writes you can trust. Quotes, new recipients, transfers and cancellations, all two-step and approved in chat; transfers are paid by you in the Wise app.
  • Everywhere. npx for Claude Desktop, Claude Code, Codex and Cursor, a one-click Claude Desktop extension, or a self-hosted connector for Claude and ChatGPT on web and mobile.
  • Built for real accounts. 14 tools, encrypted token storage, session management, an audit log, and end-to-end tests for both modes.

Choose how to run it

LocalRemote (self-hosted)
Works withClaude Desktop, Claude Code, Codex, Cursor, VS Code, any MCP clientClaude (web, desktop, mobile) and ChatGPT custom connectors
SetupOne npx command or a one-click Claude Desktop extensionDeploy a container behind HTTPS (Dokploy, Easypanel, Docker Compose)
TokenIn your app's MCP config, on your machinePasted on a login page, stored encrypted on your server
GuideRun locallyDeploy

Contents

Tools

Read

ToolWhat it returns
list_profilesEvery Wise profile the token can see (personal, business)
list_balancesBalances in every currency plus Jars, across all profiles by default
get_transactionsActivity feed, newest first: card payments, transfers, conversions, cashback, direct debits. Clean merchant names, numeric amounts, in / out / neutral direction. Filter by type, status, date range and text; cursor pagination
list_transfersTransfers newest first, with both currencies, reference, status and recipient name
get_transferOne transfer in detail: rate, amounts, reference, recipient
list_recipientsSaved recipients with account number / IBAN, filterable by currency and text
get_exchange_rateWise mid-market rate, now or at a past date

Write: always two-step

ToolWhat it does
get_quotePrices a transfer or conversion: rate, fee, amount received, delivery estimate. Changes nothing
get_recipient_requirementsThe bank details Wise needs for a recipient in a currency (IBAN, sort code, …)
prepare_transferQuotes a transfer to a saved recipient, checks Wise's route requirements and your balance, returns a summary + one-time code
prepare_recipientValidates a new recipient and returns a summary + one-time code
prepare_cancel_transferPrepares cancelling a transfer you haven't paid yet
confirm_actionPerforms a prepared action. Only after you approve the exact summary
discard_actionThrows a prepared action away

Profiles are discovered from the token at runtime. Every tool takes an optional profile: an id, personal, business, or part of the profile name.

How it works

Locally, the server runs on your machine as a child process of your MCP client and reads the token from WISE_API_TOKEN. Nothing is hosted and there's no login.

Remotely, Wise doesn't offer OAuth to individuals, so the server is its own OAuth 2.1 authorization server for Claude and ChatGPT, and the "login" is a Wise personal API token you paste once.

mermaid
sequenceDiagram    autonumber    participant C as Claude / ChatGPT    participant S as Wise MCP    participant W as Wise API    C->>S: Dynamic client registration (trusted redirect hosts only)    C->>S: /authorize (PKCE)    S-->>C: Login page: token + "stay connected for"    Note over C,S: You paste a Wise API token, pick 5 / 15 / 30 / 90 days or until revoked    S->>W: GET /v1/me    W-->>S: Wise user id    S->>S: Allowlist check, token sealed with AES-256-GCM    S-->>C: Authorization code → access + refresh tokens    C->>S: MCP tool calls (Bearer, 1 h tokens, rotating refresh)    S->>W: Reads, and writes only after confirm_action
  • Session length is chosen at each login. Access tokens last one hour; refresh tokens rotate on every use and live exactly as long as the session.
  • /sessions lists every connected session for your Wise account and lets you revoke one or all. You sign in by pasting a Wise token again; it's only used to check who you are and is never stored. Access lasts 15 minutes in an HTTP-only cookie.
  • Revoking in Wise works too: delete the token in Wise → Settings → API tokens. The next call fails with a clear message, and the server deletes the stored token and every session that used it.

Two confirmations for every write

prepare_*  ──▶  summary + code (TX-…, RCP-…, CXL-…)  ──▶  you approve in chat  ──▶  confirm_action                 nothing written to Wise yet              ①                          created in Wise                                                                                          │transfers only:                                    you pay it in the Wise app  ◀──────────┘                                                   ②  money moves only now
  • Codes are single-use, expire after 10 minutes, and only work from the session that prepared them.
  • Transfers are created unpaid (incoming_payment_waiting). Wise doesn't let personal tokens fund transfers for EU/UK accounts anyway, so the final "Pay" is always yours. Until then you can cancel the transfer with prepare_cancel_transfer or in the app.
  • Every prepare, confirm, discard and failure is appended to audit.log (~/.wise-mcp/ locally, the data volume when hosted).

Security model

✋ Two-step writesEvery write is prepare → your approval in chat → confirm with a one-time code. Transfers then also need you to pay them in the Wise app.
🔒 Read-only optionWRITES_ENABLED=false removes all write tools. With a Wise Read only token, write tools fail with a clear message and reading keeps working.
💶 LimitsOptional MAX_TRANSFER_AMOUNT per transfer. Wise's own route checks (purpose, source of funds) are enforced before a code is issued.
🧾 AllowlistOnly Wise user ids in ALLOWED_WISE_USERS can connect. Any other token is refused and nothing about it is stored. Removing an id cuts off that user's existing sessions too.
🗝️ Encryption at restWise tokens are sealed with AES-256-GCM under TOKEN_ENCRYPTION_KEY. OAuth tokens are stored only as SHA-256 hashes. State files and the audit log are owner-only (0600) and written atomically.
🧹 Minimal retentionA Wise token is deleted as soon as no live session uses it: after revocation, session expiry, or when Wise rejects it.
🔁 OAuth hardeningPKCE (S256), single-use login and authorization codes, rotating refresh tokens, redirect hosts limited to claude.ai, claude.com, chatgpt.com and localhost, so authorization codes can only reach apps you trust.
🚦 Rate limitingThe token forms (/login, /sessions/login) allow 20 attempts per IP every 15 minutes; OAuth endpoints use the MCP SDK's limits.
🔐 HTTPS onlyThe server refuses to start with a non-HTTPS PUBLIC_URL, and every page shows a red warning if it's opened over plain HTTP, so nobody pastes a Wise token on an unencrypted page.
🛡️ PagesStrict CSP (default-src 'none', form-action limited to the server and the client's own redirect origin), X-Frame-Options: DENY, no-store, no referrer.

[!WARNING] Keep TOKEN_ENCRYPTION_KEY out of backups of the data volume. Changing it makes stored tokens unreadable: just reconnect.

Run locally

Needs Node.js 20 or newer. Create a token first: Wise → Settings → API tokens → Add new token (Full access to prepare transfers and recipients, Read only for answers only).

Claude Desktop extension (one click)

Download wise-mcp-<version>.mcpb from the latest release and open it. Claude Desktop asks for your token (stored securely, never in a plain config file) and whether to allow preparing transfers.

Claude Code

bash
claude mcp add wise -e WISE_API_TOKEN=your-token -- npx -y @blanketbyte/wise-mcp

Codex

Add this to ~/.codex/config.toml:

toml
[mcp_servers.wise]command = "npx"args = ["-y", "@blanketbyte/wise-mcp"]env = { WISE_API_TOKEN = "your-token" }

Claude Desktop, Cursor, VS Code and other MCP clients

Add this to the client's MCP config (for Claude Desktop: Settings → Developer → Edit config):

json
{  "mcpServers": {    "wise": {      "command": "npx",      "args": ["-y", "@blanketbyte/wise-mcp"],      "env": { "WISE_API_TOKEN": "your-token" }    }  }}

The repo is also an Agent Plugin (plugin.json + mcp.json), so clients and directories that support the standard can install it directly. Set WISE_API_TOKEN in your client.

Optional env: WRITES_ENABLED=false for read-only, MAX_TRANSFER_AMOUNT for a per-transfer limit. Run npx @blanketbyte/wise-mcp --help for all options.

[!NOTE] ChatGPT only connects to remote servers, so for ChatGPT use the self-hosted setup.

Deploy

The container serves plain HTTP on port 3000; put it behind anything that terminates HTTPS. State (sealed tokens, sessions) lives in /data.

A prebuilt image is published with every release: ghcr.io/blanketbyte/wise-mcp:<version> (or :latest), for linux/amd64 and linux/arm64. Use it instead of building from source wherever your platform accepts an image.

Dokploy

  1. DNS: point a hostname (e.g. wise.example.com) at your Dokploy server.
  2. Application: Create Service → Application, source = this repository, branch main, build type Dockerfile, context ..
  3. Domain: your hostname, container port 3000, HTTPS on, certificate Let's Encrypt.
  4. Volume: a named volume mounted at /data (the container runs as uid 1000).
  5. Environment:
    env
    PUBLIC_URL=https://wise.example.comALLOWED_WISE_USERS=          # empty on the first deploy, see step 7TOKEN_ENCRYPTION_KEY=        # openssl rand -base64 32
  6. Deploy, then check https://wise.example.com/health.
  7. Find your Wise user id: connect from Claude once. The Not allowed page shows your id: set ALLOWED_WISE_USERS=<id>, redeploy and connect again.

Easypanel

  1. DNS: point a hostname (e.g. wise.example.com) at your Easypanel server.
  2. Service: in a project, + Service → App, name it wise-mcp.
  3. Source: GitHub, owner/repository of this repo, branch main, build path /. (Or Git with the repository URL.)
  4. Build: Dockerfile, file Dockerfile.
  5. Environment:
    env
    PUBLIC_URL=https://wise.example.comALLOWED_WISE_USERS=          # empty on the first deploy, see step 9TOKEN_ENCRYPTION_KEY=        # openssl rand -base64 32
  6. Domains: add wise.example.com, HTTPS on, port 3000. Easypanel issues the Let's Encrypt certificate.
  7. Mounts: add a volume mount named data with mount path /data. Without it, sessions and tokens are lost on every redeploy.
  8. Deploy, then check https://wise.example.com/health.
  9. Find your Wise user id: connect once from Claude or ChatGPT. The Not allowed page shows your id: set ALLOWED_WISE_USERS=<id>, deploy again and reconnect.

To redeploy automatically on every push, enable Auto Deploy on the service (it adds a GitHub webhook).

Docker Compose

bash
cp .env.example .env            # fill it inmkdir -p data && sudo chown 1000:1000 datadocker compose up -d --build    # listens on 127.0.0.1:3000

Connect Claude

  1. In Wise: Settings → API tokens → Add new token. Choose Full access to prepare transfers and recipients, or Read only if you only want answers.
  2. In Claude: Settings → Connectors → Add custom connector:
    https://wise.example.com/mcp
  3. Paste the token, choose how long to stay connected, done.

ChatGPT: Settings → Apps & Connectors, turn on Developer mode (under Advanced), then Create a connector with the same /mcp address and OAuth authentication. The same login page opens.

Your server's pages

Once deployed, your server has three pages you can open in a browser. Replace wise.example.com with your own address.

PageAddressWhat it's for
🏠 Homehttps://wise.example.com/Shows the connector address and step-by-step instructions for Claude and ChatGPT. Open it to check the server is up.
🔑 Loginopens by itselfAppears when you add the connector in Claude or ChatGPT. Paste your Wise API token, choose how long to stay connected, and press Connect Wise. You don't need to open it yourself.
🧾 Manage sessionshttps://wise.example.com/sessionsLists every app connected to your Wise account (Claude, ChatGPT, on any device) with when it was connected, last used and when it expires. Revoke one, or all at once. To sign in, paste a Wise API token for your account; it's only used to check who you are and is never stored.

Common situations

  • "I want to disconnect a device or app." Open Manage sessions and press Revoke next to it.
  • "I think my token leaked." Delete it in Wise → Settings → API tokens. Every session that used it stops working immediately, and the server deletes its copy. Then reconnect with a new token.
  • "Claude or ChatGPT says to reconnect." Your session expired or was revoked. Remove and add the connector again; the Login page will open.
  • "The login page says Not allowed." Your Wise account isn't on this server's allowlist. The page shows your Wise user id: add it to ALLOWED_WISE_USERS and redeploy.

For monitoring there's also https://wise.example.com/health, which returns {"ok":true} when the server is running.

Configuration

VariableModeDefault
WISE_API_TOKENlocal, requiredWise personal API token
WRITES_ENABLEDbothtruefalse removes every write tool
MAX_TRANSFER_AMOUNTboth(no limit)Max per transfer, in the source currency
DATA_DIRboth~/.wise-mcp locally, /data in DockerAudit log (and, hosted, sealed tokens and sessions)
PUBLIC_URLremote, requiredPublic HTTPS origin of the server
TOKEN_ENCRYPTION_KEYremote, required≥ 32 chars; encrypts stored Wise tokens
ALLOWED_WISE_USERSremote(nobody)Comma-separated Wise user ids
ALLOWED_REDIRECT_HOSTSremoteclaude.ai,claude.com,chatgpt.com,localhost,127.0.0.1Hosts OAuth clients may redirect to
PORTremote3000

At startup the server logs the allowed users and a short SHA-256 fingerprint of the encryption key, so you can tell which key is deployed without revealing it.

Development

bash
npm installnpm run dev         # remote server with tsx watch (needs the remote env vars)npm test            # typecheck + both end-to-end suitesnpm run e2e         # remote server against a local mock of the Wise APInpm run e2e:stdio   # local mode: spawns the CLI like an MCP client wouldnpm run mcpb        # builds release/wise-mcp-<version>.mcpb

The remote end-to-end test boots the server next to a mock Wise API and drives everything Claude does: client registration, PKCE login, allowlist, session lengths, refresh rotation, encryption at rest, every tool (amount parsing, pagination, filters), the two-step writes (single-use codes, cross-session isolation, route requirements, cancellation, audit log, read-only tokens), /sessions, and revocation in Wise. The stdio suite covers the CLI, token errors, every tool over stdio, two-step writes, the audit log and read-only mode.

Releasing

Push a tag matching package.json (e.g. v1.1.0). The release workflow runs the tests, publishes @blanketbyte/wise-mcp to npm with provenance (trusted publishing over GitHub OIDC, no npm token stored anywhere), lists it in the official MCP Registry from server.json, attaches the .mcpb to a GitHub release, and pushes the Docker image to ghcr.io/blanketbyte/wise-mcp. Before the first release, remove "private": true from package.json.

Project layout
src/  cli.ts               Entry point: `wise-mcp` (stdio) or `wise-mcp serve` (remote)  stdio.ts             Local mode over stdin/stdout  index.ts             Remote server: icons, OAuth routes, /login, /sessions, /mcp  config.ts            Environment validation (shared and remote-only settings)  meta.ts              Version, paths, links  crypto.ts            AES-256-GCM sealing, cookie signing  tools.ts             MCP tools (read + two-step write)  pending.ts           Prepared actions and one-time confirmation codes  wise/client.ts       Wise API client (retries, idempotent transfers, revocation detection)  wise/service.ts      Profiles, balances, activities, transfers, recipients, rates  wise/connections.ts  Encrypted per-token connections  auth/provider.ts     OAuth 2.1 provider for Claude, token-paste login  auth/store.ts        Clients, sessions, hashed tokens  auth/pages.ts        Login, /sessions and message pagespublic/                Logo, icons, faviconmcpb/manifest.json     Claude Desktop extension manifestscripts/e2e.ts         Remote end-to-end test with a mock Wise APIscripts/e2e-stdio.ts   Local (stdio) end-to-end testscripts/build-mcpb.sh  Builds the .mcpb bundle.github/workflows/     CI, and release to npm + GitHub

Limitations

Personal API tokens can't use every Wise endpoint. In particular, for EU/UK accounts PSD2 rules block balance statements (so there's no running balance per transaction) and the card list. The activity feed covers card payments, so day-to-day spending questions work fine.

On the write side, personal tokens can't fund transfers for EU/UK accounts (you pay them in the Wise app, which this server relies on anyway), and Wise rejects API transfers on business accounts that have payment approval rules.

Contributing

Issues and pull requests are welcome; see CONTRIBUTING.md. Please report security problems privately as described in SECURITY.md.

License

MIT © BlanketByte


[图片]
Made by BlanketByte. Independent project, not affiliated with or endorsed by Wise.
Wise and the Wise flag are trademarks of Wise Payments Limited; the flag is shown unaltered to indicate compatibility.

来源:README.md,提交 65ed43c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v1.1.1最新Oct 12, 2026
  2. v1.0.1Oct 11, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分