Skip to main content
EF

Efi

v0.2.1OAuth2

Pix directo vía BCB, cobros y carnets. Una de las primeras fintechs autorizadas como PSP por el Banco Central de Brasil.

18 herramientas1 env vars🇧🇷 Brasilestable en npm

Qué puede hacer tu agente

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

  • create_cobCreate an immediate Pix charge (cobranca imediata)
  • get_cobGet Pix charge details by txid
  • list_cobsList Pix charges by date range
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_cob", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-efi

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": {
    "efi": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-efi"
      ],
      "env": {
        "EFI_CLIENT_SECRET": "<your_efi_client_secret>"
      }
    }
  }
}

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

Variables de entorno · 1

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

EFI_CLIENT_SECRET
obligatoriosecret

API key for efi

Herramientas disponibles · 18

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

WRITEcreate_cob
Create an immediate Pix charge (cobranca imediata)
READget_cob
Get Pix charge details by txid
READlist_cobs
List Pix charges by date range
WRITEcreate_charge
Create a billing charge (boleto or credit card)
WRITEget_charge
Get charge details by ID
WRITEcreate_carnet
Create a carnet (payment booklet with multiple parcels)
READget_pix_key
Get details of a registered Pix key
WRITEcreate_pix_evp
Create a random Pix key (EVP/alias)

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-efi` 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.
Efi — MCP server · 18 tools | CodeSpar