This page covers installing MCP for WooCommerce on a WordPress site with WooCommerce and checking that it works.
Prerequisites
- WordPress 6.4 or later (tested up to 7.0)
- PHP 8.0 or later
- WooCommerce installed and active
- Composer and Node.js, only if you want to rebuild the plugin from source
Installation Methods
Method 1: WordPress Admin (Recommended)
- Download the latest version from the WordPress.org plugin page
- Go to Plugins > Add Plugin > Upload Plugin
- Upload the
.zipfile - Click Install Now
- Activate the plugin
Method 2: Manual Installation
- Download the plugin ZIP from the WordPress.org plugin page
- Upload it to
/wp-content/plugins/ - Extract it there
- Go to Plugins in your WordPress admin
- Activate MCP for WooCommerce
Method 3: From the Source Repository
If you want to change the plugin or contribute to it:
cd /wp-content/plugins/
git clone https://github.com/iOSDevSK/mcp-for-woocommerce.git
The repository includes the vendor/ and build/ folders, so the plugin runs as cloned. Rebuild only after you change PHP dependencies or the admin scripts:
cd mcp-for-woocommerce
composer install
npm install && npm run build
Initial Configuration
Once the plugin is active:
- Go to Settings > MCP for WooCommerce in your WordPress admin
- On the Settings tab, switch on Enable MCP functionality
- Copy the MCP endpoint URL from the Access card. The endpoint is public and read-only, so no token is needed
- On the Tools tab, switch off any tool you do not want the assistant to use
Verification
To check the installation:
- The plugin shows as active in your Plugins list
- Settings > MCP for WooCommerce opens
- On the Settings tab, Enable MCP functionality is on
- On the Tools tab, the tools you need are on
Troubleshooting
Common Issues
The plugin won't activate:
- Check that the server runs PHP 8.0 or later
- Check that WordPress is 6.4 or later
Composer dependencies are missing:
- Run
composer installin the plugin directory
Permission errors:
- Check the file permissions of the plugin directory
- Make sure the web server can read the plugin files
The settings screen is broken or incomplete:
- Run
npm install && npm run buildin the plugin directory to rebuild the admin scripts
Getting Help
Open an issue on GitHub.