How to connect Claude Code to WooCommerce, step by step
Connect Claude Code to WooCommerce: the claude mcp add command and the /mcp sign-in, the routes for a shop, and what to check before it changes a product.
To connect Claude Code to a WooCommerce shop through a plugin with its own MCP server, run claude mcp add --transport http with a name and the shop’s MCP server address. Then type /mcp in Claude Code and sign in in your browser. Anthropic’s pages, checked 27 November 2026, give these 2 steps for a remote server that needs a sign-in and put Claude Code in every paid Claude plan. WooCommerce’s own route runs through WP-CLI or a local proxy instead. The plugins differ in the account Claude Code acts as, what it is allowed to change, and whether you see a change before it is written. With the free StoreEdit AI plugin, Claude Code signs in through an OAuth page you approve in WordPress, and nothing is written until a person applies it there.
| Connecting Claude Code to WooCommerce at a glance | |
|---|---|
| In Claude Code | claude mcp add --transport http <name> <address> in a terminal, then /mcp and the sign-in in your browser; claude mcp login <name> does the sign-in from the shell |
| Already connected in the Claude app | A connector added on claude.ai appears in Claude Code when you log in to Claude Code with the same claude.ai account; on Team and Enterprise plans an admin adds it |
| Plans | Every paid Claude plan has Claude Code (Anthropic’s pricing page); a Claude Console account works too and is billed for API use |
| WooCommerce’s own route | The MCP Adapter plugin, in developer preview: WP-CLI for a shop on your own computer, a local proxy with a WordPress Application Password for a shop online |
| Plugins with an MCP server and a browser sign-in for Claude Code | AI Engine, Cowboy MCP and StoreEdit AI; you approve each sign-in in WordPress |
| StoreEdit AI | Claude Code reads products and proposes changes as the limited account aicm-assistant; you apply and undo in WordPress |
| StoreEdit AI cannot | Install WooCommerce, create products, read a customer or a single order, touch coupons or settings, or give each product its own price in one request |
Checked against Anthropic’s Claude Code documentation and pricing page, WooCommerce’s documentation and each plugin’s own pages on 27 November 2026.
Through a plugin with its own MCP server, Claude Code adds a shop as a remote MCP server with one command and one sign-in. WooCommerce’s MCP Adapter starts a shop on your computer through WP-CLI and reaches a shop online through a Node.js proxy on your computer. The Claude plan decides whether you have Claude Code, and the WordPress plugin sets what Claude Code can do in the shop.
Contents
- Which routes connect Claude Code to WooCommerce?
- How do you add the shop in Claude Code?
- Which Claude plans include Claude Code?
- What should you check before Claude Code can write?
- What should you ask Claude Code first?
- How does StoreEdit AI connect Claude Code?
- How do you deploy WooCommerce with Claude Code?
- What are the limits of each route?
- Questions
- Sources
Which routes connect Claude Code to WooCommerce?
Two kinds of route connect Claude Code to WooCommerce. The first is WooCommerce’s own route through the MCP Adapter plugin. The second is a WordPress plugin with its own MCP server, such as AI Engine, Cowboy MCP or StoreEdit AI. MCP, the Model Context Protocol, is the standard an AI assistant uses to call a shop’s tools, and a separate page explains what MCP is for a WooCommerce shop.
| Route | How Claude Code signs in | What it can change | Before and after a change | Price |
|---|---|---|---|---|
| WooCommerce’s own route (MCP Adapter) | A shop on your own computer: claude mcp add starts the MCP Adapter through WP-CLI as a WordPress user you name, with no password. A shop online: a local proxy, @automattic/mcp-wordpress-remote, with a WordPress username and an Application Password |
Products (query, create, update, delete); orders (query, query notes, update status, add notes) | Neither a preview nor an undo is documented; developer preview | Free |
| AI Engine (Meow Apps) | Browser sign-in: run /mcp in Claude Code and approve in your browser, which AI Engine recommends. Or a token with an Access Level of Admin, Read-Write or Read-Only, sent in the claude mcp add command |
66 tools in the free plugin: posts and pages, media, comments, users, menus, settings, SEO fields and more; the WooCommerce tools need AI Engine Pro | Every change can be undone from AI Engine → MCP for 30 days, except what WordPress deletes for good (media files, categories and tags); with Ask Before the owner approves deletions, the default on new installs, or every site change before it happens | MCP server free; AI Engine Pro from $59 a year |
| Cowboy MCP | Browser sign-in: two commands, claude mcp add and claude mcp login, then Approve on your own site, where you choose everything, read-only, drafts only or the tools you pick. An API key for a headless set-up |
203 WordPress tools, WP-CLI commands and theme files included; 40 of them for the store, in six areas: products and variations, stock and reports, orders and refunds, coupons, customers, settings and tax | Safe mode on by default, so destructive tools ask for confirmation; a dry run of any write; a per-change undo journal | Free |
| StoreEdit AI | Browser sign-in (OAuth), approved in WordPress by a user who can manage WooCommerce; Claude Code acts as the limited account aicm-assistant |
Free: prices, sales, stock, categories, tags, titles, descriptions. With StoreEdit AI Pro: attributes, SEO fields, slugs, images and more. It does not create products, read a customer or a single order, or touch coupons and settings; with StoreEdit AI Pro it can read sales totals the shop works out | Every product with its value now and after; you apply in WordPress; undo per product or request | Free; StoreEdit AI Pro from $147 a year |
The table shows that the three plugins sign Claude Code in through the browser and differ in the account behind the sign-in. AI Engine gives Claude Code your own WordPress user, scoped to your role, or the Access Level of a token, and a connection can be read-only or drafts only. Cowboy MCP rests on the access you choose at approval and on safe mode, and StoreEdit AI on a separate account that only proposes. WooCommerce’s own route acts as the WordPress user you name in the command or in the Application Password. Each page was checked on 27 November 2026 and is listed in the Sources. Whichever plugin you choose, the command inside Claude Code has the same form.
How do you add the shop in Claude Code?
You add the shop in Claude Code with one command in a terminal and one sign-in in your browser, the 2 steps of Anthropic’s documentation. The list places a copy before them and a check after them.
- Copy the MCP server address from your WordPress plugin’s settings screen.
- Run the command
claude mcp add --transport http <name> <address>in a terminal, with a short name such asmy-shopand the address you copied. - Read the reply: Claude Code prints a line that starts with
Addedwhen the server is saved. - Start Claude Code with
claudein the same folder, type/mcpand follow the steps in your browser to sign in to the shop and approve. - Run the check
claude mcp list: a connected shop shows✔ Connected, and a shop that still waits for the sign-in shows! Needs authentication.
Anthropic’s page calls HTTP “the recommended option for connecting to remote MCP servers”. The command claude mcp login <name> runs the same sign-in from the shell, without the /mcp panel. Over SSH, where no browser opens, the command prints the sign-in address, and you paste the address your browser ends on back into the terminal. Anthropic’s page says to connect with ssh -t for that step.
The scope decides where the shop loads. Anthropic’s page says a server added without a scope has local scope and “loads only in the project where you added it”. The option --scope user loads the server in all your projects. Cowboy MCP’s own command uses the short form -s user for the same reason (its guide, checked 27 November 2026).
A connector you added in the Claude app needs no command. Anthropic’s page says that MCP servers added on claude.ai “are automatically available in Claude Code” when you log in to Claude Code with a claude.ai account. On Team and Enterprise plans, only admins add servers on claude.ai. The same page says these connectors are not loaded while an API key, such as ANTHROPIC_API_KEY, is the active login. The command and the sign-in need Claude Code itself, and the plan decides whether you have it.
Which Claude plans include Claude Code?
All paid Claude plans include Claude Code, according to Anthropic’s pricing page: “Claude Code is included in all paid plans” (checked 27 November 2026). Anthropic’s authentication page names the accounts that log in. Among them are a Claude Pro, Max or Ultra subscription, a Claude for Teams or Enterprise account, a Claude Console account, and a cloud provider such as Amazon Bedrock. The pricing page adds that Claude Code shares the usage limits of the plan, so work in the terminal and chats draw from one pool.
A Claude Console account pays for API use. Anthropic’s help page warns that with an ANTHROPIC_API_KEY environment variable set, Claude Code uses the API key instead of your subscription, “resulting in API usage charges”. The Claude app has a wider plan list for custom connectors, the Free plan included, which is limited to one (Anthropic’s help page, checked 27 November 2026). The plan gives you Claude Code; the next section covers what to check before it writes to a shop.
What should you check before Claude Code can write?
Before Claude Code can write, check seven things, because Claude Code works on more than the shop’s MCP server.
- The account Claude Code acts as. AI Engine’s guide lists the access of a browser sign-in as “Your WordPress user, scoped to your role” and of a token as the Access Level you pick. WooCommerce’s documentation says “Use a dedicated WordPress user with only the capabilities the MCP client needs.” With StoreEdit AI, Claude Code acts as the limited
aicm-assistantaccount. - Where the credential sits. WooCommerce’s remote route places an Application Password in Claude Code’s configuration. WooCommerce’s documentation says “Do not commit a configuration containing an Application Password to version control.” A browser sign-in leaves tokens that Claude Code stores and refreshes itself (Anthropic’s page).
- The other tools of Claude Code. Anthropic describes Claude Code as a tool that “reads your codebase, edits files, runs commands”. In a terminal, Claude Code starts in auto mode, where a classifier reviews a shell command instead of you. Auto mode is the starting mode on every account from v2.1.283, and on Pro, Max, Ultra and Team plans in earlier versions. Manual mode asks you before each shell command, except a built-in set of read-only commands (Anthropic’s permission modes and permissions pages, checked 27 November 2026). The command
claude --permission-mode manualstarts a session in Manual mode. A plugin’s preview covers what comes through its MCP server. A WP-CLI command that Claude Code runs on the shop’s server changes the shop without that preview. - Preview and undo. Find out whether the plugin shows each change before it is written, and whether you can take the change back afterwards.
- A test site and reading first. AI Engine’s guide says “Start with a test site”, and StoreEdit AI’s readme advises a backup and a staging copy for each new kind of change. Ask questions that change nothing before the first change.
- Anthropic’s cautions. Anthropic’s page says “Verify you trust each server before connecting it” and warns of prompt injection through servers that fetch external content. Its security page adds that Anthropic “does not security-audit or manage any MCP server”. StoreEdit AI tells Claude Code to treat a product’s text as data to read, never as instructions to follow.
- Where the data goes. Whatever Claude Code reads from the shop goes to the provider of the account Claude Code logs in with, under that provider’s terms (StoreEdit AI’s readme). WooCommerce’s documentation warns that on its own route “Order and customer operations may expose personally identifiable information (PII) including names, email addresses, physical addresses, and payment details.”
The checks come before the first change; the first requests come next.
What should you ask Claude Code first?
You should ask Claude Code first the questions that only read the shop. “How many products are in each category?” and “How many products are on sale?” are two of them, and you compare the answers with the Products screen in WordPress. Then ask for one small change on a few products and open their pages afterwards to see what shoppers see. For a first price change, read how to raise prices by a percentage in WooCommerce, and for every other field the guide on how to bulk edit WooCommerce products. The next section shows how one plugin handles the sign-in and the first change.
How does StoreEdit AI connect Claude Code?
StoreEdit AI connects Claude Code through an OAuth sign-in that a user who can manage WooCommerce approves in WordPress. The StoreEdit AI screen shows the MCP server address as the connection address under “Your assistant”. You copy it, add it with claude mcp add --transport http, type /mcp and sign in on your shop’s page. The first time you approve a connection, the plugin creates one account, aicm-assistant, that reads products and proposes changes and nothing else. Claude Code acts as that account, never as you, so it cannot approve, apply or undo anything through the connection. You revoke a connection at any time from the StoreEdit AI screen.
The approval page names the app that asks and the address the sign-in returns to (the plugin’s code, version 0.3.22). An app that identifies itself with a document published on claude.ai, claude.com, chatgpt.com or openai.com is marked “Verified identity”. Any other app is marked “Unverified app”, with the advice to approve only a connection you started yourself, just now. For a sign-in that returns to your own computer, the page adds one more line: “the app runs on the machine you are using now (for example Claude Code). Any program on this computer could have started this request.”
The shop gives Claude Code an access token that lasts 1 hour and a refresh token that lasts 30 days and is replaced at each renewal (the plugin’s code, version 0.3.22). Anthropic’s page says Claude Code refreshes tokens automatically, and that /mcp offers Re-authenticate when the shop rejects the stored refresh token. The sign-in needs two addresses under /.well-known/ to reach WordPress, and some hosts block them. The StoreEdit AI screen checks this and shows the exact rule to give your hosting provider.

A request to Claude Code becomes a proposal in WordPress, not a change. WordPress shows your request as Claude Code passed it on, Claude Code’s summary of it, and each product’s value now next to its value after. You untick the rows you do not want, press Apply selected, and undo one product or the whole request later. Each row is checked again as it is written, so a product someone changed in the meantime is skipped. StoreEdit AI has no AI model inside, asks for no API key and charges nothing per use. The AI work runs on the Claude plan or the Claude Console account you log in to Claude Code with.
The free plugin covers prices, sales, stock, categories, tags, titles and descriptions. StoreEdit AI Pro adds attributes, the move to the right category, SEO fields, slugs, images, upsells and cross-sells, product status, the Trash, custom fields and a sales analysis. The StoreEdit AI documentation has the full set-up.
A first build of StoreEdit AI’s sign-in ran with Claude Code 2.1.281 on a Claude Max plan on 24 September 2026, and again with Claude Code 2.1.282 on 25 September 2026. The shop was a development shop on the same computer. The sign-in, the tool calls and Revoke worked, and the call after Revoke was refused. Claude Code registered itself with the shop under its own name and returned the sign-in to a localhost address. The run came before the sign-in was rebuilt for release and before the plugin reached WordPress.org on 15 October 2026. No sign-in run with a later Claude Code version is recorded. A shop that already runs is where every connection on this page starts; installing one is a different task.
How do you deploy WooCommerce with Claude Code?
To deploy WooCommerce with Claude Code, let Claude Code run WP-CLI on the computer or server that holds WordPress. WP-CLI’s command wp plugin install woocommerce --activate installs a plugin from WordPress.org and activates it at once (WP-CLI’s documentation, checked 27 November 2026). The command needs an installed WordPress and WP-CLI, so Claude Code runs on that computer or server, or reaches it over SSH. Claude Code runs shell commands. Manual mode asks for your approval before each one except a built-in set of read-only commands, and auto mode leaves the review to a classifier (Anthropic’s permission modes and permissions pages). WooCommerce’s own documentation installs the MCP Adapter the same way, with wp plugin install mcp-adapter --activate.
An MCP connection is a separate thing from a deployment, because it reaches a shop that already runs. StoreEdit AI does not install WooCommerce, set up a shop or create products. StoreEdit AI changes the products of a shop that exists, after a person approves each request. Every route has limits of this kind.
What are the limits of each route?
The limits of each route are the rules of Claude Code itself, a developer preview in WooCommerce’s own route, and each plugin’s own list of what it leaves alone.
- Claude Code: a server added without a scope loads in one project only. On its v2 runtime, the default in current versions, Claude Code sends OAuth credentials only to a token endpoint served over HTTPS or at
localhost,127.0.0.1or::1. A run started withclaude -phas no/mcppanel, so you sign in from an interactive session first. A successful MCP tool result over 25,000 tokens, the default limit, or a text result over 50,000 characters is saved to a file. Claude Code reads the file when it needs the content (Anthropic’s page, checked 27 November 2026). - WooCommerce’s own route: a developer preview whose details can change. The remote route runs a Node.js proxy on your computer and keeps an Application Password in the configuration. WooCommerce 11.3 removed the earlier
/wp-json/woocommerce/mcpendpoint, so an older set-up moves to the MCP Adapter. The page WooCommerce MCP vs StoreEdit AI compares the two routes in full. - The plugins: each draws its own line between what Claude Code does alone and what needs a person; read each plugin’s page before you connect.
- StoreEdit AI: it does not create products and never deletes one for good. With StoreEdit AI Pro it can move products to the Trash, and undo brings them back while they are there. Claude Code never reads a customer, a single order or a payment through it; with StoreEdit AI Pro it can read sales totals the shop works out. The plugin schedules nothing for later except a sale’s start and end dates, and has no CSV import or export. One request gives every product the same price, stock or category; only StoreEdit AI Pro’s move to the right category sets a category per product. A price cannot be set for one variation alone. Products cannot be selected by price, stock level, date, SKU pattern or sales. With StoreEdit AI Pro, images are added only from a web address, never from your computer, and the plugin does not edit, crop or generate them. Coupons, shipping and settings are never touched, and the SEO fields do not support All in One SEO. StoreEdit AI needs WordPress 6.5 or later, PHP 8.1 or later, WooCommerce and a working WordPress scheduler, on a single site online over HTTPS.
The limits of StoreEdit AI hold for its own connection; the other tools of Claude Code keep the permissions you give them.
Questions
Does Claude Code need an API key to connect to WooCommerce?
No, Claude Code does not need an API key to connect to WooCommerce through a plugin with a browser sign-in. You run the command, sign in to WordPress and approve. WooCommerce’s own remote route asks for a WordPress Application Password instead. StoreEdit AI asks for no API key at any step, because it has no AI model inside.
Is Claude Code included in the Claude Pro plan?
Yes, Claude Code is included in the Claude Pro plan, and it draws on the same usage limits as the plan’s chats (Anthropic’s pricing page, checked 27 November 2026).
Do I add the shop again when the Claude app is already connected?
No, you do not add the shop again when the Claude app is already connected and Claude Code is logged in with the same claude.ai account. Anthropic’s page says connectors added on claude.ai are automatically available in Claude Code, and /mcp lists them. The steps for the Claude app are in how to connect Claude to WooCommerce.
Can Claude Code connect to a shop on my own computer?
Yes, Claude Code can connect to a shop on your own computer through WooCommerce’s own route, which starts the MCP Adapter through WP-CLI on that computer (WooCommerce’s documentation). Cowboy MCP’s guide says its browser sign-in works for a site on localhost (checked 27 November 2026). StoreEdit AI’s documentation asks for a shop online over HTTPS. Its September 2026 sign-in run used a development shop on the same computer as Claude Code, and no run on a local shop is recorded for the released versions. For StoreEdit AI, put the shop online over HTTPS, as its documentation asks.
How do you disconnect Claude Code from the shop?
To disconnect Claude Code from the shop, run claude mcp logout <name> and then claude mcp remove <name>. Anthropic’s page says that removing a server deletes the stored tokens without revoking them at the shop, and that the logout command revokes them where the server supports it. With StoreEdit AI, the Revoke button on the StoreEdit AI screen ends the connection from the shop’s side.
Can I connect ChatGPT as well?
Yes, you can connect ChatGPT as well in a ChatGPT Business or Enterprise/Edu workspace, where OpenAI’s help page lists full MCP support for custom MCP servers. ChatGPT Pro gets read and fetch permissions only (OpenAI’s help page, checked 27 November 2026). OpenAI’s steps are in how to connect ChatGPT to WooCommerce.
Can I let Claude Code edit my products?
Yes, you can let Claude Code edit your products through a plugin that lets it write. With StoreEdit AI, Claude Code proposes the change and a person applies it in WordPress after seeing every product now and after, with undo. Keep a backup and try each new kind of change on a staging copy first. See how to undo a bulk edit in WooCommerce for what to do when a change goes wrong.
Sources
- Anthropic, Claude Code documentation, “Connect Claude Code to tools via MCP”, code.claude.com/docs/en/mcp, checked 27 November 2026. Used for the command, the sign-in, the scopes, the statuses, claude.ai connectors, removal and logout, the token endpoint rule and the output limit.
- Anthropic, Claude Code documentation, “Authentication” (the accounts that log in), code.claude.com/docs/en/authentication, checked 27 November 2026.
- Anthropic, Claude Code documentation, “Overview” (what Claude Code does), code.claude.com/docs/en/overview, checked 27 November 2026.
- Anthropic, Claude Code documentation, “Configure permissions” (Manual mode’s prompts and the read-only commands), code.claude.com/docs/en/permissions, checked 27 November 2026.
- Anthropic, Claude Code documentation, “Security” (MCP servers are not audited by Anthropic), code.claude.com/docs/en/security, checked 27 November 2026.
- Anthropic, Claude Code documentation, “Choose a permission mode” (auto mode as the starting mode, by version and plan; Manual mode), code.claude.com/docs/en/permission-modes, checked 27 November 2026.
- Anthropic, “Plans & pricing” (Claude Code in all paid plans, shared usage limits), claude.com/pricing, checked 27 November 2026.
- Anthropic, “Use Claude Code with your Pro, Max, or Ultra plan” (the API key warning), support.claude.com/en/articles/11145838, checked 27 November 2026.
- Anthropic, “Get started with custom connectors using remote MCP” (the Claude app’s plans), support.claude.com/en/articles/11175166, checked 27 November 2026.
- WooCommerce, “Model Context Protocol (MCP) Integration”, developer.woocommerce.com/docs/features/mcp/, checked 27 November 2026. Used for the developer preview, the MCP Adapter, WP-CLI and the local proxy, the Application Password, the abilities, the data privacy notice and the endpoint removed in 11.3.
- WP-CLI, “wp plugin install” (the
--activateoption), developer.wordpress.org/cli/commands/plugin/install/, checked 27 November 2026. - AI Engine, “Connect Claude to WordPress with MCP: App, Desktop & Code”, meowapps.com/claude-code-wordpress-mcp/, checked 27 November 2026. Used for the sign-in, the token and its Access Level, the account Claude Code uses and the test site.
- AI Engine, “AI Engine MCP: The Facts” (the free tools, WooCommerce in AI Engine Pro, undo for 30 days, Ask Before, the price), meowapps.com/ai-engine/mcp-facts/, checked 27 November 2026.
- Cowboy MCP, “How to Connect WordPress to Claude Code”, cowboymcp.com/connect-wordpress-to-claude-code, checked 27 November 2026. Used for the two commands, the access you choose, the API key, 203 tools, a site on localhost, safe mode, dry run and the undo journal.
- Cowboy MCP, “WooCommerce MCP Server” (40 store tools in six areas, free), cowboymcp.com/woocommerce-mcp, checked 27 November 2026.
- StoreEdit AI for WooCommerce 0.3.22, wordpress.org/plugins/storeedit-ai/, checked 27 November 2026. Used for the sign-in, the
/.well-known/addresses, backup and staging, and where the assistant’s data goes. WordPress 6.5 comes from the plugin’s header and its changelog for version 0.3.21. The approval page, the tokens and the instruction on product text come from its code, and the September 2026 run from the plugin’s own test record. - OpenAI, “Connecting custom MCP servers in ChatGPT” (the ChatGPT plans), help.openai.com/en/articles/12584461, checked 27 November 2026.
- Our documentation (OAuth, the
aicm-assistantaccount, preview, undo, the free plugin and StoreEdit AI Pro), checked 27 November 2026.
Anthropic’s plans, Claude Code’s commands and plugin prices change; the check date tells you how old each statement is.
Ask Claude Code, approve in WordPress
StoreEdit AI connects Claude Code to your shop through a limited account. Claude Code proposes, you see every product now and after in WordPress, and you can undo what you applied.