Skip to content

Menu

WooCommerce MCP Server logo

WooCommerce MCP Server

Published

At a glance

GitHub repository
WordPress/mcp-adapter
Watch out for
WooCommerce lists MCP support as a developer preview, and APIs and schemas may change with breaking updates.

WooCommerce does not ship a standalone MCP server. Instead, it registers store operations as abilities through the WordPress Abilities API, and the WordPress MCP Adapter plugin exposes those abilities to MCP clients. The adapter is maintained by the WordPress project on GitHub, and WooCommerce documents the setup in its developer docs, where the feature is labelled a developer preview that may get breaking changes.

The adapter's default server lives at https://yourstore.com/wp-json/mcp/mcp-adapter-default-server. On a local site you run it over stdio with WP-CLI (wp mcp-adapter serve). For a remote store the client still talks stdio, and the @automattic/mcp-wordpress-remote package proxies that to HTTPS.

If you set this up before WooCommerce 11.3, note that the old /wp-json/woocommerce/mcp endpoint and its REST API key auth are gone. That endpoint now returns HTTP 410, and clients need moving to the adapter with a WordPress Application Password.

How it connects

Your AI app

An assistant or agent that supports MCP

WooCommerce MCP Server

Runs as

  • npx (Node.js)
  • Remote (HTTP)

Gives the agent

  • Ability discovery
  • Ability inspection
  • Ability execution
  • Products and orders
  • Custom abilities

WooCommerce

Signs in with

  • Token
Your AI app talks to WooCommerce MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Ability discovery
mcp-adapter-discover-abilities lists the abilities the connected user is allowed to see.
Ability inspection
mcp-adapter-get-ability-info returns the input schema and details for one ability before the agent calls it.
Ability execution
mcp-adapter-execute-ability runs an ability such as woocommerce/products-query or woocommerce/order-notes-query.
Products and orders
WooCommerce's built-in abilities cover querying, creating, updating and deleting products, querying orders, updating order status and adding order notes.
Custom abilities
Plugins can register their own abilities with wp_register_ability(); setting meta.mcp.public to true makes them visible over MCP.

Setting it up

Install the adapter with wp plugin install mcp-adapter --activate; WooCommerce registers its abilities automatically, so there is nothing to toggle there. For a local site, Claude Code can add it with claude mcp add woocommerce_store -- wp --path=/path/to/your/wordpress/site mcp-adapter serve --server=mcp-adapter-default-server --user=admin. For a remote store, create a dedicated WordPress user, generate an Application Password under Users, Profile, and make sure the site uses HTTPS and non-Plain permalinks. Then run claude mcp add --env WP_API_URL=https://yourstore.com/wp-json/mcp/mcp-adapter-default-server --env WP_API_USERNAME=your-username --env WP_API_PASSWORD='your-application-password' woocommerce_store -- npx -y @automattic/mcp-wordpress-remote@latest. Claude Desktop and Cursor take the same command, args and env as JSON under mcpServers, and VS Code uses a servers key instead.

Run in a terminal
claude mcp add woocommerce -- npx -y @automattic/mcp-wordpress-remote@latest

Runs the @automattic/mcp-wordpress-remote package from npm. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Ask for products matching a search and get back stock and price details via woocommerce/products-query.
  • Bulk-update product details after a supplier changes specs.
  • Move a batch of orders to a new status and attach an order note explaining why.
  • Expose a plugin's own operation as a custom ability so the agent can call it alongside the built-in ones.

Limitations and things to watch

  • WooCommerce lists MCP support as a developer preview, and APIs and schemas may change with breaking updates.
  • tools/list only shows the three adapter tools, so the agent has to call discovery to learn which WooCommerce abilities exist.
  • Order and customer abilities can return personal data, and the docs place compliance responsibility on the store operator.
  • Write abilities such as product deletion run with the connected user's permissions, so the docs recommend a dedicated user with minimal capabilities.
  • Custom abilities registered for the removed WooCommerce endpoint need the MCP metadata added before the adapter exposes them.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…