Skip to main content
Connect to https://mcp.opencommerce.sh/mcp with your Commerce SDK credentials as Authorization: Bearer <YOUR_CLIENT_ID>:<YOUR_CLIENT_SECRET>. See Connect your agent. Behavior: Changes state. After a timeout, read get_cart before you try again. Can take up to 90 seconds.

What it does

Brings a saved cart back: re-prices every store and returns the cart with what changed at each. Show the changes to the shopper before they approve.

Inputs

Returns

Example call

Notes

  • A change’s outcome is ready, changed, checking, needs_input, unavailable, or failed. before is the total the shopper last saw, and now is the total the store reads now.
  • A change with reason: replace_account_cart waits on the shopper. Once they agree, call again with replace naming that line_key and its holds.token.