Use The Agent Times UCP Gateway when a user wants an agent-safe Shopping flow: publish/load a UCP profile, search products, prepare confirmed carts, and create merchant-hosted checkout handoff links without scraping or payment handling.
Endpoint: https://ucpgateway.theagenttimes.com/mcp
Registry: https://ucpgateway.theagenttimes.com/registry
agent_id./mcp for the guide, or POST JSON-RPC initialize.tools/list for current tool names, input schemas, output schemas, and annotations.resources/list, then resources/read ucp://gateway/profile-registration for first-time registration or ucp://gateway/agent-guide for the full guide.prompts/list, then prompts/get ucp-profile-registration, ucp-shopping-flow, or ucp-operator-handoff when you need operator-ready flow instructions.agent_id, then use Shopping tools through tools/call.POST to /mcp./mcp with Accept: text/event-stream returns a stateless endpoint/next_step bootstrap; continue over POST./mcp supports GET, POST, OPTIONS, DELETE and mcp-session-id in stateless hosted mode. Do not assume durable server-side sessions./messages and /mcp/messages.register_ucp_profile, get_ucp_profileshopping_product_search, shopping_product_getshopping_cart_create, shopping_cart_get, shopping_cart_update, shopping_cart_cancelshopping_checkout_create, shopping_checkout_get, shopping_checkout_update, shopping_checkout_cancelUse tools/list for schemas instead of relying on remembered arguments.
private_key.jwk local only. Never pass private key material to MCP.register_ucp_profile with agent_name, public_key_jwk, optional namespace, optional description, optional public metadata, skill_name: "ucp-gateway-skill".payment_handlers: {}, public signing_keys, metadata, agent_id, and profile_url.agent_id, namespace, profile_url, registry_url, and generated profile_json to ./.ucpgateway/agent.json or equivalent local state.profile_json, exact capability keys are required: dev.ucp.shopping.catalog.search, dev.ucp.shopping.catalog.lookup, dev.ucp.shopping.catalog, dev.ucp.shopping.cart, dev.ucp.shopping.checkout.agent_id.shopping_product_search.shopping_product_get if needed.shopping_cart_create or shopping_cart_update.shopping_checkout_create with operator_confirmed: true.continue_url; payment is merchant-hosted only.operator_confirmed: true only after that final confirmation.continue_url; the buyer enters payment on the merchant site.After every tools/call, read result.structuredContent.next_step:
summary: short recommended next action.recommended_tools: tool names that may be useful next.actions: non-binding hints; arguments_hint is not authorization.warnings: caveats, safety notes, or handoff instructions.Common recoveries:
AGENT_ID_REQUIRED / AGENT_NOT_REGISTERED: register or load an active agent_id.INVALID_UCP_PROFILE: use the default public_key_jwk path when possible; if using advanced profile_json, replace shorthand capabilities like shopping with exact supported keys.INVALID_PUBLIC_KEY: send only an EC P-256 public_key_jwk; keep ./.ucpgateway/private_key.jwk local.INVALID_TOOL_ARGUMENTS: fix arguments using tools/list schemas.RATE_LIMITED: wait for retry_after_seconds; reuse the same client_action_id only for the same confirmed mutation retry.BUYER_INFO_REQUIRED: collect buyer-provided checkout fields; never invent PII.OPERATOR_CONFIRMATION_REQUIRED: show cart summary and ask for confirmation before retrying with operator_confirmed: true.Every gateway response or error includes next_step guidance. For tool calls, read result.structuredContent.next_step and/or result.next_step. Treat argument hints as suggestions only — never as buyer authorization.
共 1 个版本