AI search and agent readiness JavaScript

webmcp-store-toolsWebMCP tools for WooCommerce and headless stores, plus a checker for any WebMCP site

webmcp-store-tools gives WooCommerce and headless Shopify stores ready WebMCP tools (search, product details, policies, cart and a checkout link) that browser AI agents can call, with no tool able to place an order. Its checker lints any page's WebMCP tools, declarative forms, origin-trial tokens and Permissions-Policy against the draft standard's security guidance.

npm npm install webmcp-store-tools

Free · MIT license · runs on your machine · no signup npm ↗GitHub ↗

Why this matters now

Shopify added its own WebMCP tools to every Liquid storefront in August 2026 and to checkout on 28 September 2026. WooCommerce and headless stores need their own, and every store should check what it is offering agents.

How webmcp-store-tools works

AI agents are learning to shop. Today most of them do it the hard way: they read the page, guess which button is “add to cart”, and hope the layout does not change. WebMCP, a new draft web standard, lets a store hand the agent proper tools instead: search the catalog, read a product’s variants, add one to the cart.

webmcp-store-tools gives Shopify and WooCommerce stores that set of tools with one script tag, built to be hard to misuse. Every input is checked before your store is called, outputs stay small and free of markup, reviews are marked as untrusted text, there are rate limits, and no tool can place an order: the shopper always finishes checkout.

It also checks any page or tool list that uses WebMCP, for the problems the standard’s own security section warns about, such as instructions hidden in descriptions, tools that sound harmless but buy, and tools that ask agents for a shopper’s age or location.

Try it

npx webmcp-store-tools snippet --platform shopify
npx webmcp-store-tools check https://your-store.com

Free and open source under the MIT license. Want your store ready for AI shopping agents? Book a call.

Agent skill included

Let your AI coding agent run webmcp-store-tools for you

The webmcp-store-tools skill works with Claude Code, Codex, Cursor, Gemini CLI and other agents that read SKILL.md files. It runs the tool, explains each finding in plain words and helps you fix it.

npx skills add MuhammadAhmadZia/webmcp-store-tools --skill webmcp-store-tools

Using the Claude or ChatGPT apps instead? Download the skill ZIP from the GitHub releases page and upload it under Skills.

See all 30 agent skills →

Questions about webmcp-store-tools

What is WebMCP?

A draft web standard from the W3C Web Machine Learning Community Group. A page registers tools, named functions with a description and an input schema, and an AI agent in the browser calls them instead of reading screenshots and clicking buttons. Chrome runs it as an origin trial from Chrome 149.

Can an agent buy things with these tools?

No. The tools search, show products and policies, and change the cart. The checkout tool only opens the checkout page, and the shopper completes the purchase themselves.

Which stores does it support?

Shopify and WooCommerce out of the box, through their public storefront APIs, and any other platform through a small adapter you write.

What does the checker look for?

The attacks described in the WebMCP draft itself: instructions hidden in tool descriptions, ambiguous tools like finalizeCart that actually buy, tools that ask agents for personal data, plus missing safety annotations, unbounded inputs, risky auto-submitting forms, expired origin-trial tokens and a Permissions-Policy that blocks the API.

UN Sustainable Development Goals

How each tool maps to SDG targets →

Want this set up and tuned for your store?

The tools are free. If you would rather have the checks run, the findings fixed and the results measured for you, that is what I do for clients.