Skip to main content
RI

Rinne

v0.1.0API Key

Adquirência de cartão, Pix, cartões salvos e 3D Secure em uma hierarquia de organização/merchant. Seu agente cadastra merchants, roda transações de cartão e Pix, e movimenta payouts via cashouts e banking.

62 ferramentas5 env vars🇧🇷 Brasilestável no npm

O que seu agente faz

O Rinne dá ao seu agente 62 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer cliente MCP.

  • get_companyGet the authenticated company (organization or merchant, depending on the API key's scope).
  • update_companyUpdate the authenticated company. All fields optional.
  • create_merchantCreate a new merchant under your organization. Requires KYC data. Financial fields may be required by specific affiliation providers later.
Exemplo de chamada
// 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("get_company", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-rinne

Quickstart

Adicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "rinne": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-rinne"
      ],
      "env": {
        "RINNE_API_KEY": "<your_rinne_api_key>"
      }
    }
  }
}

Depois de reiniciar, seu agente pode chamar qualquer uma das 62 ferramentas abaixo — teste get_company primeiro.

Variáveis de ambiente · 5

Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.

RINNE_API_KEY
obrigatóriosecret

API key sent as x-api-key header on every request. Organization-level keys see all merchants; merchant-level keys are scoped to one merchant.

RINNE_SANDBOX
opcional

Defaults to sandbox (https://api-sandbox.rinne.com.br/core). Set to "false" for production (https://api.rinne.com.br/core).

RINNE_EMAIL
opcional

Login 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.

RINNE_PASSWORD
opcionalsecret

Login password paired with RINNE_EMAIL.

RINNE_COMPANY_ID
opcional

Company to select after JWT login, for accounts with access to multiple companies.

Ferramentas disponíveis · 62

Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.

READget_company
Get the authenticated company (organization or merchant, depending on the API key's scope).
WRITEupdate_company
Update the authenticated company. All fields optional.
WRITEcreate_merchant
Create a new merchant under your organization. Requires KYC data. Financial fields may be required by specific affiliation providers later.
READlist_merchants
List merchants under your organization.
READget_merchant
Get merchant details by ID.
WRITEupdate_merchant
Update a merchant. All fields optional besides merchant_id.
WRITEcreate_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.
WRITEregister_affiliation
Register a gateway-mode affiliation — bring an existing account/credentials with the provider instead of having Rinne provision a new one.

Frameworks compatíveis

MCP é um protocolo — qualquer framework que o fale pode montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Qualquer cliente MCPProtocolo

Perguntas frequentes

Rode `npx -y @codespar/mcp-rinne` e adicione o bloco de config acima ao seu cliente MCP — Claude, Cursor, VS Code ou qualquer cliente compatível com MCP. Sem build, sem SDK. Prefere hospedado? O tier gerenciado da CodeSpar roda pra você, com a auth resolvida.
Rinne — MCP server · 62 tools | CodeSpar