🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@codespar/mcp-rede

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-rede

MCP server for Rede — Itaú-owned Brazilian card acquirer. Authorize/capture/refund, zero-auth, card tokens, and native recurrences.

latest
npmnpm
Version
0.2.0-alpha.3
Version published
Maintainers
2
Created
Source

@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

npm install @codespar/mcp-rede@alpha

Environment

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

# stdio (default)
npx @codespar/mcp-rede

# HTTP
MCP_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

Keywords

mcp

FAQs

Package last updated on 22 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts