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 分