Skip to main content
Glama

Netlify MCP Server

940

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:


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:

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

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

  1. Overview
    1. Use Cases
      1. Prerequisites
        1. MCP Configuration
          1. Troubleshooting
            1. Node Version
            2. Netlify authentication troubleshooting
          2. Generating a New Personal Access Token (PAT)
            1. Resources

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that allows management of Netlify sites, enabling users to create, list, get information about, and delete Netlify sites directly from an MCP-enabled environment.
                Last updated -
                4
                JavaScript
                MIT License
              • -
                security
                -
                license
                -
                quality
                A basic example of developing and running serverless Model Context Protocol (MCP) using Netlify Functions, enabling AI agents to interact with your services via a standardized API.
                Last updated -
              • -
                security
                -
                license
                -
                quality
                A basic example of developing and running serverless Model Context Protocol (MCP) using Netlify Functions, demonstrating how to deploy and access serverless functions with customized URLs.
                Last updated -
              • -
                security
                F
                license
                -
                quality
                A serverless implementation of the Model Context Protocol (MCP) that runs on Netlify Functions, allowing developers to build and deploy MCP-compatible services with minimal configuration.
                Last updated -

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/tharunkalluru/netlify-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server