Skip to content
FunCoding

mcp-efi

Listed in the official MCP Registry

MCP server for EFI (Gerencianet) — Pix, charges, carnets, cobranças

Star
278
Category
Finance
Version
v0.2.2
License
MIT
Last commit
Nov 13, 2026

@codespar/mcp-efi

MCP server for EFI (Gerencianet) — Pix charges, boleto, credit card, and carnets

npm License: MIT

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "efi": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-efi"],
      "env": {
        "EFI_CLIENT_ID": "your-client-id",
        "EFI_CLIENT_SECRET": "your-client-secret",
        "EFI_SANDBOX": "true"
      }
    }
  }
}

Claude Code

claude mcp add efi -- npx @codespar/mcp-efi

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "efi": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-efi"],
      "env": {
        "EFI_CLIENT_ID": "your-client-id",
        "EFI_CLIENT_SECRET": "your-client-secret",
        "EFI_SANDBOX": "true"
      }
    }
  }
}

Tools (18)

ToolPurpose
create_cobCreate an immediate Pix charge (cobranca imediata)
get_cobGet Pix charge details by txid
list_cobsList Pix charges by date range
create_chargeCreate a billing charge (boleto or credit card)
get_chargeGet charge details by ID
create_carnetCreate a carnet (payment booklet with multiple parcels)
get_pix_keyGet details of a registered Pix key
create_pix_evpCreate a random Pix key (EVP/alias)
create_cobvCreate a Pix due charge (cobranca com vencimento).
get_cobvGet Pix due charge (cobv) details by txid
update_cobvUpdate an existing Pix due charge (cobv) by txid
create_devolucaoRequest a Pix devolution (refund) on a received Pix transaction
get_devolucaoGet details of a Pix devolution by e2eId and devolution id
list_pix_receivedList received Pix transactions (recebidos) by date range
delete_pix_keyDelete a registered Pix key (DICT)
register_webhookRegister a webhook URL for a given Pix key
list_webhooksList registered webhooks by date range
delete_webhookDelete the webhook registered for a Pix key

Authentication

EFI uses OAuth2 client credentials. The server automatically manages token refresh.

Sandbox / Testing

EFI provides a sandbox at pix-h.api.efipay.com.br. Set EFI_SANDBOX=true to use it.

Get your credentials

  1. Go to EFI Pay Dashboard
  2. Create an account
  3. Register an application to get OAuth2 credentials
  4. Set the environment variables

Environment Variables

VariableRequiredDescription
EFI_CLIENT_IDYesOAuth2 client ID
EFI_CLIENT_SECRETYesOAuth2 client secret
EFI_SANDBOXNoSet to "true" for sandbox mode

Roadmap

v0.2 (planned)

  • create_devolucao — Create a Pix refund (devolucao)
  • get_devolucao — Get Pix refund details
  • list_locations — List Pix payload locations
  • create_webhook — Register a webhook for Pix notifications
  • update_cob — Update an existing Pix charge

v0.3 (planned)

  • batch_charges — Create multiple charges in a single request
  • split_payments — Configure split payment rules

Want to contribute? Open a PR or request a tool.

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Similar MCP servers

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k216 new stars in the last 7 days

Featured

CCXT

Connect to 100+ exchanges and prediction markets, fetch market data, manage orders and accounts.

CCccxt/ccxt45k68 new stars in the last 7 days

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k138 new stars in the last 7 days

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k25 new stars in the last 7 days

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k66 new stars in the last 7 days

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k13 new stars in the last 7 days