The Model Context Protocol (MCP) is an open standard that lets AI assistants search and read documentation directly. Your AI tools can look up API references, integration guides, and code examples without leaving your editor.Documentation Index
Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
Use this file to discover all available pages before exploring further.
Server URL
The Dintero MCP server is available at:Connect your AI tool
- Claude Code
- Cursor
- VS Code (Copilot)
- Claude (web)
Run this command in your terminal:Verify the connectionThe server is now available in all Claude Code sessions. Ask Claude to search the Dintero docs when you need API details or integration guidance.
Available tools
The MCP server exposes two tools:| Tool | Description |
|---|---|
| Search | Full-text search across all documentation pages. Returns matching snippets with titles and links. |
| Query filesystem | Read page content, browse the docs structure, and extract specific sections. Supports batch reads across multiple pages in a single call. |
Example: Build a checkout integration
With the MCP server connected, your AI assistant can guide you through a full integration by pulling details directly from the Dintero docs. Here’s how a typical conversation might look:Set up authentication
Prompt: “How do I authenticate with the Dintero API? Show me how to get an access token in Node.js.”The assistant looks up the auth service docs and returns working code using your account’s OAuth 2.0 client credentials flow.
Create a checkout session
Prompt: “I need to start a payment for a 299 NOK order with one item. How do I set that up with the Dintero API?”The assistant reads the session API reference and generates a request with the correct endpoint, amount format (smallest currency unit), and required fields.
Display the checkout
Prompt: “How do I embed the Dintero checkout in my React app?”The assistant finds the Web SDK docs and shows you how to install
@dintero/checkout-web-sdk and use the embed function with your session ID.Handle the payment result
Prompt: “What happens after the customer pays? How do I verify the transaction?”The assistant pulls from After payment to explain the callback and return URL flow, transaction statuses, and how to handle
ON_HOLD scenarios.Capture and refund
Prompt: “Show me how to capture this transaction, and how to do a partial refund later.”The assistant reads the transaction management docs and returns the correct capture and refund endpoints with example payloads.
More example prompts
Beyond the checkout flow, try prompts like:- “How do I set up webhooks for transaction events in Dintero?”
- “What test card numbers can I use in the Dintero sandbox?”
- “Show me how to configure Express Checkout with shipping options”
- “How does split payout work for marketplace sellers?”