# Codespar Dlocal MCP server

Source: https://glimind.com/server/mcp-registry%2Fio.github.codespar%2Fmcp-dlocal
Registry id: `mcp-registry/io.github.codespar/mcp-dlocal`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "codespar-dlocal-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-dlocal"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add codespar-dlocal-mcp-server -- npx -y @codespar/mcp-dlocal
```

## Tools (18)

- `cancel_payment`: Cancel an authorized-but-not-captured payment, or void a PENDING payment.
- `capture_payment`: Capture an AUTHORIZED card payment.
- `create_card_token`: Tokenize a card for use in DIRECT-flow create_payment.
- `create_payment`: Create a payment (pay-in) in a LatAm country using a local payment method.
- `create_payout`: Send money out to a beneficiary in a LatAm country.
- `create_refund`: Refund a captured payment.
- `get_balance`: Get the merchant's current available balance per currency.
- `get_exchange_rate`: Query the dLocal FX rate for a destination country/currency pair.
- `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.
- `get_payout`: Get payout status by dLocal payout id.
- `get_payout_by_external_id`: Get a payout by the merchant external_id / order_id supplied at creation time.
- `get_refund`: Get refund status by refund id.
- `list_payment_methods`: List all payment methods available for a given country.
- `list_payments`: List payments with optional date / country / status filters.
- `list_payouts`: List payouts with optional date / country / status filters.
- `list_refunds`: List refunds, optionally scoped to a payment_id.
- `validate_document`: Validate a LatAm tax/identity document (CPF or CNPJ in BR, CUIT/CUIL/DNI in AR, RUT in CL/UY, RFC/CURP in M...

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
