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

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

Share CloudCart with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 21 tools (12 read-only).

---

To give your team CloudCart in Claude, ChatGPT, Cursor and other AI clients, an admin shares the CloudCart integration in a Metorial portal, and each person connects with an API key. Agents can manage CloudCart products, orders, customers, product categories, and variant inventory. The integration has 21 tools, 12 read-only, 7 write and 2 destructive, plus 3 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from CloudCart for each person, or one 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 Key** | API token | `apiKey` |

### API Key

To connect, a person enters:

- `apiKey`: CloudCart API key from Settings > API keys in the store admin panel

### Setup settings

Setup also asks for:

- `domain`: Your CloudCart store subdomain (the part before .cloudcart.net)

## Admin: share CloudCart 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 CloudCart. For how members connect, choose **Each person connects** so everyone enters their own API key, or **Shared connection** to enter one API key for everyone.

3. **Limit the tools**

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

4. **Choose who gets it**

   Add the access groups that should see CloudCart. 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 CloudCart integration. Once it exists, check which groups have it:

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

## Employee: connect CloudCart

### In the portal

1. **Open CloudCart in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (apiKey).

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 cloudcart
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your CloudCart 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 cloudcart
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 12 read-only tools, such as `get_order` and `get_product`, and lose the 7 write tools, such as `update_order` or `create_product`, and the 2 destructive tools, such as `delete_product` or `delete_customer`.

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 cloudcart
metorial tools <integration-id>
metorial call <integration-id> list_orders -d '{}'
```

`metorial tools` lists the 21 tools, minus any you rejected. `list_orders` takes no input. It searches and list orders from the CloudCart store.

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

## Tools

### Read-only tools (12)

- `list_products`: Search and list products from the CloudCart store.
- `get_order`: Retrieve full details of a specific order by its ID, including customer info, pricing, statuses, and optional related data. Needs `orderId`.
- `list_categories`: List product categories from the CloudCart store.
- `list_orders`: Search and list orders from the CloudCart store.
- `get_customer`: Retrieve full details of a specific customer by their ID, including contact info, account status, and group membership. Needs `customerId`.
- `list_customers`: Search and list customers from the CloudCart store.
- `get_product`: Retrieve full details of a specific product by its ID, including relationships like category, vendor, image, and variants. Needs `productId`.
- `list_vendors`: List vendor IDs and names for product creation and filtering.
- `list_customer_groups`: List customer group IDs and names for creating, updating, or filtering customers.
- `get_variant`: Retrieve a variant by ID with its raw attributes and relationships.
- `get_category`: Retrieve a category by ID with its raw attributes and relationships.
- `list_variants`: List product variants with their stable IDs, stock quantities, SKU, barcode, and prices in minor currency units.

### Write tools (7)

- `update_customer`: Update an existing customer's details such as name, email, newsletter preferences, or ban status. Needs `customerId`.
- `manage_category`: Create, update, or delete a product category. Needs `action`.
- `create_product`: Create a new product in the CloudCart store. Needs `name` and `categoryId`.
- `update_order`: Update an existing order's status, Unique Sale Number, administrator note, or custom metadata. Needs `orderId`.
- `update_product`: Update an existing product's attributes such as name, description, pricing, SEO fields, and visibility flags. Needs `productId`.
- `create_customer`: Create a new customer in the CloudCart store. Needs `email`.
- `update_inventory`: Update inventory quantities and pricing for a product variant. Needs `variantId`.

### Destructive tools (2)

- `delete_product`: Permanently delete a product from the CloudCart store by its ID. Needs `productId`.
- `delete_customer`: Permanently delete a customer from the CloudCart store by their ID. Needs `customerId`.

## Triggers

CloudCart has 3 triggers, which fire on events in CloudCart:

- `product_events`: Triggers when a product is created, updated, or deleted in the CloudCart store.
- `order_events`: Triggers when an order is created, updated, or deleted in the CloudCart store.
- `customer_events`: Triggers when a customer is created, updated, or deleted in the CloudCart 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 CloudCart there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [CloudCart on metorial.com](https://metorial.com/integrations/cloudcart): the integration overview