AI Agent Checkout in Magento 2: Claude Places a Real Order via MCP A developer built an open-source Magento 2 module, angeo/module-mcp-checkout, that enables AI agents like Claude to place real orders via the Model Context Protocol (MCP) without browser automation. The module exposes six MCP tools that map directly to Magento's service layer, allowing an agent to search products, create a cart, set shipping, and place an order after user confirmation. A live demo showed Claude successfully purchasing a Fusion Backpack for $69, with payment handled separately via a deferred method to maintain PCI compliance. AI agents can already find products. But can they actually buy them — placing a real order in a live Magento 2 store, without browser automation or scraping? I built angeo/module-mcp-checkout to answer that, and the short version is: yes. This post walks through the full flow, the architecture, and the one problem everyone asks about — payments. User Claude.ai ↓ MCP Client ↓ Magento MCP Endpoint ← Bearer auth + rate limiter ↓ Magento Service Layer ↓ Quote / Cart ↓ Order ✓ Every checkout runs the same tool sequence. Each call maps directly to a Magento service layer operation — no browser, no session, no cookies. Claude ↓ search products — find product by keyword ↓ get product — verify SKU, price, stock ↓ create cart — open guest cart, get cart id ↓ add to cart — add item by child SKU ↓ get shipping methods — estimate delivery options ↓ set shipping information — apply address + method ↓ User confirms total ↓ place order — submit cart → order number The module exposes these as six MCP tools over a JSON-RPC endpoint: create cart — opens a new guest cart add to cart — adds a product by SKU get cart — reads current items and totals get shipping methods — estimates available delivery options set shipping information — sets address, email, and chosen method place order — submits the order after user confirmationNo browser automation, no scraping. The agent talks directly to the Magento backend through a secure, rate-limited MCP endpoint. place order is never called autonomouslyReal session against demo.angeo.dev https://demo.angeo.dev . The prompt: "I want to buy a Fusion Backpack." Step 1 — Product discovery. Claude called search products , then get product . It identified the Fusion Backpack SKU: 24-MB02 , in-stock at $59. Step 2 — Cart. create cart returned a fresh cart id . add to cart confirmed the item — subtotal $59. Step 3 — Shipping. get shipping methods returned Flat Rate — Fixed at $10. Step 4 — Address. set shipping information applied name, street, postcode, city, country, phone, email. Total: $69. Step 5 — Confirm & place. After explicit user confirmation, place order submitted the cart: { "order number": "000000005", "status": "pending", "grand total": 69, "currency": "USD" } A real order, in a real Magento store, placed entirely by an AI agent through MCP — with the user in control at every step. This is the question everyone asks, and it deserves an honest answer. MCP agents can't process card payments directly. Card tokenization requires a PCI-compliant browser form Stripe.js / Payment Element — fundamentally incompatible with a server-side MCP tool call. This is the same constraint that killed OpenAI's native agentic checkout: collecting card details through an agent violates PCI scope. My approach sidesteps this by design. The agent places the order with a deferred payment method status pending . Payment happens separately: No extra platform fees — only standard gateway rates apply. A dedicated get payment link tool Stripe, Mollie, Adyen is planned for v2.0.0. Is browser automation required? No. JSON-RPC MCP endpoint — no headless browser, no Selenium, no Playwright. Is MCP faster than browser automation? Significantly. No page rendering, no DOM parsing. A full checkout completes in under 5 seconds. Does this work with Adobe Commerce? Yes — Magento Open Source and Adobe Commerce 2.4.x. Does the agent act autonomously? No. place order only fires after explicit user confirmation. composer require angeo/module-mcp-checkout bin/magento module:enable Angeo McpCheckout bin/magento setup:upgrade MIT-licensed, part of the open-source angeo.dev https://angeo.dev Agentic Readiness Suite for Magento 2. Disclosure: I built this module. It's open-source MIT. Genuinely curious what other Magento devs think about agentic checkout as a direction — happy to answer anything about the architecture or MCP tool design in the comments.