Skip to main content
Glama

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: Netlify MCP Server

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 on Cursor

Add MCP Server netlify to LM Studio

Install on VS Code

Install on VS Code Insiders Edition

Install on Goose

  • use the following link in your browser if link fails to render or open: goose://extension?cmd=npx&arg=-y&arg=%40netlify%2Fmcp&id=netlify&name=Netlify&description=Build%2C%20deploy%2C%20and%20manage%20sites%20with%20Netlify's%20official%20MCP%20server.

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

4 tools
netlify-coding-rulesB

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).

netlify-project-servicesC

Select and run one of the following Netlify 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).

netlify-team-servicesD

Select and run one of the following Netlify operations get-teams, get-team

Inputs: selectSchema (required).

netlify-user-servicesD

Select and run one of the following Netlify 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.2/5.0

    Scored across 4 tools

    Disambiguation3/5

    The three service tools (user, team, project) are distinct and target different resource types, but the netlify-coding-rules tool is confusing as it is a meta-instruction rather than an operation, potentially leading to misclassification.

    Naming Consistency3/5

    Three tools follow a 'netlify-X-services' pattern, but netlify-coding-rules breaks this pattern by using 'rules' instead of 'services', introducing inconsistency.

    Tool Count3/5

    With 4 tools, including one meta-tool, the count is slightly low for a platform like Netlify, but the bundling of many operations within the service tools compensates somewhat.

    Completeness2/5

    The set covers user, team, and project operations but lacks essential features like site management, deploys, and DNS, leaving significant gaps for typical Netlify workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      C
      quality
      Not graded
      maintenance
      Follows the Model Context Protocol to enable code agents to use Netlify API and CLI, allowing them to create, deploy, and manage Netlify resources using natural language prompts.
      6
      52,122 npm
      -
    • A
      license
      B
      quality
      B
      maintenance
      Enables code agents to interact with Netlify services through the Model Context Protocol, allowing them to create, build, deploy, and manage Netlify resources using natural language prompts.
      10
      52,122 npm
      71
      ISC