AI Tools Developer Tools

AI Agent Shopping Gets Structured Tools on Commerce.com Stores

Cloudflare and Commerce.com turned on WebMCP across almost 100,000 domains, so AI agent shopping uses direct tools while merchants can opt out.

Illustration of AI agent shopping on an online storefront with a shopper supervising the cart
AI-generated editorial illustration.

Can an AI assistant buy a pair of shoes without fumbling through a web page? AI agent shopping is getting a more reliable path through WebMCP, a browser standard that Cloudflare and Commerce.com have switched on across almost 100,000 store domains, according to Cloudflare’s blog.

Why do shopping agents struggle today?

Cloudflare explains that websites were built for humans. Most shopping agents read a page’s HTML, guess which button does what, click, and retry after mistakes. Cloudflare describes this as slow, heavy on tokens (the units of text an AI model processes and is billed for), and easy to break with something as small as a theme change.

What is WebMCP?

WebMCP is a proposed browser standard from Google that lets a web page offer structured tools to an AI agent. Instead of hunting for buttons, the agent calls a named tool such as a product search. Cloudflare says this makes shopping faster, cheaper and more reliable.

The standard is experimental and in early preview. Cloudflare notes it is available behind experimental Chrome flags, in Chrome Origin Trials, in some agentic browsers and in developer environments such as Cloudflare Kitesurf.

How does the Commerce.com setup work?

Cloudflare says it launched an edge version of WebMCP in beta in August. When enabled, Cloudflare injects a small script at the edge, the network layer that serves pages close to visitors, so tools appear without site owners writing code. Commerce.com, a commerce platform that already runs its domains on Cloudflare, asked to enable this for every store at once.

Cloudflare describes two principles behind the integration:

  • The tools run inside the shopper’s active browser session on the store’s own domain, so the agent sees the same prices and cart. Cloudflare says no credentials go to a third party.
  • Cloudflare acts as the delivery layer for Commerce.com’s backend MCP server, passing tool definitions and actions along unchanged. Merchants keep control of their tool logic.

MCP, short for Model Context Protocol, is a common way for AI systems to connect to tools. Commerce.com’s Kristina Pototska says the same shopping tools serve both a server-side MCP, for assistants that connect to a store directly, and WebMCP, for agents working in the shopper’s browser.

What does a shopper’s agent actually do?

Cloudflare gives an example request: a waterproof trail running shoe under $140 in size 10, added to the cart. Without WebMCP, the agent simulates clicks and can be stopped by cookie banners, misread variant drop-downs or bot challenges. With WebMCP, it finds the store’s tools and makes two calls, one to search products and one to add the item to the cart.

The cart updates in the shopper’s own session. Cloudflare says the checkout step stays with the human, who clicks checkout personally, which keeps payment details secure.

Pototska says merchants want to appear in agent answers, keep the customer and the checkout, and avoid rebuilding their sites. In her words as relayed by Cloudflare, the shopper stays on the merchant’s site and the merchant keeps the relationship.

How can merchants opt out?

WebMCP was originally designed as one on-or-off switch for a whole domain zone. Commerce.com hosts thousands of merchant custom domains on shared zones through Cloudflare for SaaS, so that design did not fit.

Cloudflare says it connected WebMCP to its existing Configuration Rules and custom hostname metadata. Commerce.com enables WebMCP on its main zone and adds an edge rule that checks each merchant’s metadata. If a merchant flips the opt-out switch in the Commerce.com dashboard, Cloudflare skips WebMCP for that storefront automatically.

Cloudflare adds that rules are evaluated before the page is served, so an opted-out store gets no extra latency, no remote lookups and no injected script.

What changed after real-world testing?

Cloudflare reports two practical adjustments:

  • Its bridge first expected every site’s MCP server at one standard path, while Commerce.com’s lives at a different one. Cloudflare added a zone-level setting for a custom MCP address.
  • If a store’s MCP server is offline or a browser does not support WebMCP, the script exits. The storefront loads normally and human shoppers are unaffected.

What comes next

Cloudflare says it will keep investing as the standard evolves, starting with helping agents discover a site’s tools more easily. The two companies plan to keep working on making agent shopping fast, reliable and safe. A panel on getting storefronts agent-ready for peak season was scheduled at Cloudflare Connect in San Francisco on October 21, 2026.

This account comes from Cloudflare’s own post and a Commerce.com executive quoted in it. Because WebMCP remains experimental, how many shoppers’ browsers can use these tools today is the open question.

Sources