Skip to main content
Glama
Webflow

Webflow

Official
by webflow

Webflowの公式MCPサーバー

Webflow JavaScript SDKを使用してWebflow用のモデルコンテキストプロトコル(MCP)を実装したNode.jsサーバーです。AIエージェントがWebflow APIとやり取りできるようにします。WebflowのデータAPIの詳細については、開発者向けドキュメントをご覧ください。

npmシールド シダの盾

ℹ 前提条件

Related MCP server: Webflow MCP Server

▶️ クイックスタート(Cloudflareワーカーでホスト)

カーソルの場合:

  1. Settings → Cursor Settings → MCPに移動します

  2. + Add New Global MCP Serverクリック

  3. 次の設定を貼り付けます(または、既存の設定にwebflow部分を追加します)。

{
  "mcpServers": {
    "webflow": {
      "command": "npx mcp-remote https://mcp.webflow.com/sse"
    }
  }
}
  1. 保存すると、カーソルは自動的に新しいブラウザ ウィンドウを開き、MCP サーバーがアクセスできるようにする Webflow サイトを承認するための OAuth ログイン ページを表示します。

Claude Desktopの場合:

  1. Settings → Developer向けを開く

  2. Edit Configクリック

  3. コード エディターでclaude_desktop_config.jsonを開き、次の構成を貼り付けます (または、既存の構成にwebflow部分を追加します)。

{
  "mcpServers": {
    "webflow": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.webflow.com/sse"]
    }
  }
}
  1. ファイルを保存し、Claude Desktopを再起動します(command/ctrl + R)。Claudeが再起動すると、新しいブラウザウィンドウが自動的に開き、MCPサーバーにアクセスを許可するWebflowサイトを認証するためのOAuthログインページが表示されます。

ウィンドサーフィンの場合:

  1. Windsurf - Settings → Advanced Settingsに移動します

  2. Cascadeセクションまでスクロールダウン→ Add Server → Add custom server +

  3. 次の設定を貼り付けます(または、既存の設定にwebflow部分を追加します)。

{
  "mcpServers": {
    "webflow": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.webflow.com/sse"]
    }
  }
}
  1. Saveクリックすると、Windsurf は自動的に新しいブラウザ ウィンドウを開き、MCP サーバーがアクセスできるようにする Webflow サイトを承認するための OAuth ログイン ページを表示します。

重要な注意事項

これらの方法はすべて、2025年4月30日現在まだ試験的なnpmパッケージであるmcp-remoteに依存しています。問題が発生し、OAuthトークンをリセットしたい場合は、MCPクライアントを再起動する前に次のコマンドを実行してください。

rm -rf ~/.mcp-auth

▶️ クイックスタート(ローカルインストール)

  1. Webflow APIトークンを取得する

  1. AIエディターに追加する

{
  "mcpServers": {
    "webflow": {
      "command": "npx",
      "args": ["-y", "webflow-mcp-server@0.5.1"],
      "env": {
        "WEBFLOW_TOKEN": "<YOUR_WEBFLOW_TOKEN>"
      }
    }
  }
}

カーソルの場合:

  1. 設定→カーソル設定→MCPに移動します

  2. + Add New Global MCP Serverクリック

  3. 設定を貼り付ける

  4. YOUR_WEBFLOW_TOKEN先ほどコピーしたトークンに置き換えます。

  5. 保存してカーソルを再起動

Claude Desktopの場合:

  1. 設定→開発者向けを開く

  2. Edit Configクリック

  3. コードエディタでclaude_desktop_config.jsonを開き、設定を貼り付けます。

  4. YOUR_WEBFLOW_TOKEN先ほどコピーしたトークンに置き換えます。5.保存してClaudeを再起動します。

❓ トラブルシューティング

MCP クライアント (Cursor や Claude Desktop など) でサーバーの起動に問題がある場合は、次の操作を試してください。

有効なWebflow APIトークンがあることを確認してください

  1. WebflowのAPIプレイグラウンドにアクセスし、ログインしてトークンを生成し、リクエストジェネレータからトークンをコピーします。

  2. MCPクライアント構成のYOUR_WEBFLOW_TOKENコピーしたトークンに置き換えます。

  3. MCPクライアントを保存して再起動します

NodeとNPMがインストールされていることを確認してください

Node と NPM がインストールされていることを確認するには、次のコマンドを実行します。

node -v
npm -v

NPMキャッシュをクリアする

NPM キャッシュをクリアすると、 npxの問題が解決する場合があります。

npm cache clean --force

NPM グローバル パッケージ権限を修正

npm -v機能しないのにsudo npm -vが機能する場合は、NPM のグローバルパッケージ権限を修正する必要がある可能性があります。詳しくは、 NPM の公式ドキュメントをご覧ください。

注意: シェルの設定を変更する場合、変更を有効にするにはシェルを再起動する必要がある場合があります。

🛠️ 利用可能なツール

サイト

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

ページ

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 - list // List all components in a site
components - get - content // Get component content (text, images, nested components)
components - update - content // Update component content for localization
components - get - properties // Get component properties (default values)
components - update - properties // Update component properties for localization

CMS

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 - add - inline - site - script // Register an inline script for a site
custom code - get - registered - site - script - list // List all scripts registered to a site
custom code - get - applied - site - script - list //Get all scripts applied to a site
custom code - delete site custom code // Remove scripts from a site 

🗣️ プロンプトとリソース

この実装には、MCP仕様のpromptsやresources含まれていません。ただし、将来的に、一般的なMCPクライアントでのサポートが拡大されれば、状況は変わる可能性があります。

🚧 開発モード

サーバーを開発モードで実行する場合は、次のコマンドを使用して依存関係をインストールし、サーバーを実行できます。

  1. クローンしてインストール:

git clone git@github.com:webflow/mcp-server.git
cd mcp-server
npm install
  1. プロジェクトのルートにある.envファイルにトークンを追加します。

# .env
WEBFLOW_TOKEN=<YOUR_WEBFLOW_TOKEN>
  1. 開発サーバーを起動します:

npm start

📄 Webflow 開発者リソース

⚠️ 既知の制限事項

静的ページコンテンツの更新

pages_update_static_content エンドポイントは現在、セカンダリロケールのローカライズされた静的ページの更新のみをサポートしています。デフォルトロケールの静的コンテンツの更新はサポートされておらず、エラーが発生します。

Available Tools

22 tools
ask_webflow_aiAsk Webflow AIA
Read-only
Inspect

Ask Webflow AI about anything related to Webflow API.

Inputs: message (required).

asset_toolDesigner Asset ToolCInspect

Designer Tool - Asset tool to perform actions like create folder, get all assets and folders, update assets and folders

Inputs: siteId (required), actions (required).

component_builderAInspect

Designer Tool - Component builder to insert component instances on the current active page. Supports inserting into an element (as a child) or into a component instance's slot. Use insert_in_element to add a component inside a container/div/section. Use insert_in_slot to add a component inside a specific slot of an existing component instance.

Inputs: siteId (required), actions (required).

data_cms_toolData CMS ToolCInspect

Data tool - CMS tool to perform actions like get collection list, get collection details, create collection, create collection fields (static/option/reference), update collection field, list collection items, create collection items, update collection items, publish collection items, and delete collection items

Inputs: actions (required).

data_comments_toolData Comments ToolA
Read-only
Inspect

Data tool - A comment in Webflow is user feedback attached to a specific element or page inside the Designer, stored as a top-level thread with optional replies. Each comment includes author info, timestamps, content, resolved state, and design-context metadata like page location and breakpoint. Use this tool to inspect feedback discussions across the site and understand where and why they were left.

Inputs: actions (required).

data_components_toolData Components ToolCInspect

Data tool - Components tool to perform actions like list components, get component content, update component content, get component properties, and update component properties

Inputs: actions (required).

data_enterprise_toolData Enterprise ToolCInspect

Data tool - Enterprise tool to perform actions like manage 301 redirects, manage robots.txt and more. This tool only works if User's workspace plan is Enterprise or higher, else tool will return an error.

Inputs: actions (required).

data_pages_toolData Pages ToolCInspect

Data tool - Pages tool to perform actions like list pages, get page metadata, update page settings, get page content, and update static content

Inputs: actions (required).

data_scripts_toolData Scripts ToolCInspect

Data tool - Scripts tool to perform actions like list registered scripts, list applied scripts, add inline site script, and delete all site scripts

Inputs: actions (required).

data_sites_toolData Sites ToolCInspect

Data tool - Sites tool to perform actions like list sites, get site details, and publish sites

Inputs: actions (required).

data_webhook_toolData Webhook ToolBInspect

Data tool - Webhook tool to perform actions like list webhooks, create webhooks, get webhook details, and delete webhooks for a Webflow site.

Inputs: actions (required).

de_component_toolDesigner Component ToolCInspect

Designer tool - Component tool to perform actions like create component instances, get all components and more.

Inputs: siteId (required), actions (required).

de_page_toolDesigner Page ToolCInspect

Designer Tool - Page tool to perform actions like create page, create page folder, get current page, switch page

Inputs: siteId (required), actions (required).

element_builderBInspect

Designer Tool - Element builder to create element on current active page.

Inputs: siteId (required), actions (required).

element_snapshot_toolC
Read-only
Inspect

Designer Tool - Element snapshot tool to perform actions like get element snapshot. helpful to get element snapshot for debugging and more and visual feedback.

Inputs: siteId (required), action (required).

element_toolDesigner Element ToolDInspect

Designer Tool - Element tool to perform actions like get all elements, get selected element, select element on current active page. and more

Inputs: siteId (required), actions (required).

get_designer_app_connection_infoGet Webflow MCP App Connection InfoB
Read-only
Inspect

Get Webflow MCP App Connection Info. if user ask to get Webflow MCP app connection info, use this tool

Inputs: no named parameters.

get_image_previewGet Webflow Image PreviewCInspect

Designer Tool - Get image preview from url. this is helpful to get image preview from url. Only supports JPG, PNG, GIF, WEBP, WEBP and AVIF formats.

Inputs: url (required), siteId (required).

style_toolDesigner Style ToolCInspect

Designer Tool - Style tool to perform actions like create style, get all styles, update styles, remove styles

Inputs: siteId (required), actions (required).

variable_toolDesigner Variable ToolCInspect

Designer Tool - Variable tool to perform actions like create variable, get all variables, update variable

Inputs: siteId (required), actions (required).

webflow_guide_toolWebflow Guide ToolA
Read-only
Inspect

Provides essential guidelines and best practices for effectively using the Webflow tools. Call this tool to understand recommended workflows and important considerations before performing actions. ALWAYS CALL THIS TOOL FIRST BEFORE CALLING ANY OTHER TOOLS. ALWAYS CALL THIS TOOL FIRST BEFORE CALLING ANY OTHER TOOLS.

Inputs: no named parameters.

whtml_builderAInspect

Designer Tool - WHTML builder to insert elements from HTML and CSS strings on the current active page. Accepts HTML markup and optional CSS rules, constructs WHTML, and inserts into a parent element.

Inputs: siteId (required), actions (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, especially the data_*_tool group. However, there is potential confusion between component_builder, de_component_tool, and data_components_tool, as well as element_builder, element_snapshot_tool, and element_tool, though descriptions help differentiate.

    Naming Consistency3/5

    Tool names follow a general pattern but are inconsistent: some end with '_tool', some with '_builder', and a few have no suffix (e.g., get_designer_app_connection_info). The mix of verb_noun (ask_webflow_ai) and noun_tool (asset_tool) reduces consistency.

    Tool Count4/5

    22 tools is slightly above the typical 3-15 range for a single-purpose server, but Webflow's diverse functionality (design, CMS, enterprise, etc.) justifies a larger set. Still, some tools could be merged or pruned.

    Completeness4/5

    The tool surface covers major Webflow areas: assets, components, CMS, pages, scripts, sites, webhooks, design elements, styles, variables, and a guide. Minor gaps exist, such as form handling or e-commerce tools, but core workflows are well-supported.

    Maintenance

    ActivityMaintained
    ResponsivenessMostly unanswered

    Related MCP Connectors

    Related MCP Servers