# Webflow Automation & SEO/AEO MCP Server (`ak_scrapers/webflow-automation-mcp`) Actor

Cloud MCP Server (Standby) + Batch Automation Actor for Webflow: cross-site management, scheduled SEO/AEO audits, bulk CMS upserts, cross-site CMS sync, and n8n/Make-ready webhooks without Bridge App.

- **URL**: https://apify.com/ak_scrapers/webflow-automation-mcp.md
- **Developed by:** [Andrii Kholomieiev](https://apify.com/ak_scrapers) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Webflow Automation & SEO/AEO MCP Server

A dual-mode **Apify Server Actor & MCP Server** for Webflow built on the official **Webflow Data API v2** (`MIT` architecture inspired by `webflow/mcp-server`).

Unlike Webflow's free single-workspace `mcp.webflow.com` proxy, this Actor focuses on **multi-site agency automation**, **scheduled SEO & AEO audits**, **bulk CMS operations**, and **zero-Bridge-App workflows for n8n, Make, and Zapier**.

### Key Capabilities

#### 1. MCP Server Mode (Apify Standby — Streamable HTTP)

Connect Claude, Cursor, Windsurf, or any MCP client to `https://<your-actor-standby-url>/mcp`:

- `webflow_list_sites` — Discover sites across one or multiple Webflow API tokens.
- `webflow_cross_site_inventory` — Aggregate pages, CMS collections, and domains across all sites.
- `webflow_audit_site_seo_aeo` — Audit SEO metadata, Open Graph, duplicates, static DOM content (word count, question headings, missing alt tags), and live `robots.txt` / `llms.txt` / `sitemap.xml` AI crawler readiness.
- `webflow_get_page_content` — Extract clean text blocks and metadata from a Webflow page.
- `webflow_list_collection_items` — Paginated CMS item listing with draft & slug filtering.
- `webflow_bulk_update_pages_seo` — Batch-update SEO titles, meta descriptions, and Open Graph across sites with `dryRun` preview.
- `webflow_cms_upsert_items` — Idempotent bulk create/update by `id` or `slug` (auto-chunked in batches of 100) with optional auto-publish.
- `webflow_cross_site_cms_sync` — Replicate CMS collections across different sites or workspaces with field mapping.
- `webflow_bulk_publish_sites` — Publish multiple sites safely while respecting Webflow's rate limits.

#### 2. Scheduled & Batch Mode (n8n / Make / Apify Schedules)

Run the Actor directly on a schedule or via Apify API / `POST /api/action`:

- **`cross_site_seo_aeo_audit`** — Outputs per-page audit rows to Apify Dataset + summary report to `OUTPUT`.
- **`bulk_seo_update`** — Apply batch metadata fixes from Google Sheets / Airtable / n8n.
- **`cms_bulk_upsert`** — Sync external databases into Webflow CMS.
- **`cross_site_cms_sync`** — Sync master CMS content across client/regional sites.
- **`bulk_publish`** — Scheduled multi-site publishing.
- **`inventory`** — Export full workspace inventory.

### Authentication (Standby MCP Mode)

Pass your Webflow Data API v2 token via:

- Header `x-webflow-token: <YOUR_WEBFLOW_TOKEN>` (recommended when Apify uses `Authorization` or `?token=`)
- Multi-workspace header `x-webflow-tokens: [{"label":"agency","token":"..."},{"label":"client","token":"..."}]`
- Or configure default `webflowToken` / `tokens` in Actor Input.

### Local Development & Testing

```bash
npm install
npm test
npm run start:dev
```

# Actor input Schema

## `action` (type: `string`):

Select batch automation action or run as an MCP Standby Server.

## `webflowToken` (type: `string`):

Webflow Data API v2 site or workspace token (Bearer). For MCP Standby mode, you can also pass x-webflow-token per request.

## `tokens` (type: `array`):

Optional array of { label, token } objects for cross-workspace agency operations.

## `siteIds` (type: `array`):

Optional list of Webflow Site IDs. Leave empty to operate across all accessible sites.

## `includeDomAnalysis` (type: `boolean`):

Fetch static page DOM via Data API v2 to check word count, question headings, and missing image alt attributes.

## `includeLiveChecks` (type: `boolean`):

Inspect public discovery files on each site's primary domain for AI crawler readiness.

## `maxPagesPerSite` (type: `integer`):

Maximum number of pages to audit per site.

## `dryRun` (type: `boolean`):

Preview bulk SEO or CMS mutations without modifying Webflow.

## `pageUpdates` (type: `array`):

List of page SEO/OpenGraph updates for action = bulk_seo_update.

## `collectionId` (type: `string`):

Webflow CMS Collection ID for action = cms_bulk_upsert.

## `cmsItems` (type: `array`):

Array of { id?, slug?, isDraft?, isArchived?, fieldData } objects for action = cms_bulk_upsert.

## `publishItems` (type: `boolean`):

Automatically publish created/updated CMS items after upsert or sync.

## `sourceCollectionId` (type: `string`):

Source collection ID for action = cross_site_cms_sync.

## `targetCollectionIds` (type: `array`):

Target collection IDs to sync items into for action = cross_site_cms_sync.

## `fieldMapping` (type: `object`):

Optional JSON map of sourceFieldSlug -> targetFieldSlug for cross-site CMS sync.

## Actor input object example

```json
{
  "action": "cross_site_seo_aeo_audit",
  "tokens": [],
  "includeDomAnalysis": true,
  "includeLiveChecks": false,
  "maxPagesPerSite": 100,
  "dryRun": false,
  "publishItems": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `datasetItems` (type: `string`):

No description

## `summaryOutput` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("ak_scrapers/webflow-automation-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("ak_scrapers/webflow-automation-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call ak_scrapers/webflow-automation-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ak_scrapers/webflow-automation-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Py7KJwPhhroIbOSzI/builds/7hbxpwakZ1TYKlSEi/openapi.json
