angeo / module-ucp-checkout-mcp
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
Type:magento2-module
pkg:composer/angeo/module-ucp-checkout-mcp
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
- ext-json: *
- angeo/module-mcp-server: ^2.2.2
- angeo/module-ucp: ^2.2
- angeo/module-ucp-checkout: ^1.1
- magento/framework: >=103.0.6 <104
- magento/module-store: >=101.1.6 <102
Requires (Dev)
- bitexpert/phpstan-magento: ^0.43
- magento/magento-coding-standard: ^40.0 || ^41.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^10.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-10-17 09:20:47 UTC
README
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.