WooCommerce
WooCommerce MCP Server enables interaction with WooCommerce stores through the WordPress REST API. It provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using JSON
What is WooCommerce?
WooCommerce is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to woocommerce mcp server enables interaction with woocommerce stores through the wordpress rest api. it provides comprehensive tools for managing all aspects of products, orders, customers, shipping, ta...
WooCommerce MCP Server enables interaction with WooCommerce stores through the WordPress REST API. It provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using JSON
This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- WooCommerce MCP Server enables interaction with WooCommerce
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx woocommerce-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use WooCommerce
WooCommerce MCP Server connects AI assistants to WooCommerce stores through the WordPress REST API, exposing 100+ methods for managing every aspect of an e-commerce store. It covers products (CRUD, variations, reviews, metadata), orders (management, notes, refunds), customers, shipping zones and methods, taxes, coupons, payment gateways, sales reports, and store configuration. Store owners, developers, and e-commerce managers use it to query inventory, update products, process orders, and configure store settings through natural language.
Prerequisites
- Node.js 20.0.0 or higher installed
- A WordPress site with the WooCommerce plugin installed and active
- WooCommerce REST API consumer key and consumer secret (generated in WooCommerce > Settings > Advanced > REST API)
- WordPress username and password (required for WordPress-specific methods)
- An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
Clone and build the WooCommerce MCP Server
Clone the repository and run the build step to compile the server.
git clone https://github.com/techspawn/woocommerce-mcp-server.git
cd woocommerce-mcp-server
npm install && npm run buildGenerate WooCommerce REST API keys
In your WordPress admin panel, go to WooCommerce > Settings > Advanced > REST API. Click 'Add key', set permissions to Read/Write, and copy the Consumer Key and Consumer Secret.
Set environment variables
Export your WooCommerce and WordPress credentials as environment variables.
export WORDPRESS_SITE_URL="https://yourstore.com"
export WOOCOMMERCE_CONSUMER_KEY="ck_your_consumer_key"
export WOOCOMMERCE_CONSUMER_SECRET="cs_your_consumer_secret"
export WORDPRESS_USERNAME="your_wp_username"
export WORDPRESS_PASSWORD="your_wp_password"Add the server to your MCP client configuration
Register the built server in your MCP client config, passing credentials as environment variables.
{
"mcpServers": {
"woocommerce": {
"command": "node",
"args": ["/absolute/path/to/woocommerce-mcp-server/build/index.js"],
"env": {
"WORDPRESS_SITE_URL": "https://yourstore.com",
"WOOCOMMERCE_CONSUMER_KEY": "ck_your_consumer_key",
"WOOCOMMERCE_CONSUMER_SECRET": "cs_your_consumer_secret",
"WORDPRESS_USERNAME": "your_wp_username",
"WORDPRESS_PASSWORD": "your_wp_password"
}
}
}
}Restart your MCP client and manage your store
Restart Claude Desktop or your chosen client. All 100+ WooCommerce methods are now accessible through natural language, covering products, orders, customers, shipping, taxes, coupons, and reports.
WooCommerce Examples
Client configuration
Example claude_desktop_config.json for the WooCommerce MCP Server.
{
"mcpServers": {
"woocommerce": {
"command": "node",
"args": ["/Users/yourname/woocommerce-mcp-server/build/index.js"],
"env": {
"WORDPRESS_SITE_URL": "https://yourstore.com",
"WOOCOMMERCE_CONSUMER_KEY": "ck_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"WOOCOMMERCE_CONSUMER_SECRET": "cs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"WORDPRESS_USERNAME": "admin",
"WORDPRESS_PASSWORD": "your_password"
}
}
}
}Prompts to try
Example prompts for managing a WooCommerce store through your AI assistant.
- "List the last 10 orders with their status and totals"
- "Show me all products in the 'Accessories' category with stock below 5"
- "Create a 20% off coupon code SUMMER2025 that expires on August 31"
- "Update the price of product ID 123 to $49.99"
- "Show me sales report for the last 30 days"
- "Add a new shipping zone for California with flat rate $5.99"Troubleshooting WooCommerce
401 Unauthorized when calling WooCommerce API
Verify that WOOCOMMERCE_CONSUMER_KEY and WOOCOMMERCE_CONSUMER_SECRET are correct and that the API key has Read/Write permissions. Also ensure that the WooCommerce REST API is enabled: WooCommerce > Settings > Advanced > REST API.
WORDPRESS_SITE_URL connection refused or SSL errors
Use the full URL including protocol (https://). If your store uses a self-signed SSL certificate, you may need to configure Node.js to accept it. For local development with HTTP, use http:// and ensure permalinks are not set to 'Plain' in WordPress settings.
build/index.js not found after install
Run 'npm run build' in the project directory to compile TypeScript to JavaScript. The build output goes to the 'build/' directory. Ensure Node.js 20+ is installed — older versions may fail the build silently.
Frequently Asked Questions about WooCommerce
What is WooCommerce?
WooCommerce is a Model Context Protocol (MCP) server that woocommerce mcp server enables interaction with woocommerce stores through the wordpress rest api. it provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using json It connects AI assistants to external tools and data sources through a standardized interface.
How do I install WooCommerce?
Follow the installation instructions on the WooCommerce GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with WooCommerce?
WooCommerce works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is WooCommerce free to use?
Yes, WooCommerce is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
WooCommerce Alternatives — Similar Business Applications Servers
Looking for alternatives to WooCommerce? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.
n8n
★ 189.1kA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou
LobeHub
★ 77.5k🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
Jeecgboot
★ 46.4kAI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。
CowAgent
★ 44.7kCowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。
Minds Platform
★ 39.2kPlatform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.
Astrbot
★ 32.8kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Browse More Business Applications MCP Servers
Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up WooCommerce in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use WooCommerce?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.