Search by

angeo / module-ucp-checkout-mcp

angeo

UCP checkout over MCP for Magento 2: create_checkout, get_checkout, update_checkout, complete_checkout and cancel_checkout tools on the store MCP server, backed by angeo/module-ucp-checkout.

Package info

github.com/angeo-dev/module-ucp-checkout-mcp

Homepage

Type:magento2-module

pkg:composer/angeo/module-ucp-checkout-mcp

Statistics

Installs: 0

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-10-16 17:09 UTC

This package is not auto-updated.

Last update: 2026-10-17 09:20:47 UTC


README

CI Packagist Version License: MIT

The same UCP checkout, for agents that speak MCP.

Adds the five UCP checkout tools (spec 2026-08-25, MCP binding) to the store MCP server of angeo/module-mcp-server:

Tool What it does
create_checkout New checkout from items, buyer, address, discount code
get_checkout Current state, shipping options, order once paid
update_checkout Full replacement of items, buyer, discount, shipping
complete_checkout Hand-off: requires_escalation + continue_url; the buyer pays on your checkout
cancel_checkout Cancel an open checkout

All logic lives in angeo/module-ucp-checkout: REST and MCP give the same results, share sessions, and an agent may even mix them.

Arguments

{
  "meta": {
    "ucp-agent": { "profile": "https://platform.example/profile" },
    "idempotency-key": "550e8400-e29b-41d4-a716-446655440000"
  },
  "id": "chk_…",
  "checkout": { "line_items": [{ "item": { "id": "24-MB02" }, "quantity": 1 }] }
}

meta["ucp-agent"].profile is required. idempotency-key works like the REST header: same key and body → same answer, same key and other body → tool error.

Install

composer require angeo/module-ucp-checkout-mcp
bin/magento module:enable Angeo_UcpCheckoutMcp
bin/magento setup:upgrade
bin/magento cache:flush

Then in Stores → Configuration → Angeo → UCP → Transport → MCP Endpoint URL enter https://your-store/mcp, so the profile advertises the MCP transport next to REST. Check with bin/magento angeo:mcp:tools.

License

MIT. Made by angeo.dev.