Skip to main content
R

Rinne

@codespar/mcp-rinne Β· v0.1.0

πŸ‡§πŸ‡· BrazilPaymentsAuth Β· API Keybeta62 tools5 env vars

Card acquiring, PIX, cards-on-file and 3D Secure across an organization/merchant hierarchy. Your agent onboards merchants, runs card and PIX transactions, and moves payouts through cashouts and banking.

Get started Β· freeView docs

MIT Β· runs locally or through the CodeSpar runtime

Limitations

  • The server does not start without its environment variables set, not even to list its tools.
Package
@codespar/mcp-rinne
Version
0.1.0
npm dist-tag
latest
Category
Payments
Auth
API Key
Country
πŸ‡§πŸ‡· Brazil
License
MIT
Transport
stdio

Quickstart

Install, set the credentials, make the first call.

Pick your client. The server runs locally over stdio, or through the hosted runtime.

Add the server to your clientOne config entry. No build step, no SDK required.
Set the environment variables5 variables read by this server's code, listed below.
Restart and make the first callThe agent can call any of the 62 tools. Try get_company first.
terminal
# Claude Code claude mcp add rinne -e RINNE_API_KEY=… -e RINNE_COMPANY_ID=… -e RINNE_EMAIL=… -e RINNE_PASSWORD=… -e RINNE_SANDBOX=… -- npx -y @codespar/mcp-rinne@0.1.0 # then: /mcp to confirm the server is connected
Environment variables5 variables
RINNE_API_KEYAPI key sent as x-api-key header on every request. Organization-level keys see all merchants; merchant-level keys are scoped to one merchant.requiredsecret
RINNE_COMPANY_IDCompany to select after JWT login, for accounts with access to multiple companies.optional
RINNE_EMAILLogin identifier for the access-management tools (API Keys, Roles, Permissions, org Users, Zipcode lookup), which reject x-api-key by design and require a JWT session.optional
RINNE_PASSWORDLogin password paired with RINNE_EMAIL.optionalsecret
RINNE_SANDBOXDefaults to sandbox (https://api-sandbox.rinne.com.br/core). Set to "false" for production (https://api.rinne.com.br/core).optional

Names read from the package code (@codespar/mcp-rinne@0.1.0). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials. On the CodeSpar runtime the credential you connect is stored encrypted (AES-256-GCM, key derived per organization), and the runtime adds it to the provider call itself; the agent never receives it.

First call demoget_company

"Get the authenticated company"

tools/callget_companyresult returned

Tools

What your agent can call.

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

get_company

Get the authenticated company (organization or merchant, depending on the API key's scope).

update_company

Update the authenticated company. All fields optional.

create_merchant

Create a new merchant under your organization. Requires KYC data. Financial fields may be required by specific affiliation providers later.

list_merchants

List merchants under your organization.

get_merchant

Get merchant details by ID.

update_merchant

Update a merchant. All fields optional besides merchant_id.

create_affiliation

Create a merchant account with a payment provider (e.g. RINNE, CAPPTA, CELCOIN), enabling transaction processing for the given payment methods and capture channels. Starts in PENDING_APPROVAL.

register_affiliation

Register a gateway-mode affiliation β€” bring an existing account/credentials with the provider instead of having Rinne provision a new one.

list_affiliations

List affiliations. With merchant_id, scoped to that merchant; without it, lists across all merchants in the organization.

get_affiliation

Get a specific affiliation for a merchant.

store_card

Save a card on file for reuse in future transactions (via card_id).

list_cards

List cards on file.

Names and descriptions come from the package's tools/list (@codespar/mcp-rinne@0.1.0). 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.

Through the CodeSpar runtime, codespar_discover finds this server's tools, and a tools/call runs with the credential connected in your project, a test key included.

hostedhttps://connect.codespar.dev/mcp15 meta-tools

Protocol

Any MCP client

stdio

Questions

Before you install.

How do I install the Rinne MCP server?

Run npx -y @codespar/mcp-rinne@0.1.0 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. Prefer hosted? Add the CodeSpar endpoint with a test key and connect Rinne in your project; codespar_discover finds its tools.

What can my agent do with Rinne?

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

How does Rinne authenticate, and how are credentials stored?

Rinne uses API Key. Self-hosted, you hold the credentials: the server reads them from its environment variables. On the CodeSpar runtime the credential you connect is stored encrypted for your organization, and the runtime adds it to each provider call, so the agent never handles it.

How does Rinne handle upstream API changes?

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

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

Yes. Rinne is MIT-licensed and published on npm as @codespar/mcp-rinne, 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.

On the CodeSpar runtime, the credential you connect stays encrypted for your organization and the runtime adds it to each call. You just call the tool.

Start in seconds demo
Create an account and copy a test key.
Add the hosted endpoint to your client with the config above.
Connect Rinne in your project and ask your agent for the first call.
Rinne β€” MCP server Β· 62 tools | CodeSpar