webflow-ai-connector
A Node.js-based intermediary enabling artificial intelligence agents to interface with Webflow's Data and Content Management APIs for automated site deployment and editorial control.
Author

webflow
Quick Info
Actions
Tags
Webflow Integration Service for AI Agents (Model Context Protocol)
This Node.js implementation adheres to the Model Context Protocol (MCP) specification, facilitating interaction with Webflow through its JavaScript SDK (Webflow SDK Link). It serves as the crucial link allowing autonomous AI systems to manipulate Webflow sites.
Refer to the official Webflow Data API documentation for comprehensive API details.
Prerequisites for Operation
To establish this connection, the following environment components are necessary:
- A functional installation of Node.js
- Node Package Manager (NPM)
- An active Webflow Account (Registration Link)
🚀 Remote Deployment & Authorization
Initiate the service via a remote connection. This approach leverages OAuth for authenticating against your designated Webflow properties, requiring a supplementary application running within the Webflow Designer to synchronize the live interface with the AI execution context.
Minimum Environment Specification
- Node.js runtime version 22.3.0 or superior.
Compatibility Notice: Strict adherence to Node.js 22.3.0+ is enforced. For version resolution guidance, consult Webflow's AI Tools compatibility documentation.
Configuration for Cursor IDE
- Navigate within Cursor to
Settings → Cursor Settings → MCP & Integrations. - Locate the MCP Tools section and select
+ New MCP Server. - Inject the following configuration structure into your
.cursor/mcp.jsonfile (or merge it into an existing configuration):
{ "mcpServers": { "webflow": { "url": "https://mcp.webflow.com/sse" } } }
Configuration Tip: Utilizing a project-specific
mcp.jsonfile can circumvent repetitive authorization dialogues across multiple Cursor instances. Review Cursor's configuration location documentation.
- Persist the file changes. Cursor should automatically prompt an OAuth flow to grant permissions to your Webflow properties.
Accessing the Webflow Design Environment
Access the site within the Webflow Designer, or instruct your AI assistant:
text
Provide a direct URL to launch
Activating the MCP Bridge Application
- In the Designer interface, invoke the Applications panel (shortcut:
E). - Execute the pre-published "Webflow MCP Bridge App".
- Await confirmation that the Bridge App has successfully established a connection with the remote MCP service.
Initial AI Interaction Examples
Execute these sample commands via the AI chat interface:
text Scrutinize my five most recent articles and propose three novel content themes, complete with target SEO terminology.
text Identify preceding publications covering analogous subjects and insert relevant internal hyperlinks into my newest article.
text Design a responsive introductory card component on the homepage, incorporating a clear Call-To-Action (CTA) button.
Configuration for Claude Desktop
- Enable advanced diagnostics:
Help → Troubleshooting → Enable Developer Mode. - Access developer configuration settings:
File → Settings → Developer. - Initiate setup or modify
claude_desktop_config.jsonby adding:
{ "mcpServers": { "webflow": { "command": "npx", "args": ["mcp-remote", "https://mcp.webflow.com/sse"] } } }
- Save and relaunch Claude Desktop (
Cmd/Ctrl + R). An OAuth dialog will appear for site authorization.
Navigating to the Webflow Designer (Claude)
- Open your designated site in the Webflow Designer, or prompt the AI agent:
text
Generate an access URL for
Launching the MCP Webflow App (Claude)
- In the Designer, open the application sidebar (key
E). - Start the "Webflow MCP Bridge App" deployment.
- Confirm connectivity between the Bridge App and the MCP server endpoint.
Example Prompts for Claude
text Analyze my last 5 blog posts and suggest 3 new topic ideas with SEO keywords
text Find older blog posts that mention similar topics and add internal links to my latest post
text Create a hero section card on my home page with a CTA button and responsive design
Revoking OAuth Credentials
To invalidate the current OAuth session token, execute the following command in your operating system's terminal:
bash rm -rf ~/.mcp-auth
Node.js Version Alignment
Consult the official Webflow documentation for the most current Node.js dependency matrix.
🖥️ Local Deployment Methodology
Alternatively, you can orchestrate the MCP service execution on your local machine. This necessitates:
- Creation and formal registration of a custom MCP Bridge Application within an authorized Webflow workspace.
- Configuration of your AI environment to point to the locally hosted MCP service, utilizing a valid Webflow API Authentication Token.
Phase 1: Establishing and Deploying the MCP Bridge Application
Prior to linking the local MCP server to your AI client, the Webflow MCP Bridge App must be built and published within your workspace.
Execution Sequence
- Webflow Application Registration
- Initiate a new application within your Webflow Workspace settings.
-
Adhere strictly to the formal procedure: Application Registration Guide.
-
Acquiring the Bridge Application Source Code
- Method A (Pre-compiled): Download the latest
bundle.zippackage from the project releases archive. -
Method B (Compilation from Source): Clone the repository and compile locally: bash git clone https://github.com/virat21/webflow-mcp-bridge-app cd webflow-mcp-bridge-app
- Subsequently, follow the compilation instructions detailed within that repository.
-
Publishing the Designer Extension
- Navigate to: Webflow Dashboard → Workspace settings → Apps & Integrations → Develop → Locate Your App.
- Select the option “Publish Extension Version”.
-
Upload the compiled
bundle.zipfile you generated. -
Loading the Application in the Designer
- Once publishing is complete, initiate the MCP Bridge App via the Designer → Apps panel for any site in your workspace.
Phase 2: Configuring the Host AI Client
Cursor Client Configuration
Update .cursor/mcp.json with the following, ensuring the WEBFLOW_TOKEN is supplied:
{
"mcpServers": {
"webflow": {
"command": "npx",
"args": ["-y", "webflow-mcp-server@latest"],
"env": {
"WEBFLOW_TOKEN": "
Claude Desktop Client Configuration
Update claude_desktop_config.json similarly:
{
"mcpServers": {
"webflow": {
"command": "npx",
"args": ["-y", "webflow-mcp-server@latest"],
"env": {
"WEBFLOW_TOKEN": "
Phase 3: Utilizing the Local MCP Service with Webflow
- Open the Webflow Designer for the target site.
- Open the application interface (key
E) and launch the established “Webflow MCP Bridge App”. - Confirm the Bridge App signals a successful connection to the local MCP endpoint.
- If the Bridge App specifically requests a local host connection address, invoke the
get_designer_app_connection_infotool from your AI client and input the returnedhttp://localhost:<port>value.
Optional: Direct Command-Line Execution
Execute the server directly from the shell, injecting the token as an environment variable:
Bash/Zsh:
bash
WEBFLOW_TOKEN="
PowerShell:
powershell
$env:WEBFLOW_TOKEN="
Invalidation of Authentication Credentials
To force a re-authentication sequence, delete the stored authorization file via terminal command:
bash rm -rf ~/.mcp-auth
Node.js Version Adherence
Ensure your Node.js environment complies with Webflow’s specified requirements, detailed in the developer guidance link.
❓ Troubleshooting Common Failures
If the MCP service fails to initialize within your MCP client (e.g., Cursor or Claude Desktop), attempt the following diagnostic steps.
Verify Webflow API Token Validity
- Access the Webflow API Authorization Portal, authenticate, and retrieve a valid token from the Request Generator interface.
- Substitute the placeholder
YOUR_WEBFLOW_TOKENin your client configuration file with the copied credential. - Save the configuration and reinitiate your MCP client application.
Confirm Node and NPM Installation
Verify core runtime prerequisites are present:
Execute these checks in your terminal:
shell node -v npm -v
Cache Resolution
Stale entries in the NPM cache can interfere with package resolution via npx. Clear the cache if problems persist:
bash npm cache clean --force
Resolving Global Package Permission Errors
If executing npm -v fails but sudo npm -v succeeds, global permission ownership may be misconfigured. Consult the official NPM documentation on resolving permission errors for remediation. (Note: Shell configuration changes often require a shell restart to become active.)
🛠️ Toolset Inventory
Inspect the ./tools directory within the project source to view the full catalogue of implemented functionalities.
🗣️ Prompts & Auxiliary Information
This specific integration package excludes boilerplate prompts or static resources defined in the base MCP specification. Future iterations may incorporate these elements pending wider adoption across primary MCP client ecosystems.
📄 Webflow Developer Assets
⚠️ Current Operational Constraints
Limitations on Static Page Content Updates
The pages_update_static_content endpoint currently only processes modifications for static page elements located in secondary (non-default) language locales. Updates targeting default locale static content will result in API failures.
