Mcp Iniciador

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

MCP server for Iniciador — Open Finance Brasil Pix payment initiation (PISP), ICP-Brasil + DCR

概览

AI 生成的概览

让助手通过 Iniciador 发起巴西开放金融 Pix 支付,并管理授权、支付和银行列表。

可以做什么
提供九个工具,对接 Iniciador 的 Pix 支付发起(PISP)服务:list_institutions 查看支持的巴西银行,create_consent、get_consent、revoke_consent 管理付款人授权,create_payment、get_payment、list_payments、cancel_payment 处理 Pix 转出流程,get_authorization_url 构建巴西开放金融授权链接。Iniciador 持有 ICP-Brasil 证书并负责与各银行完成 DCR。
适用场景
适合助手需要在巴西开放金融授权下创建和跟踪 Pix 转出支付的场景,例如电商或支付自动化流程。该服务器具备写入能力,适用于助手确实要发起或取消支付、而不只是读取账户数据的情况。
运行要求
以 npm 包形式通过 npx 在本地运行(需要 Node.js),stdio 传输,仅限桌面端。需要 Iniciador 账户及开户时获得的凭据:INICIADOR_API_KEY,以及用于 OAuth2 流程的 INICIADOR_CLIENT_ID 和 INICIADOR_CLIENT_SECRET。INICIADOR_API_BASE 可选,用于覆盖 API 基础地址,例如指向沙箱环境。需要访问 Iniciador 的网络连接。
安装前请注意
该服务器可以调动资金:create_payment 发起 Pix 转账,cancel_payment 尝试取消,create_consent 和 revoke_consent 会改变付款人授权状态。需要密钥 INICIADOR_API_KEY、INICIADOR_CLIENT_ID 和 INICIADOR_CLIENT_SECRET,应妥善保管。支付签名依赖 Iniciador 后端处理的银行签发授权令牌,因此支付数据会发送给该第三方。正式使用前请先在沙箱测试。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@codespar/mcp-iniciador

MCP server for Iniciador — Open Finance Brasil PISP (Pix payment initiation aggregator). Iniciador holds the ICP-Brasil certificate and orchestrates DCR with each Brazilian bank for instant Pix-out flows.

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "iniciador": {      "command": "npx",      "args": ["@codespar/mcp-iniciador"],      "env": {        "INICIADOR_API_KEY": "your-api-key"      }    }  }}

Cursor / VS Code

Same config in .cursor/mcp.json.

Tools (9)

Institutions

ToolIniciador endpointNotes
list_institutionsGET /institutionsBrazilian banks supported for Pix initiation

Consents

ToolIniciador endpointNotes
create_consentPOST /consentsPayment consent for the payer to authorize at their bank
get_consentGET /consents/{id}Current authorization status
revoke_consentDELETE /consents/{id}Revoke before exercise

Payments

ToolIniciador endpointNotes
create_paymentPOST /paymentsInitiate Pix once consent is authorized
get_paymentGET /payments/{id}Status / E2E id / rejection reason
list_paymentsGET /paymentsFilter by date range / status
cancel_paymentPOST /payments/{id}/cancelBest-effort cancel before settlement

Helpers

ToolNotes
get_authorization_urlClient-side builder for the OFB authorization URL (consent id + ISPB + redirect)

Authentication

This server uses Iniciador's API key auth (X-API-KEY header). The Pix-out call itself is signed end-to-end with the consumer's bank-issued consent token, which Iniciador's backend stitches in after the payer authorizes the consent at their bank. OAuth2 client-credentials is required for some flows and lands when consent + bank-issued token plumbing is wired end-to-end.

Issue credentials during Iniciador onboarding:

Sandbox / Testing

Sandbox endpoint: https://sandbox.iniciador.com.br. Override via INICIADOR_API_BASE.

Environment Variables

VariableRequiredDescription
INICIADOR_API_KEYyesAPI key from Iniciador onboarding
INICIADOR_API_BASEnoOverride API base URL (default https://api.iniciador.com.br)

Iniciador vs Pluggy vs Belvo

Three OFB aggregators in this catalog, each with a different specialty:

AggregatorStrengthBest for
IniciadorPix payment initiation (PISP)Outgoing payments under OFB consent
Pluggy (@codespar/mcp-pluggy)Account + transaction readsReconciliation, balance polling
Belvo (@codespar/mcp-belvo)Multi-LATAM Open Finance + payroll + taxCross-border (BR + MX + CO + AR)

For commerce agents that need both reads and writes, compose them — Pluggy/Belvo for account + recon visibility + Iniciador for Pix initiation.

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/banking/iniciador/README.md,提交 d0a519a

工具

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

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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