MetorialDocs

Set up CloudCart in Metorial for Claude, ChatGPT and Cursor

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'll 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

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokenapiKey

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

Open Shared Resources

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

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.

Limit the tools

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

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:

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

Employee: connect CloudCart

In the portal

Open CloudCart in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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.

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.

Check it worked

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