mcpField
M
mcp-ebanx

mcp-ebanx

Local
github.com/codesparFinance275Updated 4w ago

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

  1. 01Payment creation for boleto, credit card and Pix
  2. 02Refunds and capture of authorized payments
  3. 03Single and mass payouts to bank accounts
  4. 04LATAM tax document validation and webhook signature checks

Use cases

  1. 01Integrating several local payment methods in Latin America
  2. 02Sending batch payouts to bank accounts
  3. 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.

mcp.json · Universal config
{
"mcpServers": {
"codespar-mcp-ebanx": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ebanx"
],
"env": {
"EBANX_API_KEY": "<EBANX_API_KEY>"
}
}
}
}
Run commandnpx -y @codespar/mcp-ebanx
Environment variables to set
EBANX_API_KEYSecretAPI key for ebanx

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@codespar/mcp-ebanx0.2.2

Tools

18

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
namestringYesCustomer name
emailstringYesCustomer email
countrystringYesCountry code (e.g. BR)
documentstringYesCPF or CNPJ
amount_totalnumberYesTotal amount
currency_codestringYesCurrency (e.g. BRL, USD)
payment_type_codeenumYesPayment typeboleto | creditcard | pix | debitcard
merchant_payment_codestringYesUnique merchant payment code

Details

From the project README

@codespar/mcp-ebanx

MCP server for EBANX — cross-border payments for Latin America

npm License: MIT

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)

ToolPurpose
create_paymentCreate a payment in EBANX (boleto, credit card, PIX, etc.)
get_paymentGet payment details by hash
list_paymentsList payments by date range
refundRefund a payment (full or partial)
create_payoutCreate a payout to a bank account
exchange_rateGet current exchange rate for a currency pair
get_banksList available banks for a country
query_payment_by_merchant_codeGet payment details by merchant_payment_code (alternative to hash)
capture_paymentCapture a previously authorized credit card payment (full or partial).
cancel_paymentCancel/void a pending payment by hash (e.g.
create_mass_payoutCreate a mass payout — multiple payouts in a single batch request.
get_payoutQuery a payout by external_reference or payout id.
simulate_paymentSimulate the response of a payment in sandbox without persisting it (useful for integration testing).
list_payment_methodsList available payment methods for a country (which payment_type_codes are supported).
create_card_tokenTokenize a credit/debit card for reuse without re-collecting card data.
delete_card_tokenDelete a previously stored card token.
validate_documentValidate a LATAM tax document (CPF/CNPJ for BR, RFC for MX, DNI for AR/PE) using checksum/format rules.
verify_notificationVerify 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
  1. Go to EBANX Dashboard
  2. Create a developer account
  3. Get your integration key
  4. Set the EBANX_INTEGRATION_KEY environment variable

Environment Variables

VariableRequiredDescription
EBANX_INTEGRATION_KEYYesIntegration key from EBANX dashboard
EBANX_SANDBOXNoSet to "true" for sandbox mode

Roadmap

v0.2 (planned)
  • create_subscription — Create a recurring subscription
  • cancel_payment — Cancel a pending payment
  • get_merchant_info — Get merchant account information
  • create_split — Create split payment rules
v0.3 (planned)
  • batch_payouts — Process multiple payouts in a single request
  • detailed_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

Markdown supported

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.