All tools

Publish a site

Publishes a site's latest changes, or one page, to its Webflow subdomain or chosen custom domains.

View on GitHub
Updated Sep 27, 2026Available asMCPCLIAPI

Description

On the MCP server, use the `publish_site` action of `data_sites_tool` with `site_id`. The API needs `customDomains` (custom domain IDs) or `publishToWebflowSubdomain: true`; the CLI publishes to the Webflow subdomain unless you pass `--domains`, publishes one page with `--page`, and previews with `--dry-run`. Publishing puts every pending change live, so confirm with the user first.

publish-site.md

Publish a site

Publishes a site's latest changes, or one page, to its Webflow subdomain or chosen custom domains.

On the MCP server, use the publish_site action of data_sites_tool with site_id. The API needs customDomains (custom domain IDs) or publishToWebflowSubdomain: true; the CLI publishes to the Webflow subdomain unless you pass --domains, publishes one page with --page, and previews with --dry-run. Publishing puts every pending change live, so confirm with the user first.

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_sites_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 sites publish.

API (official)

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.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remotedata_sites_toolOAuthDocs
CLIOfficialwebflow sites publishOAuthDocs
APIOfficialPOST /sites/{site_id}/publishAPI key in $WEBFLOW_API_TOKENDocs

Workflows using Publish a site

No workflows yet
No published workflow uses Publish a site yet.