io.github.codespar/mcp-dlocal
NPM · @CODESPAR/MCP-DLOCAL · SCANNED AUG 4
MCP server for dLocal — LatAm cross-border payments, payouts, refunds across 15+ countries
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security86
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 42 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability77
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 1909 tokens (~106/item across 18 items; 18 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management30
- Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · @codespar/mcp-dlocal
claude mcp add codespar-mcp-dlocal -- npx -y @codespar/mcp-dlocal
codex mcp add codespar-mcp-dlocal -- npx -y @codespar/mcp-dlocal
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"codespar-mcp-dlocal": {
"type": "local",
"command": [
"npx",
"-y",
"@codespar/mcp-dlocal"
],
"enabled": true
}
}
} openclaw mcp add codespar-mcp-dlocal --command npx --arg -y --arg @codespar/mcp-dlocal
mcp_servers:
codespar-mcp-dlocal:
command: "npx"
args: ["-y", "@codespar/mcp-dlocal"] {
"mcpServers": {
"codespar-mcp-dlocal": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-dlocal"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 4 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.
- 3 Aug 26 +4
- Stability: unverified → 0.27 ▲ functional
- 2 Aug 26 +29
- Provenance: unverified → fail ▼ security
- Malware scan: pass → unverified ▼ security
- Known CVEs: unverified → partial ▲ security
- Install scripts: unverified → pass ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Tool coverage: 100 → unverified ▼ functional
- Schema quality: unverified → excellent ▲ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Licence: MIT functional
- 1 Aug 26 +31
- Malware scan: unverified → pass ▲ security
- Tool coverage: unverified → 100 ▲ functional
- 31 Jul 26 −41
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 27 Jul 26 46
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 4 Aug 2026 · Analysed npm/@codespar/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 94 packages
94 packages in the resolved dependency tree · 94 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
cancel_payment ~44
Cancel an authorized-but-not-captured payment, or void a PENDING payment. Card payments must be in AUTHORIZED state.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | dLocal payment id |
No output schema declared.
No examples provided.
capture_payment ~103
Capture an AUTHORIZED card payment. Omit amount for full capture; pass amount for partial capture (must be ≤ authorized amount). Card-only.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | number | — | Partial capture amount in major units. Omit for full capture. |
| currency | string | — | ISO-4217 currency code (must match original payment) |
| order_id | string | — | Optional merchant reference for the capture |
| payment_id | string | yes | Original AUTHORIZED dLocal payment id |
No output schema declared.
No examples provided.
create_card_token ~134
Tokenize a card for use in DIRECT-flow create_payment. Use the returned token in the card.token field instead of raw PAN. Required for PCI scope reduction.
| Name | Type | Req | Description |
|---|---|---|---|
| card_number | string | yes | Card PAN (digits only, no spaces) |
| country | string | — | Issuing country ISO-3166 alpha-2 (optional; helps method routing) |
| cvv | string | yes | Card verification value |
| expiration_month | number | yes | 1-12 |
| expiration_year | number | yes | 4-digit year (e.g. 2028) |
| holder_name | string | yes | Cardholder full name |
No output schema declared.
No examples provided.
create_payment ~318
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.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | number | yes | Amount in the country's currency, major units (e.g. 100 = 100 BRL, not cents) |
| callback_url | string | — | Browser redirect target after REDIRECT flow completes |
| card | object | — | For DIRECT card flow only — tokenized card object. Omit for REDIRECT. |
| country | string | yes | ISO-3166 alpha-2 country code (BR, MX, AR, CO, CL, PE, UY, EC, BO, CR, GT) |
| currency | string | yes | ISO-4217 currency code (BRL, MXN, ARS, COP, CLP, PEN, USD, etc) |
| description | string | — | Human-readable description for the payer |
| notification_url | string | — | Webhook URL dLocal calls on status changes |
| order_id | string | yes | Merchant-side order reference (appears in reports) |
| payer | object | yes | Payer identification |
| payment_method_flow | string | yes | DIRECT for tokenized card; REDIRECT for hosted flow (OXXO voucher, Pix QR, PSE bank select) |
| payment_method_id | string | yes | Method id from /payments-methods (e.g. CARD, PIX, OX, PSE, SPEI). Use list_payment_methods to enumerate for a country. |
No output schema declared.
No examples provided.
create_payout ~149
Send money out to a beneficiary in a LatAm country. Used for marketplace seller payouts, creator payouts, and cross-border settlement.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | number | yes | Payout amount in major units |
| beneficiary | object | yes | Beneficiary object with identity + destination account |
| country | string | yes | Destination country ISO-3166 alpha-2 |
| currency | string | yes | ISO-4217 currency code |
| description | string | — | Payout description |
| notification_url | string | — | Webhook URL for payout status updates |
| order_id | string | yes | Merchant-side payout reference |
| payment_method_id | string | yes | Destination method (BA for bank account, varies by country) |
No output schema declared.
No examples provided.
create_refund ~86
Refund a captured payment. Supports full refund (amount omitted) or partial refund (amount set).
| Name | Type | Req | Description |
|---|---|---|---|
| amount | number | — | Partial refund amount in major units. Omit for a full refund. |
| description | string | — | Reason or reference |
| notification_url | string | — | Webhook URL for refund status updates |
| payment_id | string | yes | Original dLocal payment id |
No output schema declared.
No examples provided.
get_balance ~18
Get the merchant's current available balance per currency.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
get_exchange_rate ~117
Query the dLocal FX rate for a destination country/currency pair. Used to preview converted amounts before a payout or USD-funded charge.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | number | — | Optional source amount to convert; the response will include the destination value |
| country | string | yes | Destination country ISO-3166 alpha-2 |
| from_currency | string | yes | Source currency ISO-4217 (typically USD or EUR) |
| to_currency | string | yes | Destination local currency ISO-4217 (BRL, MXN, ARS, etc) |
No output schema declared.
No examples provided.
get_payment ~41
Get payment status and full detail by dLocal payment id.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | dLocal payment id (e.g. D-30000-xxxx) |
No output schema declared.
No examples provided.
get_payment_by_order_id ~61
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.
| Name | Type | Req | Description |
|---|---|---|---|
| order_id | string | yes | Merchant-side order reference passed as order_id when creating the payment |
No output schema declared.
No examples provided.
get_payout ~33
Get payout status by dLocal payout id.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | dLocal payout id (P-xxxx) |
No output schema declared.
No examples provided.
get_payout_by_external_id ~61
Get a payout by the merchant external_id / order_id supplied at creation time. Mirror of get_payment_by_order_id for the payouts side.
| Name | Type | Req | Description |
|---|---|---|---|
| external_id | string | yes | Merchant-side payout reference (order_id used at create_payout time) |
No output schema declared.
No examples provided.
get_refund ~31
Get refund status by refund id.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | dLocal refund id (R-xxxx) |
No output schema declared.
No examples provided.
list_payment_methods ~92
List all payment methods available for a given country. Agents use this to dynamically discover local methods (Pix in BR, OXXO in MX, PSE in CO, etc) without hard-coding per-country logic.
| Name | Type | Req | Description |
|---|---|---|---|
| country | string | yes | ISO-3166 alpha-2 country code (BR, MX, AR, CO, CL, PE, UY, EC, BO, CR, GT) |
No output schema declared.
No examples provided.
list_payments ~162
List payments with optional date / country / status filters. Useful for reconciliation and reporting agents.
| Name | Type | Req | Description |
|---|---|---|---|
| country | string | — | ISO-3166 alpha-2 country filter |
| created_date_from | string | — | Lower bound (ISO-8601 date or datetime) |
| created_date_to | string | — | Upper bound (ISO-8601 date or datetime) |
| page | number | — | Page number (1-indexed) |
| page_size | number | — | Results per page (max 100) |
| payment_method_id | string | — | Filter by payment method (CARD, PIX, OX, etc) |
| status | string | — | Filter by status (PAID, PENDING, REJECTED, CANCELLED, EXPIRED, AUTHORIZED, VERIFIED) |
No output schema declared.
No examples provided.
list_payouts ~127
List payouts with optional date / country / status filters. Useful for settlement reconciliation across countries.
| Name | Type | Req | Description |
|---|---|---|---|
| country | string | — | ISO-3166 alpha-2 country filter |
| created_date_from | string | — | Lower bound (ISO-8601) |
| created_date_to | string | — | Upper bound (ISO-8601) |
| page | number | — | Page number (1-indexed) |
| page_size | number | — | Results per page (max 100) |
| status | string | — | Filter by status (PAID, PENDING, REJECTED, CANCELLED) |
No output schema declared.
No examples provided.
list_refunds ~108
List refunds, optionally scoped to a payment_id. Useful for reconciling partial refunds against the original charge.
| Name | Type | Req | Description |
|---|---|---|---|
| created_date_from | string | — | Lower bound (ISO-8601) |
| created_date_to | string | — | Upper bound (ISO-8601) |
| page | number | — | Page number (1-indexed) |
| page_size | number | — | Results per page (max 100) |
| payment_id | string | — | Optional — only return refunds for this payment id |
No output schema declared.
No examples provided.
validate_document ~157
Validate a LatAm tax/identity document (CPF or CNPJ in BR, CUIT/CUIL/DNI in AR, RUT in CL/UY, RFC/CURP in MX, etc). Returns whether the document is well-formed and, when supported, registry-validated.
| Name | Type | Req | Description |
|---|---|---|---|
| country | string | yes | ISO-3166 alpha-2 (BR, AR, CL, UY, MX, CO, PE, EC, BO, CR, GT) |
| document | string | yes | Document number (digits only when applicable) |
| document_type | string | yes | Document type code (CPF, CNPJ, CUIT, CUIL, DNI, RUT, RFC, CURP, NIT, RUC, CI) |
No output schema declared.
No examples provided.