KW

kapilduraphe/webflow-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

21 stars 8 forks 质量 82 趋势 20MIT

Webflow MCP 服务器

概览

该 MCP 服务器使 Claude 能够与 Webflow 的 API 交互。 - Node.js(v16及以上)- Claude桌面应用 - Webflow账户 - Webflow API令牌(站点令牌或OAuth Accesses令牌) - 登录你的 Webflow 账户 - 进入 > 应用与集成的站点设置 - 生成新的 API 令牌 - 复制令牌值(你将无法再次看到它) 或者,你也可以生成一个开放访问令牌。 为本地开发创建一个 .env 文件(不要提交此文件): 打开你的Claude Desktop配置文件: 保存文件并重启Claude Desktop。 通过Smithery自动安装Claude Desktop的Webflow MCP Server:

概述(AI 翻译)

该 MCP 服务器使 Claude 能够与 Webflow 的 API 交互。

先修条件

  • Node.js(v16或更高)
  • Claude桌面应用
  • Webflow 账户
  • Webflow API 令牌(站点令牌或 OAuth 访问令牌)

设置说明

1.创建 Webflow API 令牌

  • 登录您的Webflow账户
  • 访问网站设置>应用与集成
  • 生成新的 API 令牌
  • 复制标记值(你将无法再次看到它)

或者,你也可以生成一个开放访问令牌。

2.项目初始设置

安装依赖:

3.配置环境变量

为本地开发创建一个 .env 文件(不要提交此文件):

4.配置Claude Desktop

打开你的Claude Desktop配置文件:

针对MacOS:

Windows版:

添加或更新配置:

保存文件并重启Claude Desktop。

通过Smithery安装

通过Smithery自动安装Claude Desktop的Webflow MCP Server:

可用工具

该服务器目前提供以下工具:

get_sites

检索所有对认证用户可访问的Webflow网站列表。返回包括:

  • 网站显示名称和简称

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Webflow MCP Server

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

Prerequisites

  • Node.js (v22 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 with the sites:read scope (the only scope this server needs)
  • 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 and build:

npm ci

npm ci installs the exact dependency versions from package-lock.json and builds the server into dist/.

3. Configure Environment Variables

For running the server outside Claude Desktop (for example, local testing), create a .env file in the project root. It is gitignored, so it won’t be committed:

WEBFLOW_API_TOKEN=your-api-token

Then start the server with:

npm start

Claude Desktop does not read .env; it gets the token from its own config (next step).

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/webflow-mcp-server/dist/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

在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @kapilduraphe/webflow-mcp-server --client claude
新手?先看 mcpskill.org 教程 →

配置

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