sales
WooCommerce MCP Integration for OpenAI Agents SDK
Connect WooCommerce to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect WooCommerce to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
WooCommerce MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-woocommerce": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=woocommerce",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=woocommerce --write=deny Why Use KosmoKrator Here
Expose only WooCommerce instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
WooCommerce Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the WooCommerce integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__woocommerce__woocommerce_list_products | woocommerce.woocommerce_list_products | Read | List products from the WooCommerce catalog. Supports pagination, filtering by name or SKU, and including variants/images. |
integration__woocommerce__woocommerce_get_product | woocommerce.woocommerce_get_product | Read | Get a single product from the WooCommerce catalog by its ID. Returns full product details. |
integration__woocommerce__woocommerce_create_product | woocommerce.woocommerce_create_product | Write | Create a new product in the WooCommerce catalog. Requires name and regular_price. Supports type (simple, grouped, external, variable), SKU, description, and more. |
integration__woocommerce__woocommerce_list_orders | woocommerce.woocommerce_list_orders | Read | List orders from the WooCommerce store. Supports filtering by status, customer, and pagination. |
integration__woocommerce__woocommerce_get_order | woocommerce.woocommerce_get_order | Read | Get a single order from the WooCommerce store by its ID. Returns full order details including line items and totals. |
integration__woocommerce__woocommerce_list_customers | woocommerce.woocommerce_list_customers | Read | List customers from the WooCommerce store. Supports filtering by name or email and pagination. |
integration__woocommerce__woocommerce_get_current_user | woocommerce.woocommerce_get_current_user | Read | Get the system status from WooCommerce. Use this to verify the API connection is working and retrieve store information. |