
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@codespar/mcp-efi
Advanced tools
MCP server for EFI (Gerencianet) — Pix charges, boleto, credit card, and carnets
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 mcp add efi -- npx @codespar/mcp-efi
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"
}
}
}
}
| Tool | Purpose |
|---|---|
create_cob | Create an immediate Pix charge (cobranca imediata) |
get_cob | Get Pix charge details by txid |
list_cobs | List Pix charges by date range |
create_charge | Create a billing charge (boleto or credit card) |
get_charge | Get charge details by ID |
create_carnet | Create a carnet (payment booklet with multiple parcels) |
get_pix_key | Get details of a registered Pix key |
create_pix_evp | Create a random Pix key (EVP/alias) |
create_cobv | Create a Pix due charge (cobranca com vencimento). |
get_cobv | Get Pix due charge (cobv) details by txid |
update_cobv | Update an existing Pix due charge (cobv) by txid |
create_devolucao | Request a Pix devolution (refund) on a received Pix transaction |
get_devolucao | Get details of a Pix devolution by e2eId and devolution id |
list_pix_received | List received Pix transactions (recebidos) by date range |
delete_pix_key | Delete a registered Pix key (DICT) |
register_webhook | Register a webhook URL for a given Pix key |
list_webhooks | List registered webhooks by date range |
delete_webhook | Delete the webhook registered for a Pix key |
EFI uses OAuth2 client credentials. The server automatically manages token refresh.
EFI provides a sandbox at pix-h.api.efipay.com.br. Set EFI_SANDBOX=true to use it.
| Variable | Required | Description |
|---|---|---|
EFI_CLIENT_ID | Yes | OAuth2 client ID |
EFI_CLIENT_SECRET | Yes | OAuth2 client secret |
EFI_SANDBOX | No | Set to "true" for sandbox mode |
create_devolucao — Create a Pix refund (devolucao)get_devolucao — Get Pix refund detailslist_locations — List Pix payload locationscreate_webhook — Register a webhook for Pix notificationsupdate_cob — Update an existing Pix chargebatch_charges — Create multiple charges in a single requestsplit_payments — Configure split payment rulesWant to contribute? Open a PR or request a tool.
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.
MIT
FAQs
MCP server for EFI (Gerencianet) — Pix, charges, carnets, cobranças
We found that @codespar/mcp-efi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.