Issues configuring UCP on Local

Hi there, trying out UCP, and when I ran ucp profile init --name awxshopagent nothing comes back. Can anyone help figure out why?

image
Also, trying to understand how the Checkout UCP works in standard LLM UI like Claude or ChatGPT. Does it require any form of auth?

Hey @Official_Airwallex_P :waving_hand: That command should produce output with the latest CLI package. I tested @shopify/ucp-cli@latest and profile init returned JSON with created, activated, and a profile path, then created files under ~/.ucp/profiles/NAME/ and ~/.ucp/active.yaml. If your shell returns straight to the prompt with no output, I’d first check whether a stale or different ucp binary is being run.

Can you run these and share the output?

which ucp
ucp --version
ucp doctor --skip-network
ucp profile list
ls -la ~/.ucp ~/.ucp/profiles ~/.ucp/profiles/awxshopagent

You can also try the latest package directly to rule out the local binary.

pnpm dlx @shopify/ucp-cli@latest profile init --name awxshopagent

For the Checkout UCP question, ucp profile init is local agent setup. It is not buyer authentication. In Shopify’s MCP tutorial flow, the agent authenticates to Shopify with client credentials and a bearer token. Cart MCP and Checkout MCP requests also include an agent profile URL for capability negotiation. For ChatGPT specifically, buyers complete checkout on the merchant’s online store checkout in a ChatGPT in-app browser, or in a new tab when using ChatGPT web. If a CLI-style merchant flow returns AUTH_REQUIRED, the CLI does not handle merchant-specific auth directly, so the expected path is to hand the buyer off using the returned continue_url or best available checkout URL.

The UCP CLI setup, authenticate your agent, and define your agent profile docs are useful references. If you share the command outputs above, I can help narrow down why your local command is silent.