Skip to main content
R

Rede

@codespar/mcp-rede Β· v0.2.0-alpha.3

πŸ‡§πŸ‡· BrazilPaymentsAuth Β· API Keybeta22 tools3 env varsprerelease

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.

Get started Β· freeView docs

MIT Β· runs locally with your own credentials

Limitations

  • v0.2.0-alpha.3 is a prerelease; npm has no stable release of this package.
  • Hosted calls with a test key are not available: the runtime has not recorded this provider's test behaviour (test venue unclassified).
Package
@codespar/mcp-rede
Version
0.2.0-alpha.3 Β· prerelease
npm dist-tag
latest
Category
Payments
Auth
API Key
Country
πŸ‡§πŸ‡· Brazil
License
MIT
Transport
stdio Β· streamable-http

Quickstart

Install, set the credentials, make the first call.

Pick your client. The server runs locally over stdio, with your own credentials.

Add the server to your clientOne config entry. No build step, no SDK required.
Set the environment variables3 variables read by this server's code, listed below.
Restart and make the first callThe agent can call any of the 22 tools. Try authorize_transaction first.
terminal
# Claude Code claude mcp add rede -e REDE_ENV=… -e REDE_PV=… -e REDE_TOKEN=… -- npx -y @codespar/mcp-rede@0.2.0-alpha.3 # then: /mcp to confirm the server is connected
Environment variables3 variables
REDE_ENVEnvironment selector: 'sandbox' (default) or 'production'.optional
REDE_PVRede merchant filiaΓ§Γ£o (PV) β€” numeric merchant identifier issued with your commercial contract.required
REDE_TOKENRede API security token paired with PV. Used in HTTP Basic auth as the password.requiredsecret

Names read from the package code (@codespar/mcp-rede@0.2.0-alpha.3). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials.

First call demoauthorize_transaction

"Authorize a credit card transaction on Rede. Set capture=true to authorize + capture atomically; capture=false to authorize only"

tools/callauthorize_transactionresult returned

Tools

What your agent can call.

22 tools, as the package's tools/list returns them.

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.

refund_transaction

Refund a captured transaction. Pass amount for a partial refund; omit for full. Same endpoint as cancel; amount controls the behaviour.

get_transaction

Retrieve a transaction by Rede tid OR by merchant reference. Pass exactly one of tid or reference.

zero_auth

Validate a card without charging (zero-auth / account verification). Returns whether the card is authorizable, without creating a transaction.

tokenize_card

Tokenize a card for PCI-safe reuse. Returns a token (storageCard) to pass into authorize_transaction.storageCard.

delete_token

Delete a previously created card token.

create_recurrence

Create a native Rede recurrence (subscription). Rede handles retries and cardholder updates automatically.

get_recurrence

Retrieve a recurrence by Rede recurrence id.

disable_recurrence

Disable (cancel) an active recurrence. Stops all future billings.

authorize_debit

Authorize a debit card transaction on Rede. Requires a prior 3DS authentication β€” pass threeDSecure.embedded=true and a valid threeDSecure reference, or use authorize_with_3ds after authenticate_3ds.

Names and descriptions come from the package's tools/list (@codespar/mcp-rede@0.2.0-alpha.3). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

codespar_discover lists this server's tools, but a project with a test key cannot call them yet: the runtime has not recorded what this provider does in test mode, and refuses rather than guess.

Protocol

Any MCP client

stdio Β· streamable-http

Questions

Before you install.

How do I install the Rede MCP server?

Run npx -y @codespar/mcp-rede@0.2.0-alpha.3 and add the config block above to your MCP client: Claude Code, Cursor, Claude Desktop, VS Code, or any MCP-compatible client. No build step, no SDK required.

What can my agent do with Rede?

Rede exposes 22 tools for payments. Your agent calls them directly; the full list is above.

How does Rede authenticate, and how are credentials stored?

Rede uses API Key. Self-hosted, you hold the credentials: the server reads them from its environment variables.

How does Rede handle upstream API changes?

Every server is versioned independently on npm. The command on this page pins 0.2.0-alpha.3, the version whose tools are listed here; your agent keeps running it until you change the version.

Is Rede open source? How do I report a bug?

Yes. Rede is MIT-licensed and published on npm as @codespar/mcp-rede, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

Add the config above, set the variables, and your agent calls the tools.

Start in seconds demo
Add the server to your client with the config above.
Set the environment variables listed above.
Ask your agent for the first call.
Rede β€” MCP server Β· 22 tools | CodeSpar