What is the WooCommerce MCP server?
The Techspawn WooCommerce MCP server is a Node.js server that connects an MCP client to a WooCommerce store through the WordPress REST API. It offers methods for products, orders, customers, coupons, shipping, taxes, reports and settings, plus WordPress posts and post meta, under an MIT licence.
It is a Model Context Protocol server for WooCommerce, written in JavaScript and built with npm. The README says it works on Windows, macOS and Linux and talks to a store through the WordPress REST API using JSON-RPC 2.0.
Unlike page builder servers, it does not touch layouts. It manages store data: the catalogue, orders, customers and the settings around them. A few WordPress methods cover posts and post meta.
What an agent can do with it
- Create, read, update and delete products, categories, tags, attributes, variations and reviews.
- List and edit orders, add order notes and create refunds.
- Manage customers, coupons, shipping zones and methods, tax classes and tax rates.
- Pull sales, product, order, category, customer, stock, coupon and tax reports.
- Read and change store settings, payment gateways and system status tools.
Who it is for
Best for
- Store owners and developers who want to bulk edit catalogue data by describing the change.
- Agencies that need reports and order lookups without opening each wp-admin screen.
- Teams prototyping an AI shopping or support assistant on top of WooCommerce data.
Not for
- Page layout work in Elementor, Gutenberg or Bricks. This server has no page builder tools.
- Anyone who wants a built-in undo. The README documents delete methods and no rollback.
Use it with UiChemy
This server runs the store. UiChemy covers the pages around it. Composer writes HTML, CSS and JS for Elementor or Gutenberg landing pages, and Figma to WordPress converts a design into an editable page. Click Get Started on uichemy.com.
Connect WooCommerce MCP Server by Techspawn: Store Tools for AI to your AI client
git clone https://github.com/techspawn/woocommerce-mcp-server.git && cd woocommerce-mcp-server && npm install && npm run buildCheck the requirements
The README asks for Node.js 20 or later, a WordPress site with the WooCommerce plugin and WooCommerce REST API keys.
Build the server
Clone the repository, run npm install and then npm run build.
Create API keys
In WordPress open WooCommerce, Settings, Advanced, REST API and generate a consumer key and secret. Use a key with only the permissions you need.
Add the config
Put the config above in your client's MCP settings. The WordPress username and password are only needed for the WordPress post methods.
Start with a read
Ask for a product list or a sales report first. Try writes on a staging store before you let an agent change live products or orders.
Client configuration
{
"mcpServers": {
"woocommerce": {
"command": "node",
"args": ["path/to/build/index.js"],
"env": {
"WORDPRESS_SITE_URL": "https://your-wordpress-site.com",
"WOOCOMMERCE_CONSUMER_KEY": "your-woocommerce-consumer-key",
"WOOCOMMERCE_CONSUMER_SECRET": "your-woocommerce-consumer-secret",
"WORDPRESS_USERNAME": "your-wordpress-username",
"WORDPRESS_PASSWORD": "your-wordpress-password"
}
}
}
}Endpoints and ports
https://your-wordpress-site.comRequired. The store's WordPress address.your-woocommerce-consumer-keyRequired for WooCommerce methods.your-woocommerce-consumer-secretRequired for WooCommerce methods.your-wordpress-usernameOnly for WordPress methods such as posts.your-wordpress-passwordOnly for WordPress methods such as posts.What you can do with it
- Full catalogue managementProducts, categories, tags, attributes, attribute terms, variations and reviews all have create, read, update and delete methods.
- Orders and refundsList orders, update them, attach notes and create refunds from the same server.
- Shipping and tax setupZones, methods, locations, tax classes and tax rates can be read and changed.
- CouponsCreate, update and delete discount coupons.
- ReportsSales, products, orders, categories, customers, stock, coupons and taxes each have a report method.
- Custom metadataProduct, order, customer and post meta can be read, created, updated and deleted.
- Credentials per requestKeys can be passed in the request parameters instead of environment variables.
Tools it exposes
get_products / create_product / update_product / delete_product
Read, create, change and remove products.
get_product_variations / create_product_variation
Work with variations of a variable product.
get_orders / update_order / create_order_refund
List and change orders and create refunds.
create_order_note
Adds a note to an order.
get_customers / create_customer
Look up and create customers.
create_coupon / update_coupon
Create and change discount coupons.
get_shipping_zones / create_shipping_zone_method
Manage shipping zones and their methods.
get_tax_rates / create_tax_rate
Read and create tax rates.
get_sales_report / get_stock_report
Retrieve sales and stock reports.
create_post / update_post / create_post_meta
WordPress post and post meta methods that need username and password.
Frequently asked questions
What is the Techspawn WooCommerce MCP server?
It is an open source Model Context Protocol server that exposes WooCommerce and some WordPress REST API functions as methods an AI agent can call. It covers products, orders, customers, coupons, shipping, taxes, reports and settings, and is released under the MIT licence.
How do I install the WooCommerce MCP server?
Clone the repository, run npm install and npm run build, then add a server entry to your MCP settings that runs node on the built index.js file. Set the site URL plus a WooCommerce consumer key and secret as environment variables.
What does the WooCommerce MCP server need to run?
The README lists Node.js 20 or later, a WordPress site with the WooCommerce plugin installed and WooCommerce REST API keys. Only the WordPress post methods additionally need a WordPress username and password.
Can an AI agent delete products and orders with it?
Yes. The method list includes delete methods for products, orders, customers, coupons and more. The README documents no confirmation step or undo, so use restricted API keys and test on a staging store before connecting a live one.
Does it work with HPOS and the newest WooCommerce?
The README does not mention High Performance Order Storage or give supported WooCommerce versions. Check the methods you need against your own store, and read the open issues on the repository before relying on it.
Is the WooCommerce MCP server still maintained?
The last push to the repository was on Nov 10, 2025, a year before this page. Review the open issues and test every method you need first. For a wider WordPress tool set compare Respira for WordPress.
Can it edit Elementor or Gutenberg pages?
No. It has WordPress post and meta methods, but the README lists no page builder tools, so it cannot read or change an Elementor or Gutenberg layout. To work on page layouts, see MCP Abilities Elementor, or DiviOps MCP for Divi 5.
Is it free to use?
The README states the MIT licence, so the server code is free. WooCommerce and your host are separate. The README mentions a related WooCommerce ChatGPT app project by the same company but gives no pricing.


