Wby Webflow
Publish CMS items
Publishes one or more items in a CMS collection, making them live on the site.
Description
On the MCP server, use the `publish_collection_items` action of `data_cms_tool` with `collection_id` and the `itemIds`; the CLI takes `--collection` and a comma-separated `--items` list. Publishing a draft item sets its `isDraft` to `false`.
publish-cms-items.md
Publish CMS items
Publishes one or more items in a CMS collection, making them live on the site.
On the MCP server, use the publish_collection_items action of
data_cms_tool with collection_id and the itemIds; the CLI takes
--collection and a comma-separated --items list. Publishing a draft item
sets its isDraft to false.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "webflow": { "url": "https://mcp.webflow.com/mcp" } } }
Call the MCP tool data_cms_tool.
Server URL: https://mcp.webflow.com/mcp
CLI (official)
Install the command, then confirm it runs.
npm install -g @webflow/webflow-cli
webflow --version
Run webflow cms items publish.
API (official)
- Base URL: https://api.webflow.com/v2
- Endpoint:
POST /collections/{collection_id}/items/publish - Auth: send the header
Authorization: Bearer $WEBFLOW_API_TOKEN - Docs: https://developers.webflow.com/data/reference/rest-introduction
Before doing anything else, make one read-only call to confirm access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
Built from these files in the repository
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.