Mcp Rede

io.github.codespar由 GitHub 账号 codespar 发布v0.2.0-alpha.3更新于 Oct 24, 2026

MCP server for Rede — Itaú-owned BR acquirer: authorize/capture/refund, zero-auth, card tokens

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

概览

AI 生成的概览

面向巴西收单机构 Rede 的 MCP 服务器,让助手完成信用卡授权、请款、退款、撤销,并管理订阅、卡令牌和 boleto。

可以做什么
  • 对信用卡和借记卡交易进行授权、请款、撤销与退款,并按编号或商户参考号查询、按日期区间列出交易
  • 在不扣款的情况下验证卡片(zero-auth),并对卡进行令牌化、查询令牌元数据或删除令牌
  • 创建、更新、停用订阅(recurrence),并查看其各计费周期产生的交易
  • 发起 EMV 3-D Secure 认证、查询认证状态,并携带 3DS 参考号完成授权
  • 开立、查询和取消 boleto registrado
适用场景
适合需要让助手直接操作 Rede 商户账户的场景,例如在对话或代理流程中收款、退款、管理订阅,或处理 3DS 与 boleto 流程。主要面向与 Itaú 签订商业合同、通过 eRede 直连的商户。
运行要求
以 npm 包形式在本地通过 stdio 运行(也支持 HTTP 模式)。需要 REDE_PV(商户号)和 REDE_TOKEN(安全令牌,作为 Basic 认证密码);REDE_ENV 选择 sandbox(默认)或 production。需要能访问 Rede 的生产或沙箱 API 端点。
安装前请注意
这些工具会动真金白银:授权、请款、退款、创建订阅和开立 boleto 都会作用于真实商户账户,REDE_ENV 默认是 sandbox,但可切换为 production。REDE_TOKEN 是机密凭据,应避免出现在日志和共享配置中。卡数据与支付信息会发送至 Rede 的 API。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@codespar/mcp-rede

MCP server for Rede — Itaú-owned Brazilian card acquirer.

Rede closes the "big four" BR acquirer quadrant alongside Cielo, Stone, and Getnet. Merchants with an Itaú commercial contract integrate directly via eRede instead of going through a PSP.

Tools (22)

ToolPurpose
authorize_transactionAuthorize a credit card transaction on Rede.
capture_transactionCapture a previously authorized transaction (when capture=false was used).
cancel_transactionCancel an authorized-but-uncaptured transaction (void).
refund_transactionRefund a captured transaction.
get_transactionRetrieve a transaction by Rede tid OR by merchant reference.
zero_authValidate a card without charging (zero-auth / account verification).
tokenize_cardTokenize a card for PCI-safe reuse.
delete_tokenDelete a previously created card token.
create_recurrenceCreate a native Rede recurrence (subscription).
get_recurrenceRetrieve a recurrence by Rede recurrence id.
disable_recurrenceDisable (cancel) an active recurrence.
authorize_debitAuthorize a debit card transaction on Rede.
list_transactionsList transactions in a date range.
get_tokenRetrieve metadata for a previously stored card token (brand, last 4, expiration).
update_recurrenceUpdate an existing recurrence — change amount, card (storageCard), end date, or pause/resume.
get_recurrence_transactionsList transactions generated by a recurrence (one row per billing cycle executed).
authenticate_3dsInitiate a 3DS (EMV 3-D Secure) authentication for a card charge.
get_3ds_statusCheck the current status of a 3DS authentication by its reference id.
authorize_with_3dsAuthorize a transaction after a successful 3DS authentication, attaching the 3DS reference for liability sh...
create_boletoIssue a boleto registrado via Rede.
get_boletoRetrieve a boleto by Rede boleto id or by merchant reference.
cancel_boletoCancel an unpaid boleto.

Install

bash
npm install @codespar/mcp-rede@alpha

Environment

bash
REDE_PV="..."       # Merchant filiação (PV)REDE_TOKEN="..."    # Security token (paired with PV)REDE_ENV="sandbox"  # Optional. 'sandbox' (default) or 'production'

Authentication

HTTP Basic auth with base64(PV:TOKEN). The server builds the Authorization header on every request — transparent to callers.

Base URLs

  • Production: https://api.userede.com.br/erede/v1
  • Sandbox: https://sandbox-erede.useredecloud.com.br/v1

Run

bash
# stdio (default)npx @codespar/mcp-rede
# HTTPMCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-rede

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

工具

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

版本历史

1
  1. v0.2.0-alpha.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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