Webflow

by kapilduraphe

18 stars
Not rated
GitHub

About

Integrates with the Webflow API to enable retrieving site information, managing custom domains, and automating Webflow site management tasks.

Details

Author
kapilduraphe
Repository
kapilduraphe/webflow-mcp-server
GitHub stars
18
License
MIT License
Categories
Developer Tools, Productivity, Design, AI, Frontend, API, Automation
Tags
#integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Webflow
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /ABSOLUTE/PATH/TO/YOUR/build/index.js
    Environment
    • WEBFLOW_API_TOKEN your-api-token

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install dependencies:

npm install

Create a .env file for local development (don't commit this file):

WEBFLOW_API_TOKEN=your-api-token

Open your Claude Desktop configuration file:

For MacOS:

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

For 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"
            }
        }
    }
}

Save the file and restart Claude Desktop.

To install Webflow MCP Server for Claude Desktop automatically via Smithery:

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

- Missing WEBFLOW_API_TOKEN
- Invalid API token

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

If you're getting environment variable errors, verify:

- WEBFLOW_API_TOKEN: Should be a valid API token

get_sites

Retrieves a list of all Webflow sites accessible to the authenticated user, including details such as Site Display Name, Site ID, Creation Dates, Preview URL, and more.

get_site

Retrieves detailed information about a specific Webflow site by ID. Requires a siteId parameter and returns detailed information similar to get_sites for a single site.

The server currently provides the following tools:

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "webflow": {
            "env": {
                "WEBFLOW_API_TOKEN": "your-api-token"
            },
            "args": [
                "/ABSOLUTE/PATH/TO/YOUR/build/index.js"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "env": {
        "WEBFLOW_API_TOKEN": "your-api-token"
    },
    "args": [
        "/ABSOLUTE/PATH/TO/YOUR/build/index.js"
    ],
    "command": "node"
}

Macos

{
    "env": {
        "WEBFLOW_API_TOKEN": "your-api-token"
    },
    "args": [
        "/ABSOLUTE/PATH/TO/YOUR/build/index.js"
    ],
    "command": "node"
}

Windows

{
    "env": {
        "WEBFLOW_API_TOKEN": "your-api-token"
    },
    "args": [
        "/ABSOLUTE/PATH/TO/YOUR/build/index.js"
    ],
    "command": "node"
}

Webflow MCP Server

smithery badge

This MCP server enables Claude to interact with Webflow's APIs.

<a href="https://glama.ai/mcp/servers/un9r0vtmku">
Webflow Server MCP server
</a>

Prerequisites

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

Setup Instructions

1. Create a Webflow API Token

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

Alternatively, you can also generate an OAuth Access Token.

2. Initial Project Setup

Install dependencies:

npm install

3. Configure Environment Variables

Create a .env file for local development (don't commit this file):

WEBFLOW_API_TOKEN=your-api-token

4. Configure Claude Desktop

Open your Claude Desktop configuration file:

For MacOS:

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

For 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"
            }
        }
    }
}

Save the file and restart Claude Desktop.

Installing via Smithery

To install Webflow MCP Server for Claude Desktop automatically via Smithery:

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

Available Tools

The server currently provides the following tools:

get_sites

Retrieves a list of all Webflow sites accessible to the authenticated user. 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 (primary and secondary locales)
- Data collection preferences

get_site

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

Type Definitions

interface WebflowApiError {
    status?: number;
    message: string;
    code?: string;
}

interface WebflowCustomDomain {
id: string;
url: string;
lastPublished: string;
}

interface WebflowLocale {
id: string;
cmsLocaleId: string;
enabled: boolean;
displayName: string;
redirect: boolean;
subdirectory: string;
tag: string;
}

interface WebflowSite {
id: string;
workspaceId: string;
createdOn: string;
displayName: string;
shortName: string;
lastPublished: string;
lastUpdated: string;
previewUrl: string;
timeZone: string;
parentFolderId?: string;
customDomains: WebflowCustomDomain[];
locales: {
primary: WebflowLocale;
secondary: WebflowLocale[];
};
dataCollectionEnabled: boolean;
dataCollectionType: string;
}

Error Handling

The server handles various error scenarios:

Environment Errors

- Missing WEBFLOW_API_TOKEN
- Invalid API token

Troubleshooting

Common Issues

Tools not appearing in Claude

- Check Claude Desktop logs
- Verify 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

To view server logs:

For MacOS/Linux:

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

For Windows:

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

Environment Variables

If you're getting environment variable errors, verify:

- WEBFLOW_API_TOKEN: Should be a valid API token

Security Considerations

- 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 token

Support

If you encounter any issues:

- Check the troubleshooting section above
- Review Claude Desktop logs
- Examine the server's error output
- Check Webflow's API documentation

License

MIT License - See LICENSE file for details.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.