Itaú-owned Brazilian card acquirer. Completes the big-four BR acquirer quadrant alongside Cielo, Stone, and Getnet. Authorize, capture, refund, zero-auth, tokenization, native recurrences. Alpha on npm — developer.userede.com.br is SPA-rendered, endpoints not live-verified.
Rede gives your agent 22 tools it calls directly — pick the ones it needs, in Claude, Cursor, or any MCP client.
authorize_transaction — Authorize a credit card transaction on Rede. Set capture=true to authorize + capture atomically; capture=false to authorize only (use capture_transaction later).capture_transaction — Capture a previously authorized transaction (when capture=false was used). Pass amount for partial capture; omit for full.cancel_transaction — Cancel an authorized-but-uncaptured transaction (void). Rede uses the refunds endpoint for both voids and refunds — cancel means full amount on an uncaptured transaction.// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("authorize_transaction", { /* ... */ });$ npm install @codespar/mcp-rede@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"rede": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-rede@alpha"
],
"env": {
"REDE_PV": "<your_rede_pv>",
"REDE_TOKEN": "<your_rede_token>"
}
}
}
}After restart, your agent can call any of the 22 tools below — try authorize_transaction first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
REDE_PVRede merchant filiação (PV) — numeric merchant identifier issued with your commercial contract.
REDE_TOKENRede API security token paired with PV. Used in HTTP Basic auth as the password.
REDE_ENVEnvironment selector: 'sandbox' (default) or 'production'.
Each tool is independent — your agent loads only what it needs to reduce context and response time.
authorize_transactioncapture_transactioncancel_transactionrefund_transactionget_transactionzero_authtokenize_carddelete_tokenMCP is a protocol — any framework that speaks it can mount this server.