Connect your tools with the API and MCP
Create API tokens, manage product groups from your own scripts with the REST API, or let AI assistants such as Claude use them through MCP.
Updated Dec 2, 2026
Combio has a REST API for your own scripts and integrations, and an MCP server for AI assistants such as Claude or Cursor. Both work with a token you create in the app, and both apply the same validation and plan limits as the app.
Create a token
- In Combio, open Settings → Integrations → API & MCP and click Manage tokens.
- Click Create token.
- Enter a Name, for example the tool that will use it.
- Choose its Access and when it Expires after, then click Create token.
- Copy the token now: it is shown only once.
| Setting | Choices |
|---|---|
| Access | Read only: read groups and analytics. Read and write: also create, update and delete groups. |
| Expires after | 30 days, 90 days (the default), 365 days, or Never for a read-only token: a token that can change your store always expires |
Tokens start with cl_. The list shows each token's access, expiry and when it was last used. Revoke stops a token at once; a token also stops working when it expires. Uninstalling the app deletes every token: after a reinstall, create new ones.
REST API
Send the token as a bearer token. The API & MCP page shows the full URLs; replace APP_URL below with the address it shows.
curl -H "Authorization: Bearer cl_your_token" \
"https://APP_URL/api/v1/groups?search=linen"| Endpoint | Token | What it does |
|---|---|---|
GET /api/v1/groups | Read | Lists groups, newest first. Query: search (group or option name), filter (published, publishing, failed, draft, automatic or manual), perPage (1 to 100, default 25), page. |
GET /api/v1/groups/{id} | Read | One group with its options and products. |
GET /api/v1/analytics?days=30 | Read | Swatch views and clicks for the last 7, 30 or 90 days, or for any range of the last three years with from and to (YYYY-MM-DD, your store's time zone) instead of days. |
POST /api/v1/groups | Write | Creates a group and publishes it. |
PUT /api/v1/groups/{id} | Write | Replaces a group: send all of it (name, status, options, items) in the shape GET returns. |
DELETE /api/v1/groups/{id} | Write | Deletes a group and its swatches. The products stay. |
Products are identified by their Shopify GID, such as gid://shopify/Product/123.
Errors come back as JSON with a status code:
401withinvalid_token: the token is wrong, expired or revoked403withread_only_token: a write request with a read-only token402withplan_limit: your plan's group limit is reached (chat with us to get more groups)422: a field is invalid;errorsnames it429: more than 120 requests a minute for your store, all tokens together
MCP server
AI assistants that support the Model Context Protocol (MCP) can list, create and edit your groups. On the API & MCP page, under Connect an AI assistant (MCP), copy the Server URL or the whole Client configuration into your assistant's MCP settings. It looks like this, with your URL filled in:
{
"mcpServers": {
"combined-listings": {
"url": "https://APP_URL/api/mcp",
"headers": { "Authorization": "Bearer cl_your_token" }
}
}
}| Tool | Token | What it does |
|---|---|---|
list_groups | Read | Lists groups, 25 per page, with their options, values, kind and publish status |
get_group | Read | One group with its settings and products |
search_products | Read | Finds products with Shopify search syntax, such as title:Linen* or tag:summer |
get_analytics | Read | Swatch views and clicks for the last 7, 30 or 90 days |
create_group | Write | Creates a group and publishes it, within your plan's group limit |
update_group | Write | Changes a group; fields left out keep their value |
delete_group | Write | Deletes a group; the products stay |
With a read-only token, the assistant only sees the read tools. A request can carry up to 10 MCP messages. Then ask in plain words, for example: "Find my linen shirts and group them by color."
Was this article helpful?
Related articles
- Ask Shopify Sidekick about your swatchesSidekick, Shopify's AI assistant, can look up your product groups and your swatch views and clicks, right in the Shopify admin.
- Track swatch clicks in your pixelsEvery swatch click is published as a customer event, so Google Analytics 4, Meta and other pixels can track it.
- Plans and limitsOne plan, Free, with every feature and up to 100 product groups. Need more? Chat with us. Development stores have no limit.