Webflow MCP server

Integrates with the Webflow API to enable retrieving site information, managing custom domains, and automating Webflow site management tasks.
Back to servers
Setup instructions
Provider
Kapil Duraphe
Release date
Feb 19, 2025
Language
TypeScript
Stats
20 stars

This MCP server enables Claude to interact with Webflow's APIs through the Claude Desktop App, allowing you to access and manage your Webflow sites directly from Claude.

Prerequisites

  • Node.js (v16 or higher)
  • Claude Desktop App
  • Webflow Account
  • Webflow API Token (Site token or OAuth Access Token)

Installation

Generate a Webflow API Token

  1. Log in to your Webflow account
  2. Navigate to Site Settings > Apps & Integrations
  3. Generate a new API token
  4. Copy the token value (you won't be able to see it again)

Alternatively, you can generate an OAuth Access Token.

Method 1: Manual Installation

  1. Install dependencies:

    npm install
    
  2. Create a .env file for local development:

    WEBFLOW_API_TOKEN=your-api-token
    
  3. Configure Claude Desktop:

    On MacOS:

    code ~/Library/Application\ Support/Claude/claude_desktop_config.json
    

    On Windows:

    code %AppData%\Claude\claude_desktop_config.json
    

    Add or update the configuration:

    {
        "mcpServers": {
            "webflow": {
                "command": "node",
                "args": [
                    "/ABSOLUTE/PATH/TO/YOUR/build/index.js"
                ],
                "env": {
                    "WEBFLOW_API_TOKEN": "your-api-token"
                }
            }
        }
    }
    
  4. Save the file and restart Claude Desktop.

Method 2: Installation via Smithery

For automatic installation using Smithery:

npx -y @smithery/cli install @kapilduraphe/webflow-mcp-server --client claude

Available Tools

The MCP server provides the following tools for interacting with Webflow:

get_sites

Retrieves a list of all Webflow sites accessible to the authenticated user. This tool returns detailed information including:

  • Site Display Name and Short Name
  • Site ID and Workspace ID
  • Creation, Last Updated, and Last Published Dates
  • Preview URL
  • Time Zone settings
  • Custom Domains configuration
  • Localization settings
  • Data collection preferences

get_site

Retrieves detailed information about a specific Webflow site by ID. This tool requires a siteId parameter and returns the same detailed information as get_sites but for a single site.

Troubleshooting

Common Issues

Tools not appearing in Claude:

  • Check Claude Desktop logs
  • Verify your WEBFLOW_API_TOKEN is set correctly
  • Ensure the path to index.js is absolute and correct

Authentication Errors:

  • Verify your API token is valid
  • Check if the token has the necessary permissions
  • Ensure the token hasn't expired

Viewing Logs

MacOS/Linux:

tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

Windows:

Get-Content -Path "$env:AppData\Claude\Logs\mcp*.log" -Wait -Tail 20

Security Best Practices

  • Keep your API token secure
  • Don't commit credentials to version control
  • Use environment variables for sensitive data
  • Regularly rotate API tokens
  • Monitor API usage in Webflow
  • Use minimum required permissions for API tokens

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":"node","args":["/ABSOLUTE/PATH/TO/YOUR/build/index.js"],"env":{"WEBFLOW_API_TOKEN":"your-api-token"}}'

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": "node",
            "args": [
                "/ABSOLUTE/PATH/TO/YOUR/build/index.js"
            ],
            "env": {
                "WEBFLOW_API_TOKEN": "your-api-token"
            }
        }
    }
}

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": "node",
            "args": [
                "/ABSOLUTE/PATH/TO/YOUR/build/index.js"
            ],
            "env": {
                "WEBFLOW_API_TOKEN": "your-api-token"
            }
        }
    }
}

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