Mcp Rede

io.github.codesparPublished by GitHub account codesparv0.2.0-alpha.3Updated Oct 24, 2026

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

VerifiedSTDIODesktop onlyFinanceBusiness & Commerce

Overview

AI-generated overview

MCP server for Rede, a Brazilian card acquirer, letting an assistant authorize, capture, refund and cancel card payments, manage recurrences, tokens and…

What you can do
  • Authorize, capture, cancel and refund credit and debit card transactions, and look up or list transactions
  • Validate cards without charging (zero-auth) and tokenize, inspect or delete stored card tokens
  • Create, update, disable and inspect recurrences (subscriptions) and their billing transactions
  • Run EMV 3-D Secure authentication, check its status, and authorize with the 3DS reference
  • Issue, retrieve and cancel boletos registrados
When to use it
Useful when an assistant needs to operate a Rede merchant account directly: taking or refunding payments, managing subscriptions, or handling 3DS and boleto flows from a chat or agent workflow. Intended for merchants with an Itaú commercial contract who integrate via eRede.
Requirements
Runs locally as an npm package over stdio (also supports an HTTP mode). Requires REDE_PV (merchant identifier) and REDE_TOKEN (security token, sent as the Basic auth password); REDE_ENV selects sandbox (default) or production. Network access to Rede's production or sandbox API endpoints.
Before you install
Tools move real money: authorizing, capturing, refunding, creating recurrences and issuing boletos all act on a live merchant account, and REDE_ENV defaults to sandbox but can be switched to production. REDE_TOKEN is a secret credential and must be kept out of logs and shared configs. Card data and payment details are sent to Rede's API.

Installation

In SourceWeft

  1. Open Mcp Rede in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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

Source: packages/payments/rede/README.md at commit d0a519a

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.2.0-alpha.3LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts