Skip to main content
MA

Matera

v0.2.0-alpha.2OAuth2alpha

Infraestructura de core-banking brasileña (BaaS). Procesa cerca del 10% del Pix de Brasil según case studies por proveedor. No es PSP — son los rieles por debajo de las fintechs. Para empresas que construyen sobre Pix en vez de aceptarlo como merchant. Release alpha en npm — paths de endpoint pendientes de verificación en la doc.

22 herramientas3 env vars🇧🇷 Brasilalpha — validación pendiente

Qué puede hacer tu agente

Matera le da a tu agente 22 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • create_pix_charge_staticCreate a static Pix charge (reusable QR code tied to a merchant Pix key). Returns EMV copy-paste payload and QR code image. Use for points-of-sale or donations where the same QR is shown to many payers.
  • create_pix_charge_dynamicCreate a dynamic Pix charge (single-use QR with expiration). Returns txid, EMV copy-paste, and QR image. Preferred for e-commerce checkouts and invoices.
  • get_pix_chargeRetrieve a Pix charge (static or dynamic) by txid.
Ejemplo de llamada
// 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("create_pix_charge_static", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-matera@alpha

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "matera": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-matera@alpha"
      ],
      "env": {
        "MATERA_CLIENT_ID": "<your_matera_client_id>",
        "MATERA_CLIENT_SECRET": "<your_matera_client_secret>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 22 herramientas de abajo — probá create_pix_charge_static primero.

Variables de entorno · 3

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

MATERA_CLIENT_ID
obligatorio

OAuth2 client_id issued by Matera

MATERA_CLIENT_SECRET
obligatoriosecret

OAuth2 client_secret issued by Matera

MATERA_BASE_URL
opcional

API base URL. Defaults to https://api.matera.com (production)

Herramientas disponibles · 22

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

WRITEcreate_pix_charge_static
Create a static Pix charge (reusable QR code tied to a merchant Pix key). Returns EMV copy-paste payload and QR code image. Use for points-of-sale or donations where the same QR is shown to many payers.
WRITEcreate_pix_charge_dynamic
Create a dynamic Pix charge (single-use QR with expiration). Returns txid, EMV copy-paste, and QR image. Preferred for e-commerce checkouts and invoices.
WRITEget_pix_charge
Retrieve a Pix charge (static or dynamic) by txid.
WRITElist_pix_charges
List immediate Pix charges (BCB /cob) with date and status filters. Use for reconciling QR-driven receipts in a time window.
WRITEupdate_pix_charge
Update an immediate Pix charge (BCB PATCH /cob/{txid}). Use to revise amount/expiration before payment, or to mark a charge REMOVIDA_PELO_USUARIO_RECEBEDOR.
WRITEcreate_pix_charge_due
Create a due-dated Pix charge (BCB /cobv — Pix com Vencimento). Boleto-style charge with due date, late fee (multa), interest (juros), and discount fields. Returns txid + QR payload.
WRITEget_pix_charge_due
Retrieve a due-dated Pix charge (BCB GET /cobv/{txid}).
WRITEcreate_pix_payment
Initiate an outbound Pix transfer (ordem de pagamento). Moves money from a debtor account held on Matera to any Pix key in BR. Returns endToEndId once the BCB SPI confirms.

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

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

Preguntas frecuentes

Corré `npx -y @codespar/mcp-matera` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Matera — MCP server · 22 tools | CodeSpar