About mcp-ebanx
mcp-ebanx is an MCP server for EBANX, a cross-border payment provider for Latin America. It offers tools for payments, refunds, payouts and exchange rates, with a sandbox mode for testing. It suits developers who handle regional payments through an MCP client.
Key features
- 01Payment creation for boleto, credit card and Pix
- 02Refunds and capture of authorized payments
- 03Single and mass payouts to bank accounts
- 04LATAM tax document validation and webhook signature checks
Use cases
- 01Integrating several local payment methods in Latin America
- 02Sending batch payouts to bank accounts
- 03Testing payment flows in the EBANX sandbox
MCP support
This is an MCP server that exposes 18 tools to MCP clients for calling EBANX payment and payout endpoints.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
18Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Customer name |
| string | Yes | Customer email | |
| country | string | Yes | Country code (e.g. BR) |
| document | string | Yes | CPF or CNPJ |
| amount_total | number | Yes | Total amount |
| currency_code | string | Yes | Currency (e.g. BRL, USD) |
| payment_type_code | enum | Yes | Payment typeboleto | creditcard | pix | debitcard |
| merchant_payment_code | string | Yes | Unique merchant payment code |
Details
From the project README@codespar/mcp-ebanx
MCP server for EBANX — cross-border payments for Latin America
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"ebanx": {
"command": "npx",
"args": ["-y", "@codespar/mcp-ebanx"],
"env": {
"EBANX_INTEGRATION_KEY": "your-key",
"EBANX_SANDBOX": "true"
}
}
}
}
Claude Code
claude mcp add ebanx -- npx @codespar/mcp-ebanx
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"servers": {
"ebanx": {
"command": "npx",
"args": ["-y", "@codespar/mcp-ebanx"],
"env": {
"EBANX_INTEGRATION_KEY": "your-key",
"EBANX_SANDBOX": "true"
}
}
}
}
Tools (18)
| Tool | Purpose |
|---|---|
create_payment | Create a payment in EBANX (boleto, credit card, PIX, etc.) |
get_payment | Get payment details by hash |
list_payments | List payments by date range |
refund | Refund a payment (full or partial) |
create_payout | Create a payout to a bank account |
exchange_rate | Get current exchange rate for a currency pair |
get_banks | List available banks for a country |
query_payment_by_merchant_code | Get payment details by merchant_payment_code (alternative to hash) |
capture_payment | Capture a previously authorized credit card payment (full or partial). |
cancel_payment | Cancel/void a pending payment by hash (e.g. |
create_mass_payout | Create a mass payout — multiple payouts in a single batch request. |
get_payout | Query a payout by external_reference or payout id. |
simulate_payment | Simulate the response of a payment in sandbox without persisting it (useful for integration testing). |
list_payment_methods | List available payment methods for a country (which payment_type_codes are supported). |
create_card_token | Tokenize a credit/debit card for reuse without re-collecting card data. |
delete_card_token | Delete a previously stored card token. |
validate_document | Validate a LATAM tax document (CPF/CNPJ for BR, RFC for MX, DNI for AR/PE) using checksum/format rules. |
verify_notification | Verify an EBANX webhook notification HMAC signature against the integration key. |
Authentication
EBANX uses an integration key passed in the request body/query parameters.
Sandbox / Testing
EBANX provides a sandbox at sandbox.ebanx.com. Set EBANX_SANDBOX=true to use it.
Get your credentials
- Go to EBANX Dashboard
- Create a developer account
- Get your integration key
- Set the
EBANX_INTEGRATION_KEYenvironment variable
Environment Variables
| Variable | Required | Description |
|---|---|---|
EBANX_INTEGRATION_KEY | Yes | Integration key from EBANX dashboard |
EBANX_SANDBOX | No | Set to "true" for sandbox mode |
Roadmap
v0.2 (planned)
create_subscription— Create a recurring subscriptioncancel_payment— Cancel a pending paymentget_merchant_info— Get merchant account informationcreate_split— Create split payment rules
v0.3 (planned)
batch_payouts— Process multiple payouts in a single requestdetailed_reports— Generate detailed financial reports
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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.