io.github.codespar/mcp-rede
io.github.codespar/mcp-rede · 273 stars · TypeScript · MIT
MCP server MCP server for Rede — Itaú-owned BR acquirer: authorize/capture/refund, zero-auth, card tokens
Install
The repo has no one-line install. Follow its README.
Published as
- npm
@codespar/mcp-redestdio
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
REDE_PVRequired | Env var | Rede merchant filiação (PV) — numeric merchant identifier issued with your commercial contract. |
REDE_TOKENRequired · Secret | Env var | Rede API security token paired with PV. Used in HTTP Basic auth as the password. |
REDE_ENVOptional | Env var | Environment selector: 'sandbox' (default) or 'production'. |
Files
@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)
| Tool | Purpose |
|---|---|
authorize_transaction |
Authorize a credit card transaction on Rede. |
capture_transaction |
Capture a previously authorized transaction (when capture=false was used). |
cancel_transaction |
Cancel an authorized-but-uncaptured transaction (void). |
refund_transaction |
Refund a captured transaction. |
get_transaction |
Retrieve a transaction by Rede tid OR by merchant reference. |
zero_auth |
Validate a card without charging (zero-auth / account verification). |
tokenize_card |
Tokenize a card for PCI-safe reuse. |
delete_token |
Delete a previously created card token. |
create_recurrence |
Create a native Rede recurrence (subscription). |
get_recurrence |
Retrieve a recurrence by Rede recurrence id. |
disable_recurrence |
Disable (cancel) an active recurrence. |
authorize_debit |
Authorize a debit card transaction on Rede. |
list_transactions |
List transactions in a date range. |
get_token |
Retrieve metadata for a previously stored card token (brand, last 4, expiration). |
update_recurrence |
Update an existing recurrence — change amount, card (storageCard), end date, or pause/resume. |
get_recurrence_transactions |
List transactions generated by a recurrence (one row per billing cycle executed). |
authenticate_3ds |
Initiate a 3DS (EMV 3-D Secure) authentication for a card charge. |
get_3ds_status |
Check the current status of a 3DS authentication by its reference id. |
authorize_with_3ds |
Authorize a transaction after a successful 3DS authentication, attaching the 3DS reference for liability sh... |
create_boleto |
Issue a boleto registrado via Rede. |
get_boleto |
Retrieve a boleto by Rede boleto id or by merchant reference. |
cancel_boleto |
Cancel 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
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 273
- License
- MIT
- Language
- TypeScript
- Last push
- 2026-09-27
- Forks
- 50
- MCP Registry
- io.github.codespar/mcp-rede
- Homepage
- codespar.dev/servers
- Topics
- agentic-commerce, ai-agents, brazil, claude, fintech, latin-america, llm-tools, mcp, model-context-protocol, nfe, open-finance, payments, pix
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k