Connector guide7-minute read23 MCP tools7 languages

How to Connect Netlify to Claude via MCP

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.

HCBy HelpCode teamUpdated 7 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Netlify

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.

tools

23

Region

INTL

Category

Infrastructure

Authentication

Bearer Token

Required env vars

NETLIFY_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Netlify in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

AnythingMCP is listed in Claude's connector directory: add it to Claude in one click (opens in a new tab), then sign in and choose which MCP servers Claude may use.

Summary

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.

Try asking

Example prompts for Netlify

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Netlify · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Netlify, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Netlify + Claude

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.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

NETLIFY_TOKEN

Step 1 — Get credentials

  1. Sign in to Netlify at https://app.netlify.com.
  2. Open User settings → Applications → Personal access tokens and click New access token.
  3. Give the token a description and an expiration, then copy it. Newer tokens start with nfp_.
  4. Paste only the token into NETLIFY_TOKEN, without the word Bearer, and install the connector. It is sent as a Bearer token to api.netlify.com only.
  5. Check the setup with netlify_get_current_user, then netlify_list_sites.

Who sees what: a personal access token has your full rights in every Netlify team you belong to, and Netlify has no read-only tokens. Share the MCP server only with people who may deploy your sites. For a read-only setup, switch off the write tools listed below.

Changes live sites, so the AI asks first: netlify_trigger_build starts a new build and deploy from the connected repository and is also the way to retry a failed deploy; a production build publishes to the live site when it succeeds, unless auto publishing is locked, and it uses build minutes. netlify_restore_deploy publishes an earlier deploy again and netlify_rollback_site goes back to the deploy published before the current one; both change what visitors see immediately. netlify_lock_deploy stops auto publishing, so new builds are deployed but not published, netlify_unlock_deploy resumes it, and netlify_cancel_deploy stops a deploy that is still building so it is never published. Before each of them the AI tells you the site, branch or deploy and what will change, and waits for your yes.

Switched off at install: netlify_get_env_var_value, which returns non-secret environment variable values in plain text (variables marked secret come back masked, except in the dev context), and netlify_delete_form_submission, which deletes a submission for good. An administrator turns them on deliberately.

Secrets stay out: netlify_list_env_vars returns names, scopes and deploy contexts only, never values. Build hook URLs, the site password and deploy hook URLs are never returned.

How to work: netlify_list_accounts lists your teams; netlify_list_sites gives each site's id, and 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) and netlify_get_deploy; builds: netlify_list_builds, netlify_get_build and netlify_list_build_hooks. Site details: netlify_get_site, netlify_list_functions and netlify_list_env_vars. Long lists carry _pagination, and the AI asks for the next page until it is gone.

Forms: netlify_list_forms, then netlify_list_form_submissions. Submissions hold what visitors typed, often personal data such as names and email addresses.

DNS: netlify_list_dns_zones, then netlify_list_dns_records. This works only for domains on Netlify DNS.

Common errors: 401: the token is wrong, expired or revoked; create a new one under User settings → Applications. 403: your user lacks the role for this team or site. 404: a wrong site, deploy or form id, or one you cannot see. 422: a value is invalid, and Netlify names it. 429: the rate limit is reached (about 500 requests a minute, and only a few deploys a minute); wait and retry.

The connector does not cover creating, deleting or configuring sites, uploading files, editing environment variables, DNS records or domains, or site analytics, which Netlify does not offer in its public API.

Step 2 — Install the adapter

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

Step 3 — Add the connector in Claude

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Recommended path: works on claude.ai web without editing any config file.

  1. In Claude, open Customize → Connectors.
  2. Click +, then Add custom connector.
  3. Enter a name, e.g. Netlify, and the remote MCP server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID, then click Add.
  4. Click Connect and sign in to AnythingMCP (OAuth) to allow access.

All tools below appear in your chat: start typing prompts.

Available tools

ToolWhat it does
netlify_get_current_userGet the Netlify user the personal access token belongs to: id, name, email, number of sites and last login
netlify_list_accountsList the Netlify teams (accounts) the user belongs to: id, name, slug, plan type and the user's roles
netlify_list_sitesList sites (projects): id, name, URL, custom domain, team, connected repository and branch, build command and the currently published deploy
netlify_get_siteGet one site: URL, custom domain and aliases, state, plan, team, repository, branch, build command, publish folder and the published deploy
netlify_list_deploysList a site's deploys, newest first: id, state (ready, building, error, ...), context (production, deploy-preview, branch-deploy), branch…
netlify_get_deployGet one deploy by id: state, context, branch, commit, title, error message, URLs, lock state and times
netlify_list_buildsList a site's builds, newest first: id, deploy id, commit sha, whether it is done, error text and time
netlify_get_buildGet one build: deploy id, commit sha, whether it is done, error text and time
netlify_list_build_hooksList a site's build hooks: id, title and branch
netlify_list_functionsList the serverless functions deployed for a site, with the deploy and branch they belong to
netlify_list_formsList the forms Netlify detected on a site: id, name, the pages they are on, number of submissions and their fields
netlify_list_form_submissionsList the submissions of one form, newest first: number, time, name, email, company, summary and all submitted fields
netlify_list_env_varsList a site's environment variables: key, scopes (builds, functions, runtime, post-processing), whether it is marked secret, the deploy…
netlify_get_env_var_valueRead the values of ONE environment variable per deploy context
netlify_list_dns_zonesList the DNS zones managed by Netlify DNS: id, domain name, team, linked site and the Netlify name servers
netlify_list_dns_recordsList the records of a Netlify DNS zone: id, hostname, type (A, AAAA, CNAME, MX, TXT, NETLIFY ...), value, TTL, priority and whether Netlify…
netlify_trigger_buildStart a new build and deploy of a site from its connected repository, optionally for another branch or with a cleared cache
netlify_restore_deployPublish an earlier deploy to the live site again (Netlify's Publish deploy)
netlify_rollback_siteRoll the live site back to the deploy that was published before the current one
netlify_lock_deployLock a published deploy: auto publishing stops, so new builds are deployed but not published until it is unlocked
netlify_unlock_deployUnlock a locked deploy so auto publishing resumes; the next successful production build goes live
netlify_cancel_deployCancel a deploy that is still building or processing; it will not be published
netlify_delete_form_submissionDelete one form submission for good

Example prompts

  • "Which of our Netlify sites had a failed deploy this week, and what was the error message?"
  • "The last production deploy of the shop site broke checkout. Roll it back to the previous version, but show me which deploy goes live first."
  • "Retry the failed build of the docs site on the main branch with a cleared cache. Ask me before you start it."
  • "Show me the latest 20 submissions of the contact form on our marketing site, with name, email and message."
  • "Which environment variables does the shop site have in production, and which of them are marked secret?"

FAQ

Does it work with Claude Code as well as Claude Desktop? Yes, point both at https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID.

Next steps

Was this guide helpful?

Your Netlify agent is one click away.

Install the connector, paste the key, prompt Claude. Free for 7 days, no credit card.

Related guides

Connectors

How to Connect Netlify to ChatGPT via MCP

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.

Connectors

How to Connect Netlify to Cursor via MCP

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.

Connectors

How to Connect Netlify to Gemini via MCP

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.

Connectors

How to Connect Netlify to Meta Muse via MCP

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.

Connectors

Netlify to MCP: Deploys, Builds and Forms in any AI Agent

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.

Connectors

How to Connect Avito to Claude via MCP

Let your AI work with your Avito business account: list your ads and change their prices, read views, contacts and calls statistics, check autoload uploads and their errors, the feed format and your wallet, and read Avito Messenger chats. Sending messages and changing autoload settings are optional and off by default.