Fale com Vendas

dLocal MCP Server is here, and it changes everything

2 min. leitura
dLocal MCP Server is here, and it changes everything

If you’ve ever built a payments integration, you know the drill: tabs full of documentation, trial-and-error API calls, and vague error messages that slow you down. We’ve been there. So we built something better.

Introducing the dLocal MCP Server (Model Context Protocol) — a developer-first tool that helps you access structured integration knowledge directly inside your GenAI-enabled IDE. Whether you use Copilot, Cursor, Claude, or another assistant, MCP brings dLocal documentation right to where you’re writing code.
 

Why developers use it

With dLocal MCP, you can:

  • Ask integration questions directly inside your IDE

  • Get clear, contextual answers from our official documentation

  • Follow best practices without digging through doc sites

  • Stay focused in your editor, not in browser tabs
     

This is more than a convenience—it’s a new way to access context without leaving your flow.

How it works

The dLocal MCP Server acts as a bridge between your GenAI tool and dLocal’s public documentation. When you ask integration-related questions, it returns structured, relevant answers from our guides and support docs—tailored to your coding context.

To set it up, add this to your MCP client config:

Save the file, restart the client, and you're ready to go.
Full setup guide
 

Real use case: implementing Smart Fields without context switching

Let’s say you're integrating Smart Fields, our PCI-compliant front-end library for secure card tokenization.

Instead of bouncing between doc pages and examples, just ask in your IDE:

    “How do I use dLocal Smart Fields in React to tokenize a card?”

You’ll get back real-world examples, like this full React implementation:

See the full code on GitHub

Combined with a simple submit handler, it lets you:

  • Mount the card field
  • Collect user input
  • Create a token with dlocal.createToken(card, payload)
  • Send it securely to your backend

That’s production-ready code, delivered in context—without leaving your IDE.

Smarter prompts, better results

Even vague prompts are optimized before being answered. You ask:

    “How to create a UI for Pago Efectivo?”

MCP turns it into:

    “Show a front-end example for Pago Efectivo in Peru using dLocal’s redirect flow, including payment link generation, expiration handling, and localization tips.”

The result includes:

  • Correct payment_method_id
  • A properly structured /v1/payments request
  • UI and UX tips for better conversion

No guessing. No switching tabs. Just the answer you need.

Business impact

MCP helps developers move faster—so businesses can too:

  • Speed up time to market
  • Reduce implementation mistakes
  • Lower support overhead
  • Ramp up new devs faster

For merchants expanding in regions like LATAM, Africa, or Southeast Asia, this means real operational impact.

“dLocal MCP is a big step toward faster, smoother integrations. I support developers every day, and I know how valuable it is to get the right guidance—right when you need it. Now, you can stay in your IDE and keep building. This is just the beginning.”

Luis Hlatki - Lead Technical Account Manager at dLocal

Ready to get started?

Let’s build the future of payments—smarter, faster, and with fewer tabs open.

Comunique-se com nossos especialistas em pagamentos.

Ajudamos empresas globais como Amazon, Spotify e Microsoft a encontrar novas oportunidades em mercados de alto crescimento. Pensemos juntos e de forma inovadora soluções de pagamento personalizadas para o seu negócio. Preencha este formulário e entraremos em contato com você o mais breve possível.

Contate-nos Contate-nos
Procurando oportunidades de crescimento internacional?

Descubra como ter sucesso em mercados emergentes com nosso Manual de Pagamentos.

Obtenha acesso hoje!
Descubra como ter sucesso em mercados emergentes com nosso Manual de Pagamentos.
Emerging Markets Payments Handbook 2025

Seja o primeiro a receber sua cópia digital diretamente na sua caixa de entrada assim que for lançada.

Entre na lista de espera