mcpField
W
webflow-enterprise-api

webflow-enterprise-api

github.com/224-industriesクラウド・DevOps1066 回インストール1 週間前に更新
リポジトリ

webflow-enterprise-api について

webflow-enterprise-apiは、Webflow Enterpriseのワークスペースやサイトを管理する開発者・管理者向けのAPIリファレンススキルです。Enterprise限定のエンドポイントを整理し、ログや設定資料を検索できます。

主な機能

  1. 01ワークスペースとサイトの操作ログ取得
  2. 02301リダイレクトの管理
  3. 03robots.txt設定の取得と編集
  4. 04well-knownファイルのアップロードと削除
  5. 05サイトの作成・更新・削除
  6. 06APIリファレンスファイルの検索

活用シーン

  1. 01ワークスペースやサイトの操作履歴を確認
  2. 02サイトのリダイレクト規則を更新
  3. 03robots.txtやwell-knownファイルを設定
  4. 04Enterpriseワークスペース内のサイトを管理

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/224-industries/webflow-skills --skill webflow-enterprise-api

インストール後、Claude Code で/webflow-enterprise-apiを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

references/
301-redirects.md
robots-txt.md
site-activity-logs.md
well-known-files.md
workspace-audit-logs.md
workspace-management.md
scripts/
search_references.py

詳細

Webflow Enterprise API

Webflow ワークスペースとサイト構成を管理するための、Enterprise 専用 API エンドポイントです。すべてのエンドポイントで、Enterprise ワークスペースと適切なトークンスコープが必要です。

エンドポイントの概要

エンドポイントメソッドスコープ説明
/workspaces/{id}/audit_logsGETworkspace_activity:readワークスペースの監査ログ
/sites/{id}/activity_logsGETsite_activity:readサイトのアクティビティログ
/sites/{id}/redirectsGETsites:read301 リダイレクトルールの一覧表示
/sites/{id}/redirectsPOSTsites:write301 リダイレクトの作成
/sites/{id}/redirects/{rid}PATCHsites:write301 リダイレクトの更新
/sites/{id}/redirects/{rid}DELETEsites:write301 リダイレクトの削除
/sites/{id}/robots_txtGETsite_config:readrobots.txt の構成を取得
/sites/{id}/robots_txtPUTsite_config:writerobots.txt の構成を置き換え
/sites/{id}/robots_txtPATCHsite_config:writerobots.txt の構成を更新
/sites/{id}/robots_txtDELETEsite_config:writerobots.txt のルールを削除
/sites/{id}/well_knownPUTsite_config:writewell-known ファイルをアップロード
/sites/{id}/well_knownDELETEsite_config:writewell-known ファイルを削除
/workspaces/{id}/sitesPOSTworkspace:write新しいサイトを作成
/sites/{id}PATCHsites:writeサイトを更新
/sites/{id}DELETEsites:writeサイトを削除
/sites/{id}/planGETsites:readサイトのホスティングプランを取得

すべてのエンドポイントで、https://api.webflow.com/v2 をベース URL として使用し、Authorization: Bearer <token> が必要です。

重要事項

  • すべてのエンドポイントで Enterprise ワークスペース が必要です。Enterprise 以外のプランではエラーが返されます
  • ワークスペースレベルのエンドポイントには、サイトトークンではなくワークスペース API トークンを使用してください
  • レート制限が適用されます。レスポンスヘッダー X-RateLimit-Remaining を確認してください
  • 一覧表示エンドポイントでは、クエリパラメーター limit と offset を使用してページネーションを利用できます

リファレンスドキュメント

各リファレンスファイルには、検索しやすいように name、description、tags を含む YAML フロントマターがあります。scripts/search_references.py の検索スクリプトを使用して、関連するリファレンスを検索してください。

監査とアクティビティ
サイト構成
ワークスペース管理
リファレンスの検索
# List all references with metadata
python scripts/search_references.py --list

# Search by tag (exact match)
python scripts/search_references.py --tag <tag>

# Search by keyword (across name, description, tags, and content)
python scripts/search_references.py --search <query>

スクリプト

  • scripts/search_references.py:タグやキーワードでリファレンスファイルを検索するか、メタデータ付きですべてのファイルを一覧表示します

コメント