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
- A portal 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, 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
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:
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
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.
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 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. NeedsorderId.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. NeedscustomerId.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. NeedsproductId.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. NeedscustomerId.manage_category: Create, update, or delete a product category. Needsaction.create_product: Create a new product in the CloudCart store. NeedsnameandcategoryId.update_order: Update an existing order's status, Unique Sale Number, administrator note, or custom metadata. NeedsorderId.update_product: Update an existing product's attributes such as name, description, pricing, SEO fields, and visibility flags. NeedsproductId.create_customer: Create a new customer in the CloudCart store. Needsemail.update_inventory: Update inventory quantities and pricing for a product variant. NeedsvariantId.
Destructive tools (2)
delete_product: Permanently delete a product from the CloudCart store by its ID. NeedsproductId.delete_customer: Permanently delete a customer from the CloudCart store by their ID. NeedscustomerId.
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, Cursor, Codex and ChatGPT: connect each client to your portal and use CloudCart there
- Tool permissions: tool filters and what employees see
- CloudCart on metorial.com: the integration overview