MCP Directory

Netlify MCP Server

Official

Netlify's official server to create, build, deploy, and manage Netlify sites from your agent.

Verified
stdio (local)
API key
TypeScript

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
npx -y @netlify/mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "netlify-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@netlify/mcp"
      ],
      "env": {
        "NETLIFY_PERSONAL_ACCESS_TOKEN": "<your-netlify-pat>"
      }
    }
  }
}

Before you start

  • Node.js 22 or higher (check with `node --version`)
  • An active Netlify account
  • An MCP-compatible client (Claude, Cursor, Windsurf, VS Code Copilot, Cline, Warp, LM Studio, etc.)
  • Optional: the Netlify CLI installed globally (`npm install -g netlify-cli`)
  • If browser-based auth doesn't work, a Netlify Personal Access Token (PAT) created under User settings > OAuth > New access token, supplied as NETLIFY_PERSONAL_ACCESS_TOKEN

About Netlify MCP Server

The Netlify MCP Server is Netlify's official MCP server, published on npm as @netlify/mcp. It lets AI code agents drive the Netlify platform with natural language — creating projects, building and deploying sites, managing environment variables and secrets, forms, access controls, and Netlify extensions — by wrapping the Netlify API and CLI behind a small set of MCP tools.

It runs locally over stdio and is launched with npx -y @netlify/mcp, so there's nothing to install or self-host beyond Node. It works with most MCP clients including Claude, Cursor, Windsurf, VS Code Copilot, Cline, Warp, and LM Studio.

A notable tool is get-netlify-coding-context, which the docs recommend calling first for any code-related operation so the agent has accurate, up-to-date Netlify conventions before generating or deploying code.

Tools & capabilities (5)

get-netlify-coding-context

Returns Netlify-specific coding context; recommended before any code-related operation

netlify-user-services

Fetch user and team account information

netlify-project-services

Full project lifecycle: create/manage projects, env vars and secrets, forms, and visitor access controls

netlify-deploy-services

Build, deploy, and retrieve deployment information for sites

netlify-extension-services

Install/uninstall Netlify extensions and initialize related services such as databases

When to use it

  • Use it when you want an agent to deploy the current project to Netlify directly from your editor
  • Use it when you need to create or update environment variables and secrets without leaving chat
  • Use it when managing form submissions or visitor access controls on a Netlify site
  • Use it when you want to install or configure a Netlify extension (e.g. a database) via prompt
  • Use it when an agent should fetch your team/site info to scope where it deploys

Quick setup

  1. 1Confirm Node.js 22+ is installed
  2. 2Add the server to your MCP client config: command `npx`, args `["-y", "@netlify/mcp"]`
  3. 3Authenticate via the browser flow when prompted, or set NETLIFY_PERSONAL_ACCESS_TOKEN in the config env for headless use
  4. 4Restart the MCP client so it picks up the server
  5. 5Verify by prompting the agent to list your Netlify sites or team info
  6. 6Have the agent call get-netlify-coding-context before generating or deploying code

Security notes

A Netlify Personal Access Token grants full control over your sites including deploys and environment variables, so treat it like a password and scope the account appropriately. Deploys triggered by the agent affect live production sites.

Netlify MCP Server FAQ

How does authentication work?

The server uses browser-based Netlify auth by default. If that fails or you need headless operation, generate a Personal Access Token (User settings > OAuth > New access token) and pass it as NETLIFY_PERSONAL_ACCESS_TOKEN — but never commit it.

Which Node version do I need?

Node.js 22 or higher. Older versions are not supported; check with `node --version`.

Do I need the Netlify CLI installed?

Not strictly — `npx -y @netlify/mcp` fetches and runs the server on demand. Installing netlify-cli globally is optional and can help some workflows.

Which clients are supported?

Any MCP-compatible client over stdio, including Claude, Cursor, Windsurf, VS Code Copilot, Cline, Warp, and LM Studio. One-click installers exist for Cursor, VS Code, and LM Studio.

Is it free?

The server is free and open source (ISC). Usage is bounded by your Netlify account plan and its build/deploy limits.

Alternatives to Netlify MCP Server

GitHub's official server for repos, issues, PRs, and Actions — local Docker or hosted remote.

Featured
Verified
stdio (local)
API key
Go
7 tools
Updated 3 days agoRepo

Official AWS Labs server that lets agents call any AWS API via the AWS CLI surface.

Verified
stdio (local)
API key
Python
3 tools
Updated 5 days agoRepo

Grafana's official server for dashboards, Prometheus/Loki queries, alerts, and incidents.

Verified
stdio (local)
API key
Go
18 tools
Updated 6 days agoRepo