LatAm cross-border payments through a single API. 15+ countries, local methods (Pix, OXXO, PSE, SPEI, boleto) + cards. The one call, multi-country abstraction per-country PSPs can't provide on their own.
$ npm install @codespar/mcp-dlocalAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"dlocal": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-dlocal"
],
"env": {
"DLOCAL_LOGIN": "<your_dlocal_login>",
"DLOCAL_TRANS_KEY": "<your_dlocal_trans_key>",
"DLOCAL_SECRET_KEY": "<your_dlocal_secret_key>"
}
}
}
}After restart, your agent can call any of the 18 tools below โ try create_payment first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
DLOCAL_LOGINdLocal API Login (X-Login header)
DLOCAL_TRANS_KEYdLocal API Trans-Key (X-Trans-Key header)
DLOCAL_SECRET_KEYdLocal API Secret Key used to sign V2 HMAC-SHA256 requests
DLOCAL_BASE_URLdLocal API base URL. Defaults to https://api.dlocal.com (prod). Use https://sandbox.dlocal.com for sandbox.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
create_paymentget_paymentget_payment_by_order_idlist_paymentscapture_paymentcancel_paymentcreate_refundget_refundMCP is a protocol โ any framework that speaks it can mount this server.