Webflow MCP server

Integration with the Webflow Data API.
Back to servers
Setup instructions
Provider
Webflow
Release date
Feb 19, 2025
Language
TypeScript
Stats
55 stars

Webflow's MCP Server allows AI agents to interact with Webflow APIs, making it easier to manage Webflow sites programmatically. This server implements the Model Context Protocol (MCP), enabling integration with various AI tools like Cursor, Claude Desktop, Windsurf, and VS Code.

Installation Options

Using Hosted Server (Recommended)

For Cursor

  1. Navigate to SettingsCursor SettingsMCP
  2. Click + Add New Global MCP Server
  3. Add the following configuration:
{
  "mcpServers": {
    "webflow": {
      "command": "npx mcp-remote https://mcp.webflow.com/sse"
    }
  }
}
  1. Save the configuration. A browser window will open for OAuth authorization.

For Claude Desktop

  1. Open SettingsDeveloper
  2. Click Edit Config
  3. In claude_desktop_config.json, add:
{
  "mcpServers": {
    "webflow": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.webflow.com/sse"]
    }
  }
}
  1. Save and restart Claude Desktop (Cmd/Ctrl + R). A browser window will open for authorization.

For Windsurf

  1. Go to Windsurf - SettingsAdvanced Settings
  2. Scroll to Cascade section → Add ServerAdd custom server +
  3. Add the configuration:
{
  "mcpServers": {
    "webflow": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.webflow.com/sse"]
    }
  }
}
  1. Click Save. A browser window will open for authorization.

For VS Code

  1. Open settings.json
  2. Add the configuration:
{
  "mcp": {
    "servers": {
      "webflow": {
        "command": "npx",
        "args": ["mcp-remote", "https://mcp.webflow.com/sse"]
      }
    }
  }
}
  1. Save the file and click the start button over the "webflow" key, or restart VS Code.

Reset OAuth Tokens

If you encounter issues, reset your OAuth tokens with:

rm -rf ~/.mcp-auth

Local Installation

  1. Get your Webflow API token:

  2. Add to your AI editor's configuration:

{
  "mcpServers": {
    "webflow": {
      "command": "npx",
      "args": ["-y", "[email protected]"],
      "env": {
        "WEBFLOW_TOKEN": "<YOUR_WEBFLOW_TOKEN>"
      }
    }
  }
}
  1. Replace <YOUR_WEBFLOW_TOKEN> with your actual token
  2. Save and restart your editor

Troubleshooting

Verify Your Webflow API Token

  1. Visit Webflow's API Playground
  2. Generate a new token if needed
  3. Update your configuration with the new token
  4. Restart your MCP client

Check Node.js and NPM Installation

Ensure you have Node.js and NPM installed:

node -v
npm -v

Clear NPM Cache

If you're having issues with npx:

npm cache clean --force

Fix NPM Permissions

If npm -v requires sudo, check the official NPM docs to fix permissions.

Available Tools

Sites Management

sites - list; // List all sites
sites - get; // Get site details
sites - publish; // Publish site changes

Pages Management

pages - list; // List all pages
pages - get - metadata; // Get page metadata
pages - update - page - settings; // Update page settings
pages - get - content; // Get page content
pages - update - static - content; // Update page content

Components Management

components - list // List all components in a site
components - get - content // Get component content
components - update - content // Update component content for localization
components - get - properties // Get component properties
components - update - properties // Update component properties for localization

CMS Management

collections - list; // List collections
collections - get; // Get collection details
collections - create; // Create a collection
collection - fields - create - static; // Create a static field
collection - fields - create - option; // Create an option field
collection - fields - create - reference; // Create a reference field
collection - fields - update; // Update a custom field
collections - items - create - item - live; // Create items
collections - items - update - items - live; // Update items
collections - items - list - items; // List collection items
collections - items - create - item; // Create collection items (staged)
collections - items - update - items; // Update collection items (staged)
collections - items - publish - items; // Publish collection items

Custom Code Management

custom code - add - inline - site - script // Register an inline script
custom code - get - registered - site - script - list // List registered scripts
custom code - get - applied - site - script - list // Get applied scripts
custom code - delete site custom code // Remove scripts

Additional Features

ask - webflow - ai; // Search Webflow Docs using AI search

Known Limitations

The pages_update_static_content endpoint only supports updates to static pages in secondary locales. Updates to static content in the default locale are not supported and will result in errors.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "webflow" '{"command":"npx","args":["mcp-remote","https://mcp.webflow.com/sse"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "webflow": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.webflow.com/sse"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "webflow": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.webflow.com/sse"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later