mcp-rinne

v0.1.0
io.github.codespar/mcp-rinne Checked 2 days ago Published 3 months ago

Brazilian card acquiring API — merchants, cards-on-file, 3DS, PIX, banking, pricing.

Values you need

VariableWhat it is
RINNE_API_KEYrequired secret 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_SANDBOXoptional Defaults to sandbox (https://api-sandbox.rinne.com.br/core). Set to "false" for production (https://api.rinne.com.br/core).
RINNE_EMAILoptional 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_PASSWORDoptional secret Login password paired with RINNE_EMAIL.
RINNE_COMPANY_IDoptional Company to select after JWT login, for accounts with access to multiple companies.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-rinne -e 'RINNE_API_KEY=<RINNE_API_KEY>' -- npx -y @codespar/mcp-rinne@0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-rinne": {
      "args": [
        "-y",
        "@codespar/mcp-rinne@0.1.0"
      ],
      "command": "npx",
      "env": {
        "RINNE_API_KEY": "<RINNE_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-rinne": {
      "args": [
        "-y",
        "@codespar/mcp-rinne@0.1.0"
      ],
      "command": "npx",
      "env": {
        "RINNE_API_KEY": "<RINNE_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "RINNE_API_KEY",
      "id": "rinne-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-rinne": {
      "args": [
        "-y",
        "@codespar/mcp-rinne@0.1.0"
      ],
      "command": "npx",
      "env": {
        "RINNE_API_KEY": "${input:rinne-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-rinne]
command = "npx"
args = ["-y", "@codespar/mcp-rinne@0.1.0"]
env = { "RINNE_API_KEY" = "<RINNE_API_KEY>" }

For AI agents

  1. Ask the user for: RINNE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_company, update_company, create_merchant, list_merchants, get_merchant, update_merchant, create_affiliation, register_affiliation, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json