Skip to main content
EB

EBANX

v0.2.0API Key

Cross-border payments for LatAm: local payment methods, FX conversion, and mass payouts. Your agent sells globally and settles locally.

18 tools1 env vars๐Ÿ‡ง๐Ÿ‡ท Brazilstable on npm

Install

terminal
$ npm install @codespar/mcp-ebanx

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "ebanx": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-ebanx"
      ],
      "env": {
        "EBANX_API_KEY": "<your_ebanx_api_key>"
      }
    }
  }
}

After restart, your agent can call any of the 18 tools below โ€” try create_payment first.

Environment variables ยท 1

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

EBANX_API_KEY
requiredsecret

API key for ebanx

Available tools ยท 18

Each tool is independent โ€” your agent loads only what it needs to reduce context and response time.

WRITEcreate_payment
Create a payment in EBANX (boleto, credit card, PIX, etc.)
WRITEget_payment
Get payment details by hash
WRITElist_payments
List payments by date range
DELETErefund
Refund a payment (full or partial)
WRITEcreate_payout
Create a payout to a bank account
READexchange_rate
Get current exchange rate for a currency pair
READget_banks
List available banks for a country
WRITEquery_payment_by_merchant_code
Get payment details by merchant_payment_code (alternative to hash)

Compatible frameworks

MCP is a protocol โ€” any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

All credentials are encrypted at rest in an isolated vault scoped per organization. OAuth2 tokens are automatically refreshed before expiry. Your agent code never sees raw secrets โ€” it receives scoped, short-lived session tokens.
Servers โ€” Every LatAm commerce API your agent needs | CodeSpar