woocommerce-mcp-server

woocommerce-mcp-server

1

The WooCommerce MCP Server is a tool designed to integrate WooCommerce stores with AI assistants and task management systems such as Task Master. It offers data synchronization, content management, and performance enhancement features with support for webhooks and Redis integration.

WooCommerce MCP Server

A Model Context Protocol server for integrating your WooCommerce store with AI assistants and task management systems like Task Master.

Features

  • Full integration with WooCommerce REST API v3
  • Bidirectional data synchronization between WooCommerce and Task Master
  • Compatible with MCP 1.0 for AI assistants
  • Management of products, orders, customers, and analytics
  • Support for WordPress content
  • Webhooks for reactive data updates
  • Utilities for caching and validation

Requirements

  • Node.js 16.x or higher
  • WooCommerce 3.5+ with REST API v3
  • Optionally: Redis for caching

Installation

  1. Clone the repository and install dependencies.
  2. Set up environment variables.
  3. Build and start the server using npm or Docker.

Quick Start

  1. Obtain API keys from WooCommerce.
  2. Configure the .env file.
  3. Start the server and test the connection.

Configuration

  • Ensure WooCommerce API requirements are met.
  • Optional Redis integration for performance.
  • Log level configurations available.

Integration with Task Master

  • Set Task Master parameters in .env.
  • Automatic synchronization using webhooks.

Webhooks

  • Configure webhooks in the environment file.
  • Use scripts or utilities for management.

Docker

Development and Production Deployment

  • Build and run using Docker-compose or manually with necessary environment variables.

Development

  • Project structure includes documentation, scripts, tools, and utilities.
  • Development mode with automatic reload and code linting tools are available.

Documentation

Available in the /docs directory for API and integration guides.

Testing

Detailed instructions for running and covering tests are provided.