Klarna MCP. Manage payments and orders from chat.
Klarna MCP manages your entire e-commerce payment and order lifecycle. It lets your AI agent handle everything from creating checkout sessions to capturing payments, issuing refunds, or updating shipping details using simple natural language commands.
Give Claude and any AI agent real-world access
The system creates payment sessions by requesting specific order amounts and item details.
It formally places an order using a secured authorization token from your checkout widget.
You capture authorized orders to trigger the actual payment from the customer's account.
The system processes full or partial refunds, and it cancels any authorized but uncaptured orders.
It updates shipping information and tracking numbers for existing orders directly in the record.
You retrieve detailed status, financial totals, and metadata for any given Klarna order ID.
Ask an AI about this
Waiting for input…
What AI agents can do with Klarna MCP: 8 Tools for Payment Ops
These eight tools let you manage everything related to your e-commerce payments, from initial sessions and order placement to refunds and shipping updates.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using Klarna MCPCancel Authorized Order
Cancels an order that was authorized for payment but hasn't been captured yet.
Capture Klarna Order
Triggers the final payment processing and captures the funds for a confirmed order.
Create Payment Session
Initializes a new Klarna payment session, requiring details like the amount...
Get Order Details
Retrieves comprehensive status and financial data for any specified Klarna order ID.
Get Payment Session
Gets the current details of an existing payment session using its unique identifier.
Create Klarna Order
Places a formal order, requiring a valid authorization token obtained earlier in the checkout process.
Refund Klarna Order
Processes a refund against an already captured and finalized order payment.
Update Order Shipping
Updates the shipping address or tracking number associated with an existing customer...
Security and governance baked right in.
Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on each call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Klarna, then connect any of our 5,200+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,200+ others, all in one place
- Add new capabilities to your AI anytime you want
- Connections are secured and governed automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog weekly
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Klarna. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS CLOUD
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on each call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
The payment portal bottleneck.
Today, managing a single order requires logging into the Klarna merchant dashboard. You navigate to an order ID, check its status, find the action button for a refund or capture, input the correct amount, and then hit submit—all while dealing with dozens of tabs and copy-pasting IDs.
With this MCP, you simply tell your agent what needs doing. Instead of clicking through five screens to process an adjustment, you ask it to 'Refund $100 on order 98765-XYZ'. The payment happens instantly via the API call, and the status updates in natural conversation.
Klarna MCP: Controlling your payments.
The manual steps that vanish include checking order totals across different APIs, manually initiating captures after checkout, and cross-referencing shipping addresses between systems. These actions used to require a sequence of clicks and human verification at every step.
Now, your agent handles the entire transaction lifecycle—from `create_payment_session` through to `update_order_shipping`. It's not just an API wrapper; it’s an active participant in your sales process.
What Klarna MCP does for your AI
Your AI client can now manage complex payment flows without needing to log into a separate portal. This MCP connects directly to Klarna's APIs, letting you automate both the initial checkout phase and everything that happens after the purchase is made. You simply tell your agent what needs doing—like 'refund order 98765-XYZ' or 'update shipping for order ABC'—and it executes the steps through natural conversation.
This capability makes monitoring payment status, processing captures, and handling refunds significantly faster than traditional methods. By connecting this MCP via Vinkius, you give your agent access to a complete suite of financial tools, treating the entire merchant account as just another set of functions available to your AI client.
019d75c1-5a4d-70cc-8f86-c3b4bc7c0262 How to set up Klarna MCP
The bottom line is that your agent handles all the complex authentication and API interactions so you don't have to touch a dashboard.
Subscribe to this MCP and provide your required credentials: the Klarna API Key (Username), Shared Secret, and Region Domain.
Ask your AI client to perform an action, such as 'Get details for order 98765-XYZ' or 'Create a payment session for $150.00'.
The MCP executes the necessary API calls and returns the specific status, tokens, or data you requested in plain text.
Who uses Klarna MCP
This MCP is for e-commerce operations staff, financial controllers, and developers. If you spend time manually checking order statuses or running refunds in a web portal, this tool saves your day.
Handling post-sale issues like tracking updates or processing partial refunds by simply talking to the agent.
Auditing payment session totals and checking order status across multiple transactions without logging into the dedicated financial portal.
Integrating Klarna's specific two-phase payment logic (authorization then capture) directly into custom application workflows using natural language triggers.
Benefits of connecting Klarna MCP
Process complex financial adjustments instantly. You can issue a partial refund using the refund_klarna_order tool, eliminating manual portal clicks for billing issues.
Automate your checkout flow entirely. Start by calling create_payment_session, which generates the client token needed to move forward in the purchase process.
Maintain full visibility into transactions with one command. Use get_order_details to pull status, totals, and metadata for any order ID you provide.
Handle post-purchase logistics effortlessly. If a customer changes their address, use update_order_shipping instead of emailing support or logging into the backend system.
Securely finalize sales cycles. The process involves using create_klarna_order after receiving an authorization token, followed by calling capture_klarna_order to collect funds.
Prevent financial loss with control functions. If a sale is authorized but never completed, you can use cancel_authorized_order to prevent accidental charges.
Klarna MCP use cases
The Customer Changes Their Mind
A user needs to cancel an order that was just placed. They ask their agent to 'Cancel the authorized order for ID 123'. The agent uses cancel_authorized_order and confirms the cancellation, saving the operations team from manually navigating the refund flow.
Handling a Shipping Address Change
The customer calls support because they moved. Instead of emailing an address change request to fulfillment, the agent uses update_order_shipping with the new details, immediately updating the order record and letting shipping proceed.
Processing a Mid-Month Refund
A product return needs a partial refund. The controller asks their agent to 'Refund $50 on order 98765-XYZ'. The agent uses refund_klarna_order and confirms the exact amount and status change.
Confirming Payment Readiness
The developer needs to check if a payment session is ready for checkout. They ask the agent to 'Check details for payment session XYZ-ABC'. The agent uses get_payment_session and returns the live status data.
Klarna MCP tradeoffs
What to watch out for, and the recommended way to handle each one.
Treating it like a simple database lookup
Asking 'What is the order status?' and getting only text back. This misses the financial context, like whether funds have been captured or if there was an associated refund.
To get full visibility, use get_order_details. This tool pulls all necessary metadata, including transaction totals and current statuses, giving you a complete picture instead of just a single line item.
Bypassing the two-step process
Attempting to refund an order without first confirming it was captured. This leads to API errors because Klarna needs proof the funds were processed.
Always verify the status first using get_order_details. Once you confirm the payment is finalized and ready for adjustment, then use refund_klarna_order.
Forgetting to create the session
Trying to place an order without initiating a payment session first. The system fails because it doesn't know what amount or item set to associate with the purchase.
You must start by using create_payment_session, supplying the required order amounts and items. This initializes the necessary checkout flow before you can proceed to place the formal order.
When to use Klarna MCP
Use this MCP if your core pain point is managing the transactional complexity of e-commerce payments—specifically, moving from an authorized state to a captured state, or handling post-sale adjustments like refunds and shipping updates. You need a tool that understands the difference between initiating a payment session and actually capturing funds. Don't use it if you just need to read basic customer contact info; for simple reads, dedicated CRM connectors are better. Also, don't rely on it solely for accounting ledger entry; this is a payments gateway, not your general ledger. This MCP excels at the 'action-taking' phase of e-commerce—the moments where status must change (like running capture_klarna_order).
Frequently asked questions about Klarna MCP
How do I refund a Klarna order using the Klarna MCP? +
Use the refund_klarna_order tool. You just need to provide the specific order ID and the amount you want refunded, and the agent handles processing the full or partial refund.
Can I check if a payment session is active with Klarna MCP? +
Yes, use get_payment_session to retrieve all current details for an existing payment session ID. This confirms its status and available data points.
What's the difference between placing an order and capturing it with Klarna MCP? +
Placing a formal order uses create_klarna_order (which needs a token), but that doesn't take money. You must then use capture_klarna_order to actually trigger the payment from the customer.
Can I update shipping information using Klarna MCP? +
Yes, run the update_order_shipping tool. Just give it the order ID and the new tracking or address details, and the record gets updated instantly.