MCP server and AI tools

The Model Context Protocol (MCP) server connects your AI tools directly to your Webflow projects. Prompt an AI agent to update designs, manage site data, and work with the CMS from your preferred AI environment.
For developers using AI-powered tools like Cursor or Claude Desktop, the MCP server enhances an agent’s understanding of your Webflow projects. It’s built on Webflow’s APIs, exposing them as tools your AI agent can use to create elements, styles, and variables on the canvas, as well as manage collections, custom code, assets, and other site data.
See the full list of available tools in the MCP server documentation.
Installation
Get started by installing Webflow’s remote MCP server, which uses OAuth to authenticate with your Webflow sites, and a companion app that syncs your live canvas with your AI agent.
For local installation, please refer to the instruction in the NPM package documentation.
Requirements
Node.js version 22.3.0 or higher.
Node.js Version Management
Currently, the MCP server only supports Node.js version 22.3.0 or higher. See the Node.js compatibility section for more information on troubleshooting Node.js issues.
Cursor
Claude Desktop
Windsurf
Install the MCP server on Cursor
-
Go to
Settings → Cursor Settings → MCP & Integrations
-
Under MCP Tools, click
+ New MCP Server
-
Paste the following configuration into
.cursor/mcp.json
(or add thewebflow
part to your existing configuration):.cursor/mcp.jsonUse project-specific MCP configuration to avoid repeated auth prompts
Configure
mcp.json
per project instead of using Cursor’s global settings. This prevents repeated authentication prompts when opening multiple Cursor windows without being authenticated. -
Save and close the file
Authorize the MCP server and app
Cursor automatically opens an OAuth login page where you authorize the Webflow sites you want to access and install the companion app.
Limit authorized sites
Limit the number of sites for security and performance. To refresh your OAuth token, run:
Open the Webflow Designer
Open your site in the Webflow Designer.
Or, type this prompt in your AI chat window:
Start with a fresh project for better MCP performance
MCP servers perform more efficiently with smaller codebases. In Cursor, create a new project when using the MCP server to reduce tool call overhead and improve response times.
Resetting your OAuth token
If you need to reset your OAuth token, you can run the following command before restarting your MCP client.
Node.js compatibility
Currently, the MCP server only supports Node.js version 22.3.0 or higher. If you encounter issues with Node.js you can try the below approaches to troubleshoot:
Use version 22.3.0 as your default Node.js version
Use version 22.3.0 as your default Node.js version
To use version 22.3.0 as your default Node.js version, follow these steps:
Install nvm
If you don’t have nvm
installed, you can install it with the following command (or download from nvm
releases).
Use Node Version Switcher
To use Node Version Switcher (nvs
) with the MCP server, follow these steps:
Install Node.js 22.3.0
Install the required Node.js version with nvs
by running the following command in your terminal:
Use version 22.3.0
Use the version 22.3.0 with nvs
by running the following command in your terminal:
Many thanks to @jessehouwing for the inspiration and guidance on using nvs
with the MCP server.
How the MCP server works
The Webflow MCP server implements Anthropic’s Model Context Protocol specification to standardize communication between AI agents and Webflow’s APIs.
Architecture
The server acts as a translation layer that exposes Webflow’s APIs as MCP tools. Built as an open-source package, it wraps Webflow’s REST and Designer APIs into a format that any MCP-compatible AI agent can understand and execute.
Remote deployment
The server runs remotely to enable OAuth authentication, allowing you to:
- Authorize multiple Webflow sites without storing API keys locally
- Maintain secure, token-based access to your projects
This architecture eliminates the need to manage API credentials in your local environment while providing secure access to your Webflow projects.
Remote authorization is currently experimental
Remote authorization relies on the mcp-remote
npm package, which is currently considered experimental.
Available tools
The MCP server exposes Data and Designer APIs as MCP tools. See the complete list of available tools and their parameters in the MCP server repository.
Data API tools
Designer API tools
Data API tools access your site’s content and structure for bulk operations and content synchronization:
- CMS operations: Create, read, update, and delete collection items
- Asset management: Upload, organize, and manage media files
- Site metadata: Access site settings, domains, and configuration
LLMS.txt documentation
With Webflow’s LLMS.txt file, you can access Webflow’s documentation in your AI client without needing to load the webpage in your browser. This optimized structure helps LLMs respond with accurate code snippets and multi-step sequences.
- LLMS.txt
Usehttps://developers.webflow.com/llms.txt
to access the LLM-readable documentation. - Markdown docs
Additionally, you can access markdown versions of any page on the docs site to provide a more structured and context-rich experience for LLMs. To access the markdown version of a page, add.md
to the end of the URL. For example, this current doc is available as a markdown file athttps://developers.webflow.com/data/docs/ai-tools.md
.
Using LLMS.txt docs with Cursor
https://developers.webflow.com/llms.txt
Once configured, reference Webflow’s documentation by typing @Docs
in your chat window and selecting “Webflow” from the list.
FAQs and troubleshooting
Installation and authentication
Why is my MCP server not appearing in my AI client?
After installing the MCP server, you may need to restart your AI client to see the new server. Additionally, check to see that your client (for example, Cursor, Claude Desktop) is updated to the latest version.
How can I authenticate a different Webflow site?
To authenticate a different Webflow site, you’ll need to remove the existing authentication token by running the following command in your terminal:
After executing the command, a new authentication screen should appear, allowing you to select the site you want to authenticate with.
I'm getting an error when loading the remote MCP server
You may receive an 500
error when loading the remote MCP server.
-
Try refreshing your OAuth token with the following command and then restart your AI client:
-
Check your current Node.js version to ensure you’re using version 22.3.0 or higher:
If you can’t use versions 22.3.0 or higher as your default Node.js version, follow the Node.js compatibility section to troubleshoot compatibility issues.
Troubleshooting Node.js and NPM issues
Ensure Node.js and NPM are properly installed
- Verify Node.js and NPM installation by running:
- If you encounter issues with
npx
, try clearing your NPM cache: - If
npm -v
only works withsudo
, you may need to fix NPM global package permissions. See the official NPM docs for more information.
If the issue persists, see the Node.js compatibility section above for version requirements.
If you make changes to your shell configuration, you may need to restart your shell for changes to take effect.
The sites I want to authorized are greyed out on the authorization page
Currently, only site owners and admins can authorize the MCP server and app. If you aren’t a site owner or admin, you can’t authorize the MCP server and app.
Tools and prompts
The MCP Server can't connect to the Webflow Designer
To use the MCP server with the Webflow Designer, open the “MCP Bridge App” from the Apps panel. Once open, the app will automatically connect to the MCP server.
You must keep the companion app open in the Webflow Designer for the MCP server to connect.
What tools are available?
The open-source MCP server package includes tools for AI agents. View the complete list in the GitHub repository.
Can I use all available API endpoints and Methods with the MCP server?
Currently, the MCP server supports a limited set of tools for the Data and Designer APIs.
If you have specific endpoints and methods you would like to see supported, please open an issue or contact the Developer Relations team at developers@webflow.com.
Does Webflow need to be open to use the MCP server?
If you’re only using the Data API tools, you can use the MCP server to update content even if Webflow isn’t open in the browser.
If you’re using the Designer API tools, you need to keep the companion app open in the Webflow Designer for the MCP server to work.
Can I localize content with the MCP server?
Currently, the MCP server supports localizing static content, and updating existing localized CMS items. However, the MCP server doesn’t support creating new localized CMS items.
If you have specific endpoints and methods you would like to see supported, please open an issue or contact the Developer Relations team at developers@webflow.com.