インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Netlify をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI に Netlify サイトの確認と運用を任せます。サイト、デプロイとビルド、関数、フォームと送信内容、環境変数の名前、DNS を確認でき、あなたの確認後にビルドの開始、デプロイの公開やロールバック、自動公開のロックを行います。
こう聞いてみよう
Netlify のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Netlify をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Netlify
AI に Netlify サイトの確認と運用を任せます。サイト、デプロイとビルド、関数、フォームと送信内容、環境変数の名前、DNS を確認でき、あなたの確認後にビルドの開始、デプロイの公開やロールバック、自動公開のロックを行います。
セットアップ
https://app.netlify.comで Netlify にサインインします。- User settings → Applications → Personal access tokens を開き、New access token をクリックします。
- トークンに説明と有効期限を設定してコピーします。新しいトークンは
nfp_で始まります。 - Bearer という語を付けずにトークンだけを
NETLIFY_TOKENに貼り付け、コネクタをインストールします。トークンは Bearer トークンとして api.netlify.com にだけ送信されます。 netlify_get_current_user、続いてnetlify_list_sitesで設定を確認します。
誰が何を見られるか: Personal access token は、あなたが所属するすべての Netlify チームであなたと同じ全権限を持ちます。Netlify には読み取り専用トークンがありません。MCP サーバーは、サイトをデプロイしてよい人とだけ共有してください。読み取り専用で使う場合は、下記の書き込みツールを無効にしてください。
公開中のサイトを変更するため、AI は先に確認します: netlify_trigger_build は接続済みリポジトリから新しいビルドとデプロイを開始し、失敗したデプロイの再試行にも使います。本番ビルドは成功すると、自動公開がロックされていない限り公開中のサイトに反映され、ビルド時間(build minutes)を消費します。netlify_restore_deploy は以前のデプロイを再公開し、netlify_rollback_site は現在の 1 つ前に公開されていたデプロイに戻します。どちらも訪問者に見える内容がすぐに変わります。netlify_lock_deploy は自動公開を止め、新しいビルドはデプロイされても公開されなくなります。netlify_unlock_deploy は自動公開を再開し、netlify_cancel_deploy はビルド中のデプロイを取り消して公開されないようにします。AI はそれぞれの前にサイト、ブランチまたはデプロイと変更内容を示し、あなたの承認を待ちます。
インストール時に無効: netlify_get_env_var_value は、シークレットでない環境変数の値を平文で返します(secret として設定された変数は dev コンテキストを除きマスクされます)。netlify_delete_form_submission はフォームの送信内容を完全に削除します。どちらも管理者が意図して有効にするツールです。
シークレットは返しません: netlify_list_env_vars が返すのは名前、スコープ、デプロイコンテキストだけで、値は返しません。ビルドフックの URL、サイトのパスワード、デプロイフックの URL も返しません。
使い方: netlify_list_accounts でチームを一覧し、netlify_list_sites で各サイトの ID を取得します。my-site.netlify.app のようなサイトのドメインも site_id として使えます。デプロイ: netlify_list_deploys(ブランチ、状態、本番で絞り込み)と netlify_get_deploy。ビルド: netlify_list_builds、netlify_get_build、netlify_list_build_hooks。サイトの詳細: netlify_get_site、netlify_list_functions、netlify_list_env_vars。長い一覧には _pagination が付き、AI はそれがなくなるまで次のページを取得します。
フォーム: netlify_list_forms、続いて netlify_list_form_submissions を使います。送信内容には訪問者が入力したもの、多くの場合は名前やメールアドレスなどの個人データが含まれます。
DNS: netlify_list_dns_zones、続いて netlify_list_dns_records を使います。Netlify DNS で管理しているドメインにだけ使えます。
よくあるエラー: 401: トークンが間違っている、期限切れ、または取り消されています。User settings → Applications で新しいトークンを作成してください。403: このチームまたはサイトに対する役割がユーザーにありません。404: サイト、デプロイ、フォームの ID が間違っているか、あなたが参照できないものです。422: 値が無効です。Netlify がどの値かを示します。429: レート制限に達しました(1 分あたり約 500 リクエスト、デプロイは 1 分あたり数回まで)。少し待ってから再試行してください。
このコネクタは、サイトの作成、削除、設定、ファイルのアップロード、環境変数、DNS レコード、ドメインの編集、サイトのアナリティクス(Netlify の公開 API にはありません)には対応していません。
前提条件: NETLIFY_TOKEN
ローカルでコネクタをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
http://localhost:3000/connectors/store を開き、 Netlify を選択し、前提条件に記載された環境変数を入力します。
利用可能なツール
| Tool | What it does |
|---|---|
netlify_get_current_user | Get the Netlify user the personal access token belongs to: id, name, email, number of sites and last login |
netlify_list_accounts | List the Netlify teams (accounts) the user belongs to: id, name, slug, plan type and the user's roles |
netlify_list_sites | List sites (projects): id, name, URL, custom domain, team, connected repository and branch, build command and the currently published deploy |
netlify_get_site | Get one site: URL, custom domain and aliases, state, plan, team, repository, branch, build command, publish folder and the published deploy |
netlify_list_deploys | List a site's deploys, newest first: id, state (ready, building, error, ...), context (production, deploy-preview, branch-deploy), branch… |
netlify_get_deploy | Get one deploy by id: state, context, branch, commit, title, error message, URLs, lock state and times |
netlify_list_builds | List a site's builds, newest first: id, deploy id, commit sha, whether it is done, error text and time |
netlify_get_build | Get one build: deploy id, commit sha, whether it is done, error text and time |
netlify_list_build_hooks | List a site's build hooks: id, title and branch |
netlify_list_functions | List the serverless functions deployed for a site, with the deploy and branch they belong to |
netlify_list_forms | List the forms Netlify detected on a site: id, name, the pages they are on, number of submissions and their fields |
netlify_list_form_submissions | List the submissions of one form, newest first: number, time, name, email, company, summary and all submitted fields |
netlify_list_env_vars | List a site's environment variables: key, scopes (builds, functions, runtime, post-processing), whether it is marked secret, the deploy… |
netlify_get_env_var_value | Read the values of ONE environment variable per deploy context |
netlify_list_dns_zones | List the DNS zones managed by Netlify DNS: id, domain name, team, linked site and the Netlify name servers |
netlify_list_dns_records | List the records of a Netlify DNS zone: id, hostname, type (A, AAAA, CNAME, MX, TXT, NETLIFY ...), value, TTL, priority and whether Netlify… |
netlify_trigger_build | Start a new build and deploy of a site from its connected repository, optionally for another branch or with a cleared cache |
netlify_restore_deploy | Publish an earlier deploy to the live site again (Netlify's Publish deploy) |
netlify_rollback_site | Roll the live site back to the deploy that was published before the current one |
netlify_lock_deploy | Lock a published deploy: auto publishing stops, so new builds are deployed but not published until it is unlocked |
netlify_unlock_deploy | Unlock a locked deploy so auto publishing resumes; the next successful production build goes live |
netlify_cancel_deploy | Cancel a deploy that is still building or processing; it will not be published |
netlify_delete_form_submission | Delete one form submission for good |
プロンプトの例
- 「今週デプロイに失敗した Netlify サイトはどれですか?エラーメッセージも教えてください。」
- 「ショップサイトの最新の本番デプロイでチェックアウトが壊れました。前のバージョンにロールバックしてください。ただし、どのデプロイが公開されるかを先に見せてください。」
- 「ドキュメントサイトの main ブランチで失敗したビルドを、キャッシュをクリアして再実行してください。開始する前に確認してください。」
- 「マーケティングサイトのお問い合わせフォームの最新 20 件の送信を、名前、メール、メッセージ付きで見せてください。」
- 「ショップサイトの本番環境にはどの環境変数がありますか?そのうち secret として設定されているものはどれですか?」
次のステップ
このガイドは役に立ちましたか?