Klarna

Klarna MCP Connector for Claude

A+

Manage payment sessions, orders, and fulfillment via the Klarna REST API.

8 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Klarna merchant account to any AI agent to automate your e-commerce payment and order management workflows. This MCP server enables your agent to interact with both the Klarna Payments API (checkout phase) and the Order Management API (post-purchase phase) directly from natural language.

What you can do

  • Session Control — Create and manage checkout sessions to obtain client tokens for your frontend
  • Order Placement — Formally place orders using authorization tokens from your checkout widget
  • Payment Ingestion — Capture authorized orders to trigger the actual payment from the customer
  • Financial Resolution — Process full or partial refunds and cancel authorized but uncaptured orders
  • Logistics Integration — Update shipping information and tracking numbers for existing orders
  • Data Oversight — Retrieve detailed status, financial totals, and metadata for any Klarna order

How it works

  1. Subscribe to this server
  2. Enter your Klarna API Key (Username), Shared Secret, and Region Domain
  3. Start managing your payments and orders from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • E-commerce Operations — Monitor order statuses and process captures/refunds via simple natural language commands
  • Financial Controllers — Quickly audit payment sessions and transaction totals without logging into the portal
  • Developers — Integrate Klarna's complex two-phase payment logic and status monitoring into your custom applications
checkoutbuy-now-pay-laterorder-managementpayment-gatewayfulfillmentfintech

8 tools expose this connector's capabilities to your AI agent.

cancel_authorized_order

Cancel an authorized but uncaptured order

capture_klarna_order

Capture a formal order to trigger payment

create_payment_session

Requires order amount, currency, and order lines (items). Create a new Klarna payment session

get_order_details

Get details for a specific Klarna order

get_payment_session

Get details for an existing payment session

create_klarna_order

Requires an authorization token. Place a formal order using an authorization token

refund_klarna_order

Refund a captured order

update_order_shipping

Update shipping information for an order

See how to talk to your AI agent using Klarna.

Create a Klarna payment session for $150.00 in USD.

I've initialized the session. The order amount is 15000 (cents). Here is your session ID: 'abc-123' and the client token for your frontend widget.

Show details for Klarna order ID '98765-XYZ'.

I've retrieved order 98765-XYZ. The current status is 'AUTHORIZED' and it has not been captured yet. The total amount is $150.00 USD.

Capture order '98765-XYZ' for the full amount of $150.00.

Successfully triggered capture for order 98765-XYZ. Klarna has processed the payment, and the status has been updated to 'CAPTURED'.

Use `api.klarna.com` for Europe, `api-na.klarna.com` for North America, or `api.playground.klarna.com` for testing/sandbox environments.

Related Connectors