sales
WooCommerce MCP, CLI, and Lua Integration for AI Agents
WooCommerce integration docs for AI agents: MCP gateway setup, WooCommerce CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Bearer token auth
WooCommerce for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
woocommerce- route_slug
woocommerce- package
woocommerce- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. WooCommerce CLIHeadless setup and direct function calls. WooCommerce MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
WooCommerce MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for WooCommerce.
Claude Code WooCommerce MCP setup for Claude Code. Cursor WooCommerce MCP setup for Cursor. Codex WooCommerce MCP setup for Codex. OpenAI Agents WooCommerce MCP setup for OpenAI Agents SDK. Claude Agent SDK WooCommerce MCP setup for Claude Agent SDK. Vercel AI SDK WooCommerce MCP setup for Vercel AI SDK. LangChain WooCommerce MCP setup for LangChain. LangGraph WooCommerce MCP setup for LangGraph. CrewAI WooCommerce MCP setup for CrewAI. MCP clients WooCommerce MCP setup for Generic MCP Clients.
WooCommerce CLI Matrix
Use these pages for direct WooCommerce CLI workflows in scripts, CI, cron, and agent wrappers.
CI WooCommerce CLI for CI. Cron Jobs WooCommerce CLI for cron jobs. Shell Scripts WooCommerce CLI for shell scripts. Headless Automation WooCommerce CLI for headless automation. Coding Agents WooCommerce CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
woocommerce.woocommerce_list_products | Read read | 8 | List products from the WooCommerce catalog. Supports pagination, filtering by name or SKU, and including variants/images. |
woocommerce.woocommerce_get_product | Read read | 1 | Get a single product from the WooCommerce catalog by its ID. Returns full product details. |
woocommerce.woocommerce_create_product | Write write | 12 | Create a new product in the WooCommerce catalog. Requires name and regular_price. Supports type (simple, grouped, external, variable), SKU, description, and more. |
woocommerce.woocommerce_list_orders | Read read | 8 | List orders from the WooCommerce store. Supports filtering by status, customer, and pagination. |
woocommerce.woocommerce_get_order | Read read | 1 | Get a single order from the WooCommerce store by its ID. Returns full order details including line items and totals. |
woocommerce.woocommerce_list_customers | Read read | 5 | List customers from the WooCommerce store. Supports filtering by name or email and pagination. |
woocommerce.woocommerce_get_current_user | Read read | 0 | Get the system status from WooCommerce. Use this to verify the API connection is working and retrieve store information. |