> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up WooCommerce in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/woocommerce
Last updated: 2026-11-24

Share WooCommerce with your team in Claude, ChatGPT and Cursor through Metorial: API keys sign-in, 33 tools (10 read-only).

---

To give your team WooCommerce in Claude, ChatGPT, Cursor and other AI clients, an admin shares the WooCommerce integration in a Metorial portal, and each person connects with API keys. Agents can manage an online store's products, orders, customers, coupons, and shipping configuration. The integration has 33 tools, 10 read-only, 20 write and 3 destructive, plus 4 triggers.

**What you will learn**

- How an admin shares WooCommerce in a portal and how each person connects
- What WooCommerce asks for when you connect, and where to find it
- How to keep the 10 read-only tools and reject the other 23

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- API keys from WooCommerce for each person, or one set for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Keys** | Custom credentials | `consumerKey` and `consumerSecret` |

### API Keys

To connect, a person enters these values:

- `consumerKey`: WooCommerce REST API Consumer Key
- `consumerSecret`: WooCommerce REST API Consumer Secret

### Setup settings

Setup also asks for:

- `storeUrl`: The base URL of your WooCommerce store (e.g., https://mystore.example.com)

## Admin: share WooCommerce in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose WooCommerce. For how members connect, choose **Each person connects** so everyone enters their own API keys, or **Shared connection** to enter the API keys once for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from WooCommerce.

4. **Choose who gets it**

   Add the access groups that should see WooCommerce. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user WooCommerce integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search woocommerce
```

## Employee: connect WooCommerce

### In the portal

1. **Open WooCommerce in the catalog**

   Sign in to your portal and open WooCommerce. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API keys (consumerKey and consumerSecret).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search woocommerce
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your WooCommerce connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list woocommerce
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 10 read-only tools, such as `get_order` and `get_product`, and lose the 20 write tools, such as `create_order` or `update_order`, and the 3 destructive tools, such as `delete_order` or `delete_product`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list woocommerce
metorial tools <integration-id>
metorial call <integration-id> get_system_status -d '{}'
```

`metorial tools` lists the 33 tools, minus any you rejected. `get_system_status` takes no input. It retrieves system status information about the WooCommerce installation including environment details, database info, active plugins, and theme info.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (10)

- `get_sales_report`: Retrieve sales reports and top sellers data. Needs `reportType`.
- `get_customer`: Retrieve detailed information about a specific customer including billing/shipping addresses, order history stats, and account details. Needs `customerId`.
- `get_product`: Retrieve detailed information about a specific product, including pricing, inventory, images, attributes, categories, and variations. Needs `productId`.
- `list_products`: Search and list products from the WooCommerce store.
- `list_orders`: Search and list orders from the store.
- `get_system_status`: Retrieve system status information about the WooCommerce installation including environment details, database info, active plugins, and theme info.
- `get_order`: Retrieve complete details of a specific order including line items, shipping, billing addresses, payment info, fees, and tax information. Needs `orderId`.
- `list_customers`: Search and list customer records.
- `get_store_settings`: View store settings organized by group (general, products, tax, shipping, checkout, account, email).
- `get_shipping_methods`: List available WooCommerce shipping methods, or retrieve one method by ID.

### Write tools (20)

- `manage_product_variations`: List, create, update, or delete variations for a variable product. Needs `productId` and `action`.
- `manage_shipping_zones`: List, create, update, or delete shipping zones. Needs `action`.
- `manage_tax_rates`: List, create, update, or delete tax rates. Needs `action`.
- `update_order`: Update an existing order's status, addresses, payment method, or customer note. Needs `orderId`.
- `manage_order_notes`: List, create, or delete notes on an order. Needs `orderId` and `action`.
- `manage_product_categories`: List, create, update, or delete product categories. Needs `action`.
- `manage_coupons`: List, get, create, update, or delete discount coupons. Needs `action`.
- `manage_payment_gateways`: List all payment gateways or update a gateway's settings, including enabling/disabling gateways and changing their title and description. Needs `action`.
- `create_order`: Create a new order in the store.
- `update_customer`: Update an existing customer's profile including name, email, billing and shipping addresses. Needs `customerId`.
- `create_product`: Create a new product in the WooCommerce store. Needs `name`.
- `update_product`: Update an existing product's details including name, pricing, inventory, images, categories, tags, and attributes. Needs `productId`.
- `create_customer`: Create a new customer account in the store with email, name, billing and shipping addresses. Needs `email`.
- `create_refund`: Issue a refund for an order. Needs `orderId` and `action`.
- `update_store_setting`: Update a specific store setting value. Needs `groupId`, `settingId` and `value`.
- `manage_product_tags`: List, get, create, update, or delete product tags used to organize and filter products in WooCommerce. Needs `action`.
- `manage_product_reviews`: List, get, create, update, or delete product reviews for catalog moderation and customer feedback workflows. Needs `action`.
- `manage_product_attributes`: List, get, create, update, or delete global product attributes and their terms. Needs `action`.
- `manage_shipping_classes`: List, get, create, update, or delete product shipping classes used to group products with similar shipping costs. Needs `action`.
- `manage_webhooks`: List, get, create, update, or delete WooCommerce webhooks for store events such as order, product, customer, and coupon changes. Needs `action`.

### Destructive tools (3)

- `delete_product`: Delete a product from the WooCommerce store. Needs `productId`.
- `delete_customer`: Delete a customer account from WooCommerce. Needs `customerId`.
- `delete_order`: Delete an order from WooCommerce. Needs `orderId`.

## Triggers

WooCommerce has 4 triggers, which fire on events in WooCommerce:

- `product_events`: Triggers when a product is created, updated, deleted, or restored in the store.
- `coupon_events`: Triggers when a coupon is created, updated, deleted, or restored in the store.
- `order_events`: Triggers when an order is created, updated, deleted, or restored in the store.
- `customer_events`: Triggers when a customer is created, updated, or deleted in the store.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use WooCommerce there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [WooCommerce on metorial.com](https://metorial.com/integrations/woocommerce): the integration overview