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:
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.
Get in touch with our payment experts
We help global companies such as Amazon, Spotify, and Microsoft find new opportunities in high-growth markets. Let's think outside the box for tailor-made payment solutions for your business. Fill out this form, and we'll get back to you as soon as possible.
Contact us