drio
Open app

WooCommerce MCP Server

Source

A WooCommerce (MCP) Model Context Protocol server

Catalog onlyCatalog onlySTDIO

Overview

WooCommerce MCP Server is a Model Context Protocol (MCP) server designed for integrating with WooCommerce, allowing interaction with WooCommerce stores through the WordPress REST API.

To use the WooCommerce MCP Server, clone the repository, install the dependencies using npm install, and build the project with npm run build. Configure the server with your WooCommerce credentials in the MCP settings file.

  • Supports both WordPress and WooCommerce API methods. - Allows management of products, orders, customers, shipping, taxes, and more. - Compatible with Windows, macOS, and Linux.
  1. Automating product management in WooCommerce stores.
  2. Integrating WooCommerce with other applications via API.
  3. Managing customer orders and shipping through a centralized server.

Add to your AI client

Use these steps to connect WooCommerce MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "woocommerce-mcp-server-techspawn": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-woocommerce-mcp-server-techspawn"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "woocommerce-mcp-server-techspawn": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-woocommerce-mcp-server-techspawn"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "woocommerce-mcp-server-techspawn": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-woocommerce-mcp-server-techspawn"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "woocommerce-mcp-server-techspawn": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-woocommerce-mcp-server-techspawn"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "woocommerce-mcp-server-techspawn": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-woocommerce-mcp-server-techspawn"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "woocommerce-mcp-server-techspawn": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-woocommerce-mcp-server-techspawn"
      ]
    }
  }
}

FAQ

**What are the requirements for using WooCommerce MCP Server?**

You need Node.js 20.0.0 or higher and a WordPress site with the WooCommerce plugin installed.

**Is there a license for WooCommerce MCP Server?**

Yes, it is licensed under the MIT License.

**How do I authenticate with the WooCommerce API?**

You need to generate API keys in your WordPress dashboard under WooCommerce → Settings → Advanced → REST API.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2166,"uuid":"148b174c-2a0d-40c4-8432-014cdb90841f","name":"woocommerce-mcp-server","title":"WooCommerce MCP Server","description":"A WooCommerce (MCP) Model Context Protocol server","avatar_url":"https://avatars.githubusercontent.com/u/4945969?v=4","created_at":"$D2025-03-09T03:53:30.284Z","updated_at":"$D2025-03-12T10:19:31.693Z","status":"created","author_name":"techspawn","author_avatar_url":"https://avatars.githubusercontent.com/u/4945969?v=4","tags":"wordpress,mcp,woocommerce,mcp-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/techspawn/woocommerce-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-08 09:25:40\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]