Commerce
unpublishAllExcept
Unpublish All Except
Keep ONLY the named products live and send every other live product back to draft: the inverse of publishAllProducts, and the verb behind "deactivate everything that is not on the forever menu, but…
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "unpublish everything except these", and it calls unpublishAllExcept.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"appId": "<appId>",
"keepProductIds": [
"<keepProductIds>"
]
},
"name": "unpublishAllExcept"
}Arguments
appIdstringrequiredThe Studio app ID whose catalog to change.keepProductIdsstring[]requiredThe commerce product IDs to KEEP live. Every other live product goes back to draft.
Returns
Bounded per call: if the catalog holds more live products than one call can draft it returns hasMore:true, so call again with the same keep list.
Ask for it
The Cloud routes these requests to this verb.
- unpublish everything except these
- keep only these live
- clear the storefront down to this list
Pair it with
The verbs that finish the job.
Questions
What does unpublishAllExcept do?
Keep ONLY the named products live and send every other live product back to draft: the inverse of publishAllProducts, and the verb behind "deactivate everything that is not on the forever menu, but… It is one of the tools The Cloud MCP server gives every connected AI.
How do I use unpublishAllExcept from Claude or ChatGPT?
Connect your AI to The Cloud at https://mcp.thecloud.so/mcp and sign in once. Then ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "unpublish everything except these", and it calls unpublishAllExcept.
Is unpublishAllExcept safe to let an AI call?
unpublishAllExcept widens who can see or receive something, so the owner approves every call explicitly. An AI cannot approve it for itself.
Connect
One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.