Pagos transfronterizos en LatAm a través de una sola API. Más de 15 países, métodos locales (Pix, OXXO, PSE, SPEI, boleto) + tarjetas. La abstracción de una llamada y múltiples países que los PSPs por país no pueden ofrecer solos.
dLocal le da a tu agente 18 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.
create_payment — Create a payment (pay-in) in a LatAm country using a local payment method. Returns the payment object with a status and, for voucher/QR methods, the redirect/display data.get_payment — Get payment status and full detail by dLocal payment id.get_payment_by_order_id — Get a payment by the merchant-side order_id supplied at creation time. Useful when the agent only kept its own reference and not dLocal's id.// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_payment", { /* ... */ });$ npm install @codespar/mcp-dlocalAgregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).
{
"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>"
}
}
}
}Después de reiniciar, tu agente puede llamar cualquiera de las 18 herramientas de abajo — probá create_payment primero.
Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.
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.
Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.
create_paymentget_paymentget_payment_by_order_idlist_paymentscapture_paymentcancel_paymentcreate_refundget_refundMCP es un protocolo — cualquier framework que lo hable puede montar este server.