WooCommerce MCP Server logo

WooCommerce MCP Server

by techspawn

This 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-RPC 2.0 protocol.

View on GitHub

Last updated: N/A

What is WooCommerce MCP Server?

The WooCommerce MCP Server is a Model Context Protocol (MCP) server designed to facilitate interaction with WooCommerce stores using the WordPress REST API. It acts as an intermediary, allowing you to manage various aspects of your WooCommerce store programmatically.

How to use WooCommerce MCP Server?

To use the server, you need to clone the repository, install dependencies using npm install, and build the project with npm run build. Then, configure the server within your MCP settings file, providing necessary environment variables for WordPress and WooCommerce API credentials. You can then interact with the server using JSON-RPC 2.0 requests to access various API methods.

Key features of WooCommerce MCP Server

  • Comprehensive WooCommerce management via REST API

  • Support for products, orders, customers, shipping, taxes, discounts, and store configuration

  • JSON-RPC 2.0 protocol for communication

  • Authentication options for both WooCommerce and WordPress APIs

  • Cross-platform compatibility (Windows, macOS, Linux)

Use cases of WooCommerce MCP Server

  • Automated product management (creation, updates, deletion)

  • Order processing and fulfillment automation

  • Customer data synchronization and management

  • Integration with external systems (e.g., CRM, ERP)

FAQ from WooCommerce MCP Server

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for communication between different software components.

What are the required environment variables?

You need to set WORDPRESS_SITE_URL, WOOCOMMERCE_CONSUMER_KEY, WOOCOMMERCE_CONSUMER_SECRET for WooCommerce API access. For WordPress API methods, you also need WORDPRESS_USERNAME and WORDPRESS_PASSWORD.

How do I generate WooCommerce API keys?

You can generate API keys in your WordPress dashboard under WooCommerce → Settings → Advanced → REST API.

What is JSON-RPC 2.0?

JSON-RPC 2.0 is a stateless, light-weight remote procedure call (RPC) protocol that uses JSON (JavaScript Object Notation) as a data format.

What Node.js version is required?

Node.js 20.0.0 or higher is required.

WooCommerce MCP Server - MCP Server | MCP Directory