Netlify MCP Server
Provides tools for creating and managing Netlify projects, deploying applications, modifying access controls, installing extensions, managing form submissions, and configuring environment variables and secrets through the Netlify API and CLI.
Supported as an MCP client that can connect to the Netlify MCP Server to perform Netlify operations using natural language.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Netlify MCP Server deploy my latest commit to production"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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:
Windsurf
Cursor
Claude
Copilot (VSCode)
Cline
Warp
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 --versionA 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
If you run into authentication issues, you can temporarily add a Netlify Personal Access Token (PAT) to your MCP configuration:
{
"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)
In the Netlify dashboard, select your user icon.
Go to User settings > OAuth > New access token.
Copy your token and add it (temporarily) to your MCP config as above.
Restart or refresh your MCP client.
Resources
Available Tools
6 toolsget-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
Scored across 6 tools
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.
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.
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.
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
Gives AI agents direct access to your Sanity projects and guidance for working with them
Deploy apps from GitHub, read build/runtime logs, and manage your app's users from your AI agent.
Deploy and manage Jade Hosting projects from AI clients. Jade account and OAuth required.
Git-backed platform for skills, tools, and context for AI agents
Related MCP Servers
- AlicenseBqualityDmaintenanceA 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.4MIT
- FlicenseNot gradedqualityNot gradedmaintenanceA 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.-
- AlicenseNot gradedqualityDmaintenanceA 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.ISC
- AlicenseNot gradedqualityDmaintenanceA 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.ISC