New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@codespar/mcp-rede

Package Overview
Dependencies
Maintainers
1
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.

npmnpm
Version
0.2.0-alpha.1
Version published
Weekly downloads
14
-44%
Maintainers
1
Weekly downloads
 
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

ToolPurpose
authorize_transactionAuthorize a credit card transaction (optional auto-capture)
capture_transactionCapture a previously authorized transaction
cancel_transactionCancel an uncaptured authorization (refund endpoint, full amount)
refund_transactionRefund a captured transaction (full or partial)
get_transactionRetrieve by TID or merchant reference
zero_authValidate a card without charging (zero-auth / account verification)
tokenize_cardStore a card as a reusable token
delete_tokenDelete a stored card token
create_recurrenceCreate a native recurrence (subscription)
get_recurrenceRetrieve a recurrence by id
disable_recurrenceDisable an active recurrence

Install

npm install @codespar/mcp-rede

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

License

MIT

Keywords

mcp

FAQs

Package last updated on 24 Apr 2026

Related posts