🛒 Transform your WooCommerce store with AI-powered natural language interactions
Features • Quick Start • Documentation • Examples • Contributing
Made with 🧡 in Cape Town 🇿🇦
Powered by Xstra AI✨ | Enabled by IntelliCommerce✨
The IntelliCommerce✨ Woo MCP server is a commercial-grade Model Context Protocol (MCP) implementation that bridges WooCommerce stores with AI assistants. Talk to your store in natural language through VS Code Copilot, Claude Desktop, or any MCP-compatible client.
🚀 Professional fork of Automattic's WooCommerce MCP server, enhanced with commercial features, comprehensive documentation, and production-ready configuration.
|
|
📋 Prerequisites
- Node.js 18+ (tested with v22.15.0)
- WooCommerce Store with REST API enabled
- API Keys with appropriate permissions
- MCP Client (VS Code Copilot, Claude Desktop, etc.)
# Install globally from npm
npm install -g intellicommerce-woo-mcp
# Setup in any project
cd your-project
intellicommerce-woo-mcp setup
# Set environment variables
export WOOCOMMERCE_API_URL="https://your-store.com"
export WOOCOMMERCE_CONSUMER_KEY="ck_your_key"
export WOOCOMMERCE_CONSUMER_SECRET="cs_your_secret"
# Clone the repository
git clone https://github.com/jlfguthrie/intellicommerce-woo-mcp.git
cd intellicommerce-woo-mcp
# Install dependencies
npm install
# Build the project
npm run build
🔧 Global Installation (Automatic)
After global installation, use the setup command:
# In any project directory
intellicommerce-woo-mcp setup
This creates .vscode/mcp.json
:
{
"mcpServers": {
"intellicommerce-woo": {
"command": "intellicommerce-woo-mcp",
"args": [],
"env": {}
}
}
}
🔧 Local Development (Manual)
For local development, create .env
file:
cp .env.example .env
Edit .env
with your WooCommerce credentials:
WOOCOMMERCE_API_URL=https://your-store.com
WOOCOMMERCE_CONSUMER_KEY=ck_your_consumer_key
WOOCOMMERCE_CONSUMER_SECRET=cs_your_consumer_secret
🔧 VS Code with Copilot
For Production Use (Global Installation):
{
"mcpServers": {
"intellicommerce-woo": {
"command": "intellicommerce-woo-mcp",
"args": [],
"env": {}
}
}
}
For Contributing/Customization (Local Build):
{
"mcpServers": {
"intellicommerce-woo": {
"command": "node",
"args": ["${workspaceFolder}/build/server.js"],
"env": {}
}
}
}
🔐 Security Note: Credentials are loaded from your
.env
file, not hardcoded in the MCP configuration.
</details>
<details>
<summary><strong>🖥️ Claude Desktop</strong></summary>
Add to `claude_desktop_config.json`:
```json
{
"mcpServers": {
"intellicommerce-woo": {
"command": "node",
"args": ["/absolute/path/to/build/server.js"],
"env": {
"WOOCOMMERCE_API_URL": "https://your-store.com",
"WOOCOMMERCE_CONSUMER_KEY": "ck_your_key",
"WOOCOMMERCE_CONSUMER_SECRET": "cs_your_secret"
}
}
}
}
💡 Note: For Claude Desktop, you need to include credentials in the config file since it doesn't automatically load
.env
files.
</details>
### 4️⃣ **Launch**
<details>
<summary><strong>🌍 Global Installation (Production Use)</strong></summary>
```bash
# Set environment variables
export WOOCOMMERCE_API_URL="https://your-store.com"
export WOOCOMMERCE_CONSUMER_KEY="ck_your_key"
export WOOCOMMERCE_CONSUMER_SECRET="cs_your_secret"
# Start the server (available globally)
intellicommerce-woo-mcp
💻 Local Development
# Start the server (local development)
npm start
You'll see:
🚀 Initializing ✨IntelliCommerce✨ Woo MCP Server...
✅ WooCommerce client initialized successfully.
🔧 Setting up server transport...
✨ IntelliCommerce✨ Woo MCP Server running on stdio
Made with 🧡 in Cape Town 🇿🇦
📦 Product Management
📋 Order Operations
|
👥 Customer Insights
🎫 Promotions
|
📖 Guide | 🎯 Purpose | 🔗 Link |
---|---|---|
Setup | Installation & Configuration | 📋 Setup Guide |
API Reference | Complete Tool Documentation | 🛠️ API Docs |
Troubleshooting | Common Issues & Solutions | 🔧 Troubleshooting |
Changelog | Version History | 📈 Changelog |
📦 Products (6 tools)
list_products
- List all products with search and paginationget_product
- Get specific product detailscreate_product
- Create new productsupdate_product
- Update existing productsdelete_product
- Remove productslist_product_variations
- Manage product variations
📋 Orders (5 tools)
list_orders
- List orders with filteringget_order
- Get order detailscreate_order
- Create new ordersupdate_order
- Update order statusdelete_order
- Remove orders
👥 Customers (5 tools)
list_customers
- List all customersget_customer
- Get customer detailscreate_customer
- Add new customersupdate_customer
- Update customer datadelete_customer
- Remove customers
🎫 Coupons, 💳 Payments, 🚚 Shipping, 💰 Refunds, 💸 Tax Rates
45+ total tools covering all major WooCommerce entities with full CRUD operations.
- ✅ Environment Variables - Never commit credentials
- ✅ API Key Permissions - Least privilege access
- ✅ Input Validation - Prevent injection attacks
- ✅ HTTPS Enforcement - Secure API communications
- ✅ Rate Limiting - Prevent API abuse
We welcome contributions! Here's how to get started:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Commit changes:
git commit -m '✨ feat: Add amazing feature'
- Push to branch:
git push origin feature/amazing-feature
- Open a Pull Request
📋 Development Setup
# Install dependencies
npm install
# Start development with watch mode
npm run dev
# Type checking
npm run typecheck
# Format code
npm run format
This project is licensed under the MIT License - see the LICENSE file for details.
This project is a commercial fork and enhancement of the WooCommerce MCP server originally created by Automattic Inc. as part of their ai-experiments repository.
We gratefully acknowledge the original authors and contributors.
IntelliCommerce✨ is a Cape Town-based technology company specializing in AI-powered e-commerce solutions. We create innovative tools and integrations that bridge the gap between artificial intelligence and online commerce platforms.
🌐 Website • 📧 Email • 👨💻 Developer
Made with 🧡 in Cape Town 🇿🇦
Powered by Xstra AI✨ | Enabled by IntelliCommerce✨
📋 Development Commands
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start
# Development with watch mode
npm run dev
# Clean build directory
npm run clean
# Type checking
npm run typecheck
# Format code
npm run format
# Local sanity check
npm run sanity:check
# Local manual release
npm run local:release
🧪 Local Testing
# Test MCP connection with inspector
npm run test:mcp
# Local sanity check
npm run sanity:check
⚙️ Environment Variables
# Required
WOOCOMMERCE_API_URL=https://your-store.com
WOOCOMMERCE_CONSUMER_KEY=ck_your_key
WOOCOMMERCE_CONSUMER_SECRET=cs_your_secret
# Optional
NODE_ENV=development
DEBUG=true
API_TIMEOUT=30000
LOG_LEVEL=info
LOG_REQUESTS=true
MAX_CONCURRENT_REQUESTS=10
DEFAULT_PAGE_SIZE=20
🔍 Troubleshooting
Common Issues:
-
❌ "Missing required WooCommerce configuration"
- Check your
.env
file exists and has correct values - Ensure no extra spaces or quotes in environment variables
- Check your
-
❌ "Invalid signature" or 401 Unauthorized
- Regenerate API keys in WooCommerce admin
- Verify API key permissions (Read/Write)
- Check store URL includes
https://
-
❌ Server not showing in VS Code Copilot
- Verify absolute path to
build/server.js
in.vscode/mcp.json
- Restart VS Code after MCP configuration changes
- Verify absolute path to
-
❌ GitHub Tool Schema Errors on Global Install
- These errors are unrelated to IntelliCommerce✨ Woo MCP
- Caused by VS Code's JSON schema download being disabled
- Safe to ignore - they don't affect MCP functionality
- To fix: Enable
json.schemaDownload.enable
in VS Code settings
For more troubleshooting, see our Troubleshooting Guide.
- Never commit your API keys or secrets to version control. Use environment variables (the
.env
file) to store them securely. - Limit API key permissions: Only grant the necessary permissions (read-only, if possible) to the WooCommerce API keys you use with the IntelliCommerce✨ Woo MCP server.
- Validate Inputs: Thoroughly validate all inputs received from the client (especially tool arguments) to prevent injection attacks or unintended behavior.
- Consider HTTPS: Use HTTPS for communication between the client and server, especially if
you're not using the stdio transport. The quickstart enables
queryStringAuth
and disables certificate checking for local development only. For production, use proper HTTPS certificates. - Rate Limiting: Implement rate limiting to prevent abuse of your server and the WooCommerce API.
Made with 🧡 in Cape Town 🇿🇦 Powered by Xstra AI✨ | Enabled by IntelliCommerce✨