Partner agent integration
Let an agent discover products and manage a shopper’s cart without giving it a server key or authority to approve its own purchase.
Authority and purchase flow
Theagent_commerce feature, parent key, allowed scopes, tenant/app/environment, shopper and OAuth subject/client bindings are independent gates. Grants expire or can be revoked. Current authority is checked on every request, including replay; an earlier successful call does not establish continuing access.
Public agent API surface
A trusted partner server provisions grants throughPOST /v1/agent-grants; grant list/revoke and /v1/agent/me expose scoped management and effective capabilities. Delegated reads and commands under /v1/agent/ cover merchants/products/variants, carts/lines/address/coupons/quotes, checkout/status and purchase history. Consult the API reference for exact required scopes and request contracts.
Trusted quote approval uses the existing server-authorized /v1/carts/{cart_id}/agent-approvals contract. The agent cannot issue its own approval or substitute another quote, amount, currency, shopper or policy. Parent server keys and downstream delegation credentials are different authorities; never put either into model prompts.
Independently packaged commerce MCP
Ignyt’s commerce MCP uses Streamable HTTP and reaches the backend through the SDK and versioned HTTP API. It does not access the backend database. Partner OAuth authentication at the gateway is distinct from the short-lived Ignyt delegation used downstream; an OAuth token is not a delegation secret. Arrange the actual gateway URL, OAuth issuer/audience/scopes, identity binding and shopper-consent flow with Ignyt. Do not substitute this documentation site’s/mcp URL or invent a hosted commerce endpoint. Cached clients still require current grant validation; expiry/revocation and parent authority changes must take effect.
Payment and recovery boundaries
The agent flow reuses existing quote approval, payment handoff, PSP confirmation and order recovery. MCP does not accept card data or PSP secrets. Customer action such as 3DS belongs in the trusted application/PSP interface. Unknown payment/order outcomes retain their original operation identities and require authoritative lookup. The current MCP tool surface does not expose arbitrary staff/finance actions or universal post-purchase mutations. Store qualification, real shopper UI, Mamo Sandbox acceptance and any Live funds-flow approval remain separate from installing the package or connecting OAuth. Historical Stripe test evidence does not establish Mamo acceptance.Related guides
UCP/ACP preview
Understand the narrower partner-bound cart handoff.
Documentation AI tools
Connect an assistant to public documentation only.
Runnable shopper reference and dynamic consent
The independently packaged Sandbox shopper reference provides OIDC code+PKCE sign-in, private server sessions, explicit assistant consent/revocation, cart review and exact-quote approval. It includes browser payment/3DS handoff, merchant/shipment/refund progress and the existing partial-order choices. Deployment and provider/identity qualification are separate; no hosted commerce URL is implied. A configured dynamic MCP broker resolves an already consented short-lived delegation using a purpose-signed server assertion. It cannot issue or renew shopper consent. In the opt-in Sandbox shopper-backed MCP, missing, expired or revoked consent produces an explicitshopper_consent_required tool error with a fixed shopper renewal link. OAuth reconnect alone does
not renew consent: sign in with the same shopper account, click Allow this assistant, then retry
the original cart/request. Recovery has no commerce authority and creates no purchase or payment;
invalid OAuth tokens still require authentication. Static owner-managed
bindings remain compatible. Current backend authority is checked on every request, including retries;
credential rotation never switches an old in-flight request to another shopper. Keep all server keys,
delegated credentials and broker signing keys outside browsers and model prompts.
Partner grant issuance accepts an optional absolute expires_at deadline that can only shorten
the requested TTL. The reference rejects new consent with less than 60 seconds remaining and sends
an absolute deadline bounded by both the session and the original one-hour issuance window,
so processing delay cannot extend authority beyond either boundary.
Revocation also cancels pending grant publication. A delayed issuance response cannot restore
broker access. If a grant was already issued, its original ID is retained for revocation; unknown
cleanup outcomes remain denied locally and require retrying revoke. Fresh consent returns 409
while original issuance/cleanup remains unresolved; it does not create a replacement grant.
get_checkout_approval(cart_id) reads a valid existing trusted receipt for the same agent/shopper.
The corresponding HTTP route is GET /v1/agent/carts/{cart_id}/approval. Missing, stale or expired
unsubmitted consent returns { "status": "awaiting_shopper_approval", "approval": null }; the
shopper must review again. Otherwise the typed response has status: approved or accepted.
Treat approval as nullable and check it before using its ID, cart/quote IDs, frozen
total/currency/policy and expiry. After submission, accepted returns only the receipt identified by the committed
agent:<approval_id> retry key, even if another approval exists for the same quote or its policy
differs. The accepted receipt remains readable after its own expiry for exact retries while the
delegation still has authority. Another delegation’s receipt is not substituted. Before submission,
the latest consent must still be usable; an expired latest receipt does not revive older consent. Receipt reads exclude contact/payment secrets and cannot grant approval.
Checkout status additionally exposes scoped payment state and refund-operation counts, without a
PSP client secret. Counts describe provider execution status, not confirmed bank credit.
The optional bounded model evaluator uses synthetic data and actual MCP tools, with persisted-state
assertions. Deterministic tests, a real-model evaluation, Mamo Sandbox browser payment, hosted OAuth and real
merchant qualification are separate evidence. No model/PSP credentials means those external checks
remain unverified. Native delegated payment, AP2/SPT and native protocol order notifications are not
advertised by this reference integration.
Optional Sandbox guest shopping
An independently configured guest profile can expose public product search and one-cart guest sessions without connecting a customer account. This is disabled by default and restricted to explicitly published Sandbox merchants. It does not change authenticated or Live agent APIs. The assistant callsstart_shopping, retains the returned private guest_key, and uses it with
create_cart and subsequent cart tools. One expiring key owns one cart; a cart ID alone grants
nothing. Keep the key out of prose, URLs and logs. Search pages return next_cursors per public
merchant. Model-visible guest tools do not expose customer account history, addresses or payment
credentials, and cannot grant or execute approval.
open_cart_panel returns a separate private widget capability for shopper contact/delivery entry,
a fresh quote and the shopper’s explicit approval of that exact quote. A one-use browser handoff establishes a cart-scoped guest
session for payment. No account or password is required; contact email does not prove account
ownership. Payment authentication remains on the approved provider browser surface. New payment
qualification uses Mamo Sandbox; earlier Stripe/3DS qualification applies only to its original route.
get_checkout_status reads the original guest checkout and separate merchant outcomes.
The panel uses a private app-only MCP transport for web and desktop compatibility. It requires
the separate hidden panel capability; contact details and browser handoffs remain private UI
metadata. It cannot submit checkout or pay. A lost write response never automatically retries
through another transport. Unsupported hosts can open the same guest review in a browser
without a member login. Keep original expiry and checkout identities.
The guest resource is now ui://widget/ignyt-guest-cart-v3.html, with v2/v1 retained as aliases.
Refresh the custom app’s tools/resources after upgrading the matching MCP and shopper pair.
The v3 guest panel calculates the final quote after delivery details are complete. The shopper’s
explicit Approve amount & continue action saves that exact approval and opens secure browser
payment immediately. The approved browser checkout initializes without another Continue step;
card confirmation and any 3DS remain shopper actions. A blocked handoff keeps an original-cart
fallback link. Returning to the panel refreshes separate merchant-order facts through bounded,
read-only polling. Input changes/expiry require a fresh total and approval; unknown responses
never automatically retry a checkout or card confirmation. Same-cart contact prefill remains
private UI data. This is Sandbox source behavior, not native payment-sheet access or a hosted release.
An optional Sandbox setting supports separately installed private ChatGPT plugins without
registering each widget origin. Both the default ChatGPT widget host and supported per-installation
hosts are recognized. Private cart/panel capabilities remain required;
member authentication and browser payment protections are unchanged. Each tester still needs
a ChatGPT account/workspace that permits custom MCP installation; this does not publish the app.
Guest access lasts at most one hour and is not renewed through OAuth reconnect. An expired
panel may be reopened while that guest session remains active. Lost/expired guest keys cannot
recover an account or order history by email. Preserve original checkout identities on retries;
an unknown result never authorizes another purchase. Hosted ChatGPT activation/distribution,
payment-sheet access and production guest qualification remain separate gates.