Netlify
Let your AI check and run your Netlify sites: sites, deploys and builds, functions, forms and submissions, environment variable names and DNS, and start builds, publish or roll back deploys and lock auto publishing after you confirm.
7 天免费 · 无需信用卡 · EU 托管
问 Netlify 任何事
通过 AnythingMCP 对 Netlify 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 NetlifyClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 Netlify。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
Netlify 指南
面向主流 AI 客户端的逐步设置。
配置 Netlify
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
Netlify
This connector works with Netlify through the Netlify API (https://api.netlify.com/api/v1): teams, sites, deploys and builds, build hooks, functions, forms and their submissions, environment variable names and Netlify DNS. It can start builds, publish an earlier deploy, roll back, lock or unlock auto publishing and cancel deploys after you confirm. It acts as the user who owns the token.
Setup (about 2 minutes)
- In Netlify open User settings > Applications > Personal access tokens (https://app.netlify.com/user/applications#personal-access-tokens) and click New access token.
- Give it a description and an expiration, copy it and paste it into
NETLIFY_TOKEN. It is sent asAuthorization: Bearer <token>to api.netlify.com only. - Check the setup with
netlify_get_current_user, thennetlify_list_sites.
A personal access token has the user's full rights in every team they belong to; Netlify has no read-only tokens. Share the MCP server only with people allowed to deploy, and switch off the write tools for a read-only setup.
How to work
netlify_list_accountslists your teams;netlify_list_sitesgives each site's id (a site's domain such as my-site.netlify.app works as site_id too).- Deploys:
netlify_list_deploys(filter by branch, state or production),netlify_get_deploy; builds:netlify_list_builds,netlify_get_build,netlify_list_build_hooks. - Site details:
netlify_get_site,netlify_list_functions,netlify_list_env_vars. - Forms:
netlify_list_forms, thennetlify_list_form_submissions. Submissions hold what visitors typed, often personal data. - DNS:
netlify_list_dns_zones, thennetlify_list_dns_records(only for domains on Netlify DNS).
Writes always need the user's confirmation: netlify_trigger_build (also the way to retry a failed deploy; a production build publishes when it succeeds), netlify_restore_deploy and netlify_rollback_site (change what visitors see immediately), netlify_lock_deploy, netlify_unlock_deploy and netlify_cancel_deploy. Say what will change and call only after the user agrees.
Secrets: netlify_list_env_vars returns names, scopes and contexts, never values. netlify_get_env_var_value is installed switched off: it returns non-secret values in plain text (secret ones stay masked). Turn it on only if the AI really needs a value. Build hook URLs, site passwords and deploy hook URLs are never returned.
Switched off at install: netlify_delete_form_submission and netlify_get_env_var_value.
Pagination: lists with page and per_page carry _pagination when there is another page; call again with page = _pagination.nextCursor until it is absent.
Errors: 401 means the token is wrong, expired or revoked. 403 means the user lacks the role for this team or site. 404 means a wrong site, deploy or form id, or one the user cannot see. 422 names an invalid value. 429 means the rate limit is reached (about 500 requests a minute, and only a few deploys a minute); wait and retry.
Out of scope here: creating, deleting or configuring sites, uploading files, editing environment variables, DNS records or domains, and site analytics, which Netlify does not offer in its public API.