Mcp Unblockpay

io.github.codespar由 GitHub 账号 codespar 发布v0.3.1更新于 Oct 24, 2026

MCP server for UnblockPay — fiat-to-stablecoin onramp/offramp, wallets, transfers

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

UnblockPay 的本地 MCP 服务器,让助手管理客户、KYC、稳定币钱包、汇率报价以及法币与稳定币之间的入金和出金。

可以做什么
创建和列出客户,并为个人和企业触发或查询 KYC 验证状态。在已通过验证的客户下创建和列出稳定币钱包。注册和列出用于 Pix、电汇、SEPA 和 SPEI 出金的外部法币账户。锁定汇率与手续费报价,并基于报价创建入金或出金。查询交易状态,并取消仍处于待入金状态的交易。
适用场景
适合希望助手在对话中操作 UnblockPay 跨境法币与稳定币流程的场景:客户入驻、KYC 查询、开立钱包、汇率报价以及发起或跟踪入金和出金。涉及真实资金前应先在沙箱环境测试。
运行要求
通过 npx 在本地运行,需要 Node.js。需要 UnblockPay 账户,并通过环境变量 UNBLOCKPAY_API_KEY 提供 API 密钥。可选设置 UNBLOCKPAY_BASE_URL 指向沙箱端点用于测试。需要访问 UnblockPay API 的网络连接。
安装前请注意
该 API 密钥可执行真实支付操作,请勿放入共享配置。相关工具会创建客户、钱包、外部账户、报价、入金和出金,并可取消交易,因此会动用真实资金并修改账户数据。报价五分钟后失效。未设置沙箱地址时默认连接生产 API。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@codespar/mcp-unblockpay

MCP server for UnblockPay — fiat ↔ stablecoin cross-border via Customer → Wallet → Quote → Payin/Payout

[npm] [License: MIT]

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

json
{  "mcpServers": {    "unblockpay": {      "command": "npx",      "args": ["-y", "@codespar/mcp-unblockpay"],      "env": {        "UNBLOCKPAY_API_KEY": "your-key"      }    }  }}

Claude Code

bash
claude mcp add unblockpay -- npx @codespar/mcp-unblockpay

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

json
{  "servers": {    "unblockpay": {      "command": "npx",      "args": ["-y", "@codespar/mcp-unblockpay"],      "env": {        "UNBLOCKPAY_API_KEY": "your-key"      }    }  }}

Tools (13)

ToolPurpose
create_customerCreate an individual or business customer (KYC mother). Business customers require date_of_incorporation.
list_customersList customers under the operator's API key (limit mandatory by the v1 pagination contract).
verify_customerTrigger the KYC verification check. Idempotent (returns 422 customer_cannot_be_verified when already approved).
get_verification_detailsPoll KYC state — returns customer_status: pending | approved | rejected | partially_rejected.
create_walletCreate a stablecoin wallet under an APPROVED customer.
list_walletsList wallets under the operator's API key.
create_external_accountRegister a fiat receiver account (BRL Pix, USD wire, EUR SEPA, MXN SPEI). Skippable for BRL Pix payouts via the pix_key + document shortcut on create_payout.
list_external_accountsList external accounts under the operator's API key.
create_quoteLock an FX + fee quote for 5 minutes. Pass amount on EITHER sender or receiver, not both.
create_payinFiat → stablecoin pay-in referencing a quote_id. Returns deposit instructions (<Pix Copy & Paste EMV> for BR).
create_payoutStablecoin → fiat payout referencing a quote_id. customer_id is REQUIRED at the top level.
get_transactionPoll transaction status. Lifecycle: awaiting_deposit → processing → completed (or failed / refunded / cancelled / error).
cancel_transactionCancel a transaction. Only valid while status is awaiting_deposit.

Authentication

UnblockPay uses an API key passed verbatim in the Authorization header (no Bearer prefix). The server sets that header for you — you just provide the key via UNBLOCKPAY_API_KEY.

Sandbox / Testing

UnblockPay provides a separate sandbox environment for testing. Point the server at it by setting UNBLOCKPAY_BASE_URL=https://api.sandbox.unblockpay.com/v1 and using a sandbox-issued API key.

Get your credentials

  1. Sign in at app.unblockpay.com (or follow the docs)
  2. Generate an API key in the dashboard
  3. Set the UNBLOCKPAY_API_KEY environment variable
  4. (Sandbox only) Also set UNBLOCKPAY_BASE_URL=https://api.sandbox.unblockpay.com/v1

Environment Variables

VariableRequiredDescription
UNBLOCKPAY_API_KEYYesAPI key from the UnblockPay dashboard
UNBLOCKPAY_BASE_URLNoDefaults to https://api.unblockpay.com/v1. Set to https://api.sandbox.unblockpay.com/v1 for sandbox.

Roadmap

The 13 tools above mirror UnblockPay's current v1 API. New tools are added as UnblockPay expands the surface.

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

来源:packages/crypto/unblockpay/README.md,提交 d0a519a

工具

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

版本历史

1
  1. v0.3.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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