WooCommerce MCP Integration: Setup, Permissions & Limits
Short answer
WooCommerce MCP works through the WordPress MCP Adapter plugin, not a WooCommerce setting. Install the adapter, then connect an AI client to /wp-json/mcp/mcp-adapter-default-server, locally over STDIO with WP-CLI or remotely over HTTPS with a WordPress Application Password. WooCommerce describes it as a developer preview, and its order abilities can expose customer personal data.
Key takeaways
- WooCommerce registers abilities through the WordPress Abilities API; the separate MCP Adapter plugin exposes them to MCP clients.
- The current endpoint is /wp-json/mcp/mcp-adapter-default-server. The old /wp-json/woocommerce/mcp endpoint returns HTTP 410 since WooCommerce 11.3.
- Remote clients authenticate with a username and Application Password; REST API keys and X-MCP-API-Key no longer work.
- tools/list returns three adapter tools (discover, get info, execute), not one tool per WooCommerce ability.
- Abilities include product create/update/delete and order status changes, so a dedicated least-privilege user matters.
What is WooCommerce MCP and what is its current status?
WooCommerce MCP is WooCommerce's integration with the Model Context Protocol (MCP), the open protocol AI clients use to discover and call tools. As of 2026-11-29, WooCommerce's developer documentation labels it a developer preview and says "implementation details, APIs, and integration patterns may change," that future updates may introduce breaking changes, and that you should test thoroughly before production use.
- Abilities API
- A WordPress API for registering named, schema-described operations (abilities) with permission and execute callbacks. WooCommerce always registers its abilities here.
- MCP Adapter
- A separate WordPress plugin (
mcp-adapter) that exposes public abilities to MCP clients through a default server. WooCommerce doesn't bundle it. - Application Password
- A revocable, per-application WordPress credential used for remote HTTP authentication instead of the account password.
This is an admin and operations interface. It is not the same thing as making a store discoverable to shoppers in AI assistants; for that layer, see our WooCommerce platform page and the product feed specification guide.
How do I connect an AI client to WooCommerce MCP?
Install the MCP Adapter plugin, choose STDIO (local) or HTTP (remote), create a least-privilege user, and verify with tools/list. WooCommerce has no setting or feature flag to turn on; its abilities are always registered.
- 1
Check prerequisites
Use a current WooCommerce release (the docs describe 11.3 behavior). For remote access, the site must use HTTPS and non-Plain permalinks.
- 2
Install the MCP Adapter
Run
wp plugin install mcp-adapter --activate. The default server path becomes/wp-json/mcp/mcp-adapter-default-server. - 3
Create a dedicated WordPress user
Give it only the capabilities the client's tasks need. The default server requires the
readcapability, and each WooCommerce ability runs its own permission callback. - 4
Create an Application Password (remote only)
Generate it for that user. Don't use the account password or a WooCommerce REST API key. Store it outside version control.
- 5
Configure the client
Local: point the client at
wp ... mcp-adapter servewith--user. Remote: run the@automattic/mcp-wordpress-remoteproxy withWP_API_URL,WP_API_USERNAME, andWP_API_PASSWORD. - 6
Verify discovery
Send
tools/list; expect the three adapter tools. Then callmcp-adapter-discover-abilitiesand confirm abilities such aswoocommerce/products-queryappear. - 7
Test denied paths
Before real use, confirm the user is refused for writes it shouldn't perform, and that remote HTTP without HTTPS fails.
Local site over STDIO
{
"mcpServers": {
"woocommerce_store": {
"command": "wp",
"args": [
"--path=/path/to/your/wordpress/site",
"mcp-adapter",
"serve",
"--server=mcp-adapter-default-server",
"--user=admin"
]
}
}
}STDIO authenticates through WP-CLI's --user flag, so no Application Password is needed. That also means the client acts as whatever user you name. Using admin as in the docs example is convenient for a throwaway local site, not for a store with real orders.
Remote site through the proxy
{
"mcpServers": {
"woocommerce_store": {
"command": "npx",
"args": [
"-y",
"@automattic/mcp-wordpress-remote@latest"
],
"env": {
"WP_API_URL": "https://yourstore.com/wp-json/mcp/mcp-adapter-default-server",
"WP_API_USERNAME": "your-username",
"WP_API_PASSWORD": "your-application-password"
}
}
}
}echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | \
wp --path=/path/to/your/wordpress/site \
mcp-adapter serve \
--server=mcp-adapter-default-server \
--user=adminWhich tools does the WooCommerce MCP server expose?
The adapter's default server exposes three generic tools, and WooCommerce operations are reached through them. That indirection surprises people who expect one MCP tool per operation.
| Adapter tool | Purpose |
|---|---|
mcp-adapter-discover-abilities | List the abilities available to the authenticated user |
mcp-adapter-get-ability-info | Return one ability's details and schema |
mcp-adapter-execute-ability | Run an ability with input |
WooCommerce's docs show a tools/call example for discovery with empty arguments, but they don't document the argument shape for mcp-adapter-execute-ability. Read it from mcp-adapter-get-ability-info or the adapter's own schema rather than guessing.
Which permissions should a WooCommerce MCP user have?
Only what the client's job requires, on a dedicated user. WooCommerce's documented abilities include writes that change your catalog and orders, so the read/write boundary is the most important design decision in a WooCommerce MCP setup.
| Area | Read | Write | Risk notes |
|---|---|---|---|
| Products | Query with filtering and pagination (woocommerce/products-query) | Create, update, delete | A delete or price edit is live immediately |
| Orders | Query with filtering and pagination; query order notes (woocommerce/order-notes-query) | Update order status; add order notes | Order reads expose PII; status changes can trigger customer emails and fulfillment |
| Use case | Abilities to allow | Abilities to block |
|---|---|---|
| Catalog QA or content drafting | Product query | All product writes, all order abilities |
| Merchandising assistant | Product query; product update after human review | Product delete, order abilities |
| Support triage | Order query, order notes query | Order status changes, product writes |
| Operations automation | Specific writes with logging and approval | Anything not in the written runbook |
The permission check happens in each ability's permission callback, which typically tests WordPress capabilities. WooCommerce's own custom-ability example uses current_user_can( 'manage_woocommerce' ), which is a broad store-manager capability. If you want a read-only client, give it a user role that lacks write capabilities, then confirm with a denied-write test, because the exact capabilities each built-in ability checks are not listed in the docs.
For token-based designs, consent, and test cases that stop one customer from reading another's orders, see MCP authentication for ecommerce. The MCP specification's security best practices also apply here: minimize scope and log elevation.
Why does /wp-json/woocommerce/mcp return 410?
Because WooCommerce 11.3 removed it. Requests to the old endpoint now return HTTP 410 with a JSON-RPC error pointing to the MCP Adapter. Its X-MCP-API-Key authentication was removed at the same time.
| Removed in 11.3 | Replacement or action |
|---|---|
/wp-json/woocommerce/mcp endpoint | /wp-json/mcp/mcp-adapter-default-server via the MCP Adapter |
X-MCP-API-Key and REST API key auth | Username plus Application Password (remote) or WP-CLI --user (local) |
REST-derived abilities such as woocommerce/products-list and woocommerce/orders-get | Current abilities such as woocommerce/products-query |
Filters woocommerce_mcp_include_ability, woocommerce_mcp_allow_insecure_transport, woocommerce_check_rest_ability_permissions_for_method | No direct replacement; use ability metadata and permissions |
expose_in_deprecated_woocommerce_mcp metadata | Set meta.mcp.public to true on custom abilities |
Custom abilities from extensions don't carry over automatically. The adapter's default server only exposes an ability when meta.mcp.public is true, falling back to top-level meta.public if unset.
What are common WooCommerce MCP errors and fixes?
Most failures are endpoint, credential, or capability problems. The table combines WooCommerce's troubleshooting list with what to look for. Error text varies by client and isn't documented verbatim, so match on the symptom.
| Symptom | Likely cause | Fix |
|---|---|---|
| HTTP 410 from the store | Client still uses /wp-json/woocommerce/mcp | Switch to /wp-json/mcp/mcp-adapter-default-server |
| "MCP server not available" | MCP Adapter not installed or not active | wp plugin install mcp-adapter --activate |
| Authentication failure | WP_API_PASSWORD is the account password or a REST key, or the username doesn't match the password's owner | Create an Application Password for the same user |
| Authentication failure on remote only | Site served over HTTP | Serve over HTTPS; the insecure-transport filter was removed |
| Tool call refused | User lacks the capability the ability requires | Grant only that capability, or use a different user |
| Custom ability missing from discovery | Not registered on the right hook, or meta.mcp.public not set | Register category on wp_abilities_api_categories_init, ability on wp_abilities_api_init, set meta.mcp.public |
| Endpoint unreachable (inferred symptom) | Plain permalinks (WooCommerce says to confirm non-Plain permalinks) | Switch to a non-Plain permalink structure |
| Proxy won't start | npx version or local SSL problems | Follow the mcp-wordpress-remote troubleshooting guide |
Logs are under WooCommerce → Status → Logs with source woocommerce-abilities.
How do we add custom WooCommerce MCP tools?
Register a WordPress ability with input and output schemas, a permission callback, an execute callback, and meta.mcp.public set to true. This is where store-specific logic belongs: fitment checks, B2B price lookups, or inventory from a system WooCommerce doesn't see. WooCommerce publishes a demo plugin (github.com/woocommerce/wc-mcp-ability) that registers woocommerce-demo/store-info.
<?php
// Illustrative only. Shape follows the WooCommerce MCP doc's description of custom
// abilities (category on wp_abilities_api_categories_init, ability on wp_abilities_api_init,
// input/output schemas, permission and execute callbacks, meta.mcp.public / meta.mcp.type).
// Function signatures belong to the WordPress Abilities API; confirm them against the
// current Abilities API reference before use. Not run in this session.
add_action( 'wp_abilities_api_categories_init', function () {
wp_register_ability_category( 'acme-store', array(
'label' => 'Acme store tools',
'description' => 'Read-only product helpers for AI clients.',
) );
} );
add_action( 'wp_abilities_api_init', function () {
wp_register_ability( 'acme-store/check-fitment', array(
'label' => 'Check part fitment',
'description' => 'Returns whether a product fits a given vehicle. Read-only.',
'category' => 'acme-store',
'input_schema' => array(
'type' => 'object',
'properties' => array(
'product_id' => array( 'type' => 'integer' ),
'vehicle' => array( 'type' => 'string', 'maxLength' => 80 ),
),
'required' => array( 'product_id', 'vehicle' ),
'additionalProperties' => false,
),
'output_schema' => array(
'type' => 'object',
'properties' => array(
'fits' => array( 'type' => 'boolean' ),
'source' => array( 'type' => 'string' ),
),
),
// Read-only: require a narrow capability, not manage_woocommerce.
'permission_callback' => function () {
return current_user_can( 'read' );
},
'execute_callback' => function ( $input ) {
return acme_lookup_fitment( (int) $input['product_id'], $input['vehicle'] );
},
'meta' => array(
'mcp' => array( 'public' => true, 'type' => 'tool' ),
),
) );
} );Keep custom abilities narrow: one job, strict input schema, and the least capability that works. For a larger set of commerce tools, or tools serving shoppers instead of staff, a standalone MCP server in front of your APIs is often cleaner; we compare the options in MCP vs REST APIs for ecommerce and the ecommerce MCP server guide.
Is WooCommerce MCP ready for production use?
WooCommerce itself says to test thoroughly before production because it's a developer preview. Our read: it's reasonable today for internal, staff-supervised workflows with read-mostly permissions, and premature for unattended writes on a live store.
- Pin the WooCommerce and MCP Adapter versions you tested and retest after every update.
- Start read-only. Add writes one ability at a time with a human approval step.
- Keep order abilities away from general-purpose AI clients unless you've reviewed where PII goes.
- Revoke the Application Password when a client or contractor no longer needs access.
If you need help deciding between the native adapter and a custom server, our MCP server development service starts with exactly that assessment.
Frequently asked questions
Do I need to enable an MCP setting in WooCommerce?
No. WooCommerce's docs say there is no setting to turn on because abilities are always registered through the WordPress Abilities API. You do need to install and activate the separate MCP Adapter plugin.
Can I use a WooCommerce REST API key for MCP?
Not anymore. WooCommerce removed X-MCP-API-Key authentication in 11.3. Remote connections use a WordPress username with an Application Password, and local STDIO connections authenticate through WP-CLI.
Why does tools/list only show three tools?
The MCP Adapter's default server exposes generic discover, get-info, and execute tools. WooCommerce abilities are listed through mcp-adapter-discover-abilities and run through mcp-adapter-execute-ability.
Can an AI client delete products through WooCommerce MCP?
WooCommerce documents product create, update, and delete abilities, so a client running as a user with sufficient capabilities could. Use a dedicated user without delete capabilities if the client doesn't need them, and verify with a denied-action test.
Is customer data exposed through WooCommerce MCP?
It can be. WooCommerce warns that order and customer operations may expose names, emails, addresses, and payment details. Limit order abilities to clients and users that genuinely need them.
Does WooCommerce MCP make my products appear in ChatGPT?
No. It's a tool interface for AI clients you connect yourself. Shopper-facing discovery in AI assistants depends on product feeds, platform programs, and each assistant's own systems.
Do custom abilities from the old endpoint still work?
Not automatically. The adapter only exposes abilities with meta.mcp.public set to true, and the expose_in_deprecated_woocommerce_mcp flag was removed in 11.3.
Planning a WooCommerce MCP integration?
Tell us which tasks the AI client should do, which data it may touch, and what lives outside WooCommerce. We'll recommend native adapter, custom abilities, or a separate server.
Related
- WooCommerce agentic commerceNative options and custom work for WooCommerce stores.
- MCP server developmentWhen the adapter isn't enough.
- MCP server ecommerce guideThe broad guide to MCP in commerce.
- MCP authentication for ecommerceScopes, user binding, and denied-access tests.
- MCP vs REST APIsWhen a plain API integration is enough.
Sources
- WooCommerce: MCP integration (developer docs)
- MCP security best practices (2026-07-28)
- MCP specification: Authorization (2026-07-28)
- WooCommerce demo ability plugin
Platform capabilities, eligibility, and specifications change. Sources were checked on 2026-11-29; confirm the current primary documentation before scoping an implementation. See our editorial policy and methodology.