Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Ucp CLI

MCP server by Shopify Verified · npm:@shopify

Shopify's reference CLI and MCP server for the Universal Commerce Protocol. It lets AI agents search products, build carts, complete checkouts and track orders with UCP-enabled merchants.

  • Score 79
  • 84 stars
  • 488 a week
  • MIT
  • Updated

Install Ucp CLI

Built from the published package, never by AI.

claude mcp add ucp-cli -- npx -y @shopify/ucp-cli

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Ucp CLI in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ucp-cli block.

About

This listing is the reference CLI and MCP server for the Universal Commerce Protocol, published as @shopify/ucp-cli. It gives an AI agent commands to search a global product catalog, check whether a merchant supports UCP, create and update carts, convert carts into checkouts, complete purchases and look up orders. Every command uses structured JSON input and output, and the --input-schema flag lets the agent read the merchant's own advertised schema before composing a request.

The CLI fetches each business's UCP profile, negotiates the protocol version and transport, and then sends operations to that merchant's endpoint. Responses can be shaped with JMESPath views, and an escalation hook can open the buyer's browser when a merchant requires buyer confirmation. The package also ships a SKILL.md file for agents that support the skills format. It is aimed at developers and agents that shop with UCP-enabled merchants.

Written from the project's README and checked against it.

Tools it gives your assistant

  • ucp catalog searchSearches the bundled global catalog or a single merchant's search endpoint.
  • ucp discoverConfirms UCP support and lists the operations a merchant offers.
  • ucp cart createCreates a cart with a merchant and returns confirmed pricing and a continue URL.
  • ucp cart updateUpdates an existing cart and can request cart-stage shipping estimates.
  • ucp checkout createConverts a cart into a checkout, or starts a buy-now checkout from line items.
  • ucp checkout updateSets fulfillment address and shipping or pickup selections on a checkout.
  • ucp checkout completeCompletes a checkout after the required fields are set.
  • ucp order getRetrieves an order by ID from a specified merchant.

What you need

  • npm, to install @shopify/ucp-cli globally
  • Catalog JWT from the Shopify Developer Dashboard, required for checkout
  • An escalation hook command, such as open on macOS or xdg-open on Linux

Try asking

  • Find me a mechanical keyboard under $100 in the UCP global catalog
  • Create a cart at this merchant with the variant I picked and show the total
  • Where is my order? Look it up with the merchant's business URL

Good to know

  • Checkout requires a Catalog JWT from the Shopify Developer Dashboard.
  • Profile documents are unsigned, so whoever controls the advertised URL controls the agent's identity.
  • Some checkouts need buyer review, which the agent cannot complete on the buyer's behalf.
  • Net-new cart create lines have no line ID until the merchant returns one.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Ucp CLI

All alternatives →
Agent Skills Search Server agentskills
100

Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.

BAA Remote 28k
Exa exa-labs
100

Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.

AAA Remote 5.3k
Apify apify
100

Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.

AAA Remote 19k
changedetection.io (official) dgtlmoon
100

Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.

AAA Remote 36k
brave brave
95

Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.

AAA Remote 1.6k
Scrapling MCP ServerD4Vinci
94

Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.

AAA Local 107k

Compare with Agent Skills Search Server, Exa or Apify

Ucp CLI: common questions

Does this need a Shopify account to search products?

The source says Shopify-powered merchants support unauthenticated catalog access. Checkout requires a Catalog JWT from the Shopify Developer Dashboard.

What happens when a merchant requires buyer confirmation?

The configured escalation hook is called with the continue URL, for example to open the buyer's browser. The agent waits for the buyer to confirm and then resumes the flow.

How does the agent know which fields a merchant expects?

Commands such as ucp catalog search --input-schema read the merchant's currently advertised schema, which can be refreshed with --refresh.

How do I install Ucp CLI?

In Claude Code run claude mcp add ucp-cli -- npx -y @shopify/ucp-cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Ucp CLI the official server?

Ucp CLI is published by npm:@shopify from its verified domain in the official MCP Registry.

Is Ucp CLI free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Ucp CLI safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Ucp CLI?

Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).

Does Ucp CLI work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Ucp CLI Install

Add to stack

Loading.