
Mcp Efi
io.github.codesparPublished by GitHub account codesparv0.2.2Updated Oct 24, 2026
MCP server for EFI (Gerencianet) — Pix, charges, carnets, cobranças
Overview
Local MCP server for the EFI (Gerencianet) payment API, letting an assistant create and inspect Pix charges, boletos, carnets and webhooks.
- What you can do
- Create and look up immediate Pix charges (cob) by txid, and list charges by date range
- Create and read billing charges (boleto or credit card) and multi-parcel carnets
- Create, read and update Pix due charges (cobv), and request or inspect Pix refunds (devolução)
- List received Pix transactions and manage Pix keys, including creating random EVP keys and deleting keys
- Register, list and delete Pix webhooks for a key
- When to use it
- Useful when an assistant should work with a Brazilian EFI/Gerencianet merchant account: drafting Pix charges, checking payment status, issuing boletos or carnets, or handling refunds and webhook setup. Test against the sandbox first before touching live payments.
- Requirements
- Runs locally via npx (Node.js) over stdio. Needs an EFI Pay account and an OAuth2 application; the README sets EFI_CLIENT_ID and EFI_CLIENT_SECRET, and the manifest lists EFI_CLIENT_SECRET as a required secret. Optional EFI_SANDBOX=true switches to the sandbox. Network access to the EFI API is required.
Installation
In SourceWeft
- Open Mcp Efi in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@codespar/mcp-efi
MCP server for EFI (Gerencianet) — Pix charges, boleto, credit card, and carnets
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Claude Code
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
Tools (18)
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
- Go to EFI Pay Dashboard
- Create an account
- Register an application to get OAuth2 credentials
- Set the environment variables
Environment Variables
Roadmap
v0.2 (planned)
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 charge
v0.3 (planned)
batch_charges— Create multiple charges in a single requestsplit_payments— Configure split payment rules
Want to contribute? Open a PR or request a tool.
Links
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
Source: packages/payments/efi/README.md at commit d0a519a
Tools
0Version history
1- v0.2.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts