Skip to main content
Glama
Netlify MCP Server

Netlify MCP Server

Netlify MCP Server

Netlify MCP Server follows the Model Context Protocol (MCP) to enable code agents to use the Netlify API and CLI—so they can create new projects, build, deploy, and manage your Netlify resources using natural language prompts.


Overview

The Model Context Protocol is an emerging standard protocol for connecting code agents with MCP servers, allowing them to manage resources and perform tasks using natural language. The Netlify MCP Server acts as a bridge, providing API access, CLI tools, prompts, and more for your agents.

You can connect to the Netlify MCP Server using a variety of MCP clients, including:


Related MCP server: NetlifyMCPServer

Use Cases

With Netlify MCP Server, your AI agents can:

  • Create, manage, and deploy Netlify projects

  • Modify access controls for enhanced project security

  • Install or uninstall Netlify extensions

  • Fetch user and team information

  • Enable and manage form submissions

  • Create and manage environment variables and secrets

  • and more...


Prerequisites

  • Node.js 22 or higher Check with node --version

  • A Netlify account

  • An MCP client (e.g., Windsurf, Cursor, Claude, Copilot)

Tip: Install the Netlify CLI globally for the best experience: npm install -g netlify-cli


MCP Configuration

For the production MCP server, use the following configuration:

Editors with one-click install:

Install MCP Server

Configuration for MCP config files:

{
  "mcpServers": {
    "netlify": {
      "command": "npx",
      "args": [
        "-y",
        "@netlify/mcp"
      ]
    }
  }
}

For local development, see Set up local MCP configuration.


Troubleshooting

Node Version

  • Use Node.js 22 or higher for best results.

  • If you use nvm, run:

    nvm install 22
    nvm use 22

Netlify authentication troubleshooting

{
  "mcpServers": {
    "netlify-mcp": {
      "command": "npx",
      "args": ["-y", "@netlify/mcp"],
      "env": {
        "NETLIFY_PERSONAL_ACCESS_TOKEN": "YOUR-PAT-VALUE"
      }
    }
  }
}

Do not commit your PAT to your repository! Once resolved, remove your PAT from the config.


Generating a New Personal Access Token (PAT)

  1. In the Netlify dashboard, select your user icon.

  2. Go to User settings > OAuth > New access token.

  3. Copy your token and add it (temporarily) to your MCP config as above.

  4. Restart or refresh your MCP client.


Resources

Available Tools

6 tools
get-netlify-coding-contextB

ALWAYS call when writing serverless or Netlify code. required step before creating or editing any type of functions, Netlify sdk/library usage, etc.

Inputs: creationType (required).

ntl-deploy-operationsC

Run one of the following operations get-deploy, get-deploy-for-site, deploy-site

Inputs: selectSchema (required).

ntl-extension-operationsD

Run one of the following operations change-extension-installation, get-extensions, get-full-extension-details, initialize-database

Inputs: selectSchema (required).

ntl-project-operationsD

Run one of the following operations get-project, get-projects, update-visitor-access-controls, update-forms, get-forms-for-project, manage-form-submissions, update-project-name, manage-env-vars, create-new-project

Inputs: selectSchema (required).

ntl-team-operationsC

Run one of the following operations get-teams, get-team

Inputs: selectSchema (required).

ntl-user-operationsD

Run one of the following operations get-user

Inputs: selectSchema (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.4/5.0

    Scored across 6 tools

    Disambiguation3/5

    The tools are grouped by resource type (deploy, extension, project, team, user), which provides some clarity, but the grouping approach creates ambiguity within each tool. For example, 'ntl-project-operations' bundles 9 different operations under one tool name, making it impossible for an agent to distinguish between them without reading the description. This forces the agent to parse the description to understand available actions, rather than having distinct tools for each operation.

    Naming Consistency4/5

    Most tools follow a consistent 'ntl-[resource]-operations' pattern (e.g., ntl-deploy-operations, ntl-project-operations), which is predictable. However, 'get-netlify-coding-context' deviates from this pattern, using a verb-noun format instead. This minor inconsistency reduces the overall naming coherence, but the majority of tools adhere to a clear convention.

    Tool Count4/5

    With 6 tools, the count is reasonable for a Netlify server, covering key areas like deployments, extensions, projects, teams, and users. It's slightly lean given the bundled operations, but each tool represents a logical domain, making the scope manageable. A few more tools could provide better granularity, but this is not a significant issue.

    Completeness3/5

    The server covers core Netlify domains (deployments, projects, teams, users, extensions) but has notable gaps. For example, there are no tools for creating or deleting deployments, managing site settings, or handling build operations. The bundled operations within tools suggest some coverage, but the surface is incomplete for full lifecycle management, which may cause agent failures in complex workflows.

    Related MCP Connectors

    Related MCP Servers