Shopify shares lessons from shipping WebMCP at scale

François Beaufort
François Beaufort

Published: December 02, 2026

We introduced WebMCP to give websites a structured way to work with AI agents. With WebMCP, a page registers tools for agents to support users taking the correct action, instead of making agents guess their way through a UI built for humans. Shopify has shipped WebMCP tools to every Shopify storefront, and followed up with Checkout WebMCP, which lets agents complete a full checkout alongside the buyer. In their engineering blog post, Web Platform Principal Engineer Yoav Weiss explains how Shopify engineers designed, built, tested, and rolled out these tools across millions of merchant sites.

WebMCP improves agent efficiency

In Shopify's checkout benchmark, WebMCP was 2.7x faster and 58% cheaper than browser automation, and it was more reliable: 60 out of 60 successful runs, compared with 56 out of 60. These results indicate why WebMCP is right for the agentic web, and why we're pursuing standardization.

Shopify believes in a principle we share: People shouldn't need a frontier model to browse the web. Clear, well-defined tools give smaller, faster, and even on-device models a real chance to get tasks done well.

Shopify shipped all of this while participating in the WebMCP origin trial. Registering a token for each merchant origin wasn't practical, so they registered cdn.shopify.com as a third-party origin trial. Then, Shopify could inject the token from a script that already loads on every storefront.

Shopify's engineers share practical advice for anyone building WebMCP tools:

  • Plan around user journeys, not just your server APIs. Tools should update the state the user can see, so the user can follow what the agent does.
  • Let the tool's shape guide the agent more than its description. Shopify initially built an add_to_cart tool, but they found checkout was too complex for a single tool. After many iterations of descriptions, they replaced that tool with full-state create_cart and update_cart tools, modeled on UCP.
  • Treat tool design like code and test it. Shopify runs evals in CI using the Chrome team's WebMCP evals project, and contributed improvements back to it.

Shopify knows there's more work to do. They share their plans on how to measure agent success, enforcing human-in-the-loop, agent identification, testing against production agents, and keeping tools registered across pages.

Join the origin trial and share your feedback

We're working through these questions together and with the broader web community. WebMCP has a formal home in the W3C's proposed Agentic Web Working Group.

You can build your own ecommerce tools with Shopify's example as a guide. Sign up for the WebMCP origin trial, test your implementation with the WebMCP evals and utilities, and share your feedback on the WebMCP repository.