Netlify MCP Server
OfficialNetlify MCP Server enables AI agents to use Netlify through MCP for project creation, deployment, and resource management via natural language prompts.
Get coding rules and guidance for Netlify/serverless development.
Read user, team, project, deploy, extension, and form data.
Create and deploy projects, and update project names, visitor access controls, forms, form submissions, and environment variables/secrets.
Install or uninstall Netlify extensions.
Query observability counts, rankings, timeseries, request logs, and request details.
Support authentication via Netlify OAuth and optional Personal Access Token troubleshooting.
Enables creating, managing, and deploying Netlify projects, modifying access controls, installing or uninstalling Netlify extensions, fetching user and team information, managing form submissions, and handling environment variables and secrets.
Supports Warp as an MCP client for interacting with the Netlify API and CLI through natural language prompts.
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
LM Studio
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:
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
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.
Deployment card (hosted MCP)
Ask an MCP Apps-compatible client: “Show recent deployments for my project.”
The netlify-open-deployments tool takes a siteId (and optional deployId) and
shows up to five matching deploys with status, branch, labeled creation time,
errors, and links, plus the project's team and its dashboard link. Filter the
project list by status. Tools also accept status; filtering is applied by Netlify
before limiting the results. Filters do not apply to a specific deployId. The card
refreshes every five seconds while a displayed deploy is active and stops when
they finish or after 15 minutes, including time spent hidden. The Refresh button
checks again manually and starts a new 15-minute window for automatic updates.
Applying filters also starts a new window.
Clients without MCP Apps support receive a text summary.
This uses the existing Netlify OAuth connection and adds no environment variables or frontend build step. After deploying, refresh the client's MCP tool catalog. This first version does not include build logs or multi-project lookup; use the card's Open in Netlify link for full build details.
To smoke-test in ChatGPT, connect a deployed preview's /mcp endpoint, open a
project with a running deploy, and verify the card updates through completion.
Also check an empty project, a failed deploy, and the text fallback in a client
without MCP Apps support.
Resources
Available Tools
10 toolsnetlify-coding-rulesBRead-onlyIdempotent
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), reference.
netlify-deploy-services-readerCRead-onlyIdempotent
Select and run one of the following Netlify read operations (read-only) get-deploy, get-deploy-for-site
Inputs: selectSchema (required).
netlify-deploy-services-updaterCDestructive
Select and run one of the following Netlify write operations deploy-site
Inputs: selectSchema (required).
netlify-extension-services-readerCRead-onlyIdempotent
Select and run one of the following Netlify read operations (read-only) get-extensions, get-full-extension-details, initialize-database
Inputs: selectSchema (required).
netlify-extension-services-updaterCDestructiveIdempotent
Select and run one of the following Netlify write operations change-extension-installation
Inputs: selectSchema (required).
netlify-observability-services-readerBRead-onlyIdempotent
Select and run one of the following Netlify read operations (read-only) get-counts, get-topk, get-timeseries, get-request-logs, get-request-detail
Inputs: selectSchema (required).
netlify-project-services-readerCRead-onlyIdempotent
Select and run one of the following Netlify read operations (read-only) get-project, get-projects, get-forms-for-project
Inputs: selectSchema (required).
netlify-project-services-updaterCDestructive
Select and run one of the following Netlify write operations update-visitor-access-controls, update-forms, manage-form-submissions, update-project-name, manage-env-vars, create-new-project
Inputs: selectSchema (required).
netlify-team-services-readerCRead-onlyIdempotent
Select and run one of the following Netlify read operations (read-only) get-teams, get-team, get-team-env-vars
Inputs: selectSchema (required).
netlify-user-services-readerCRead-onlyIdempotent
Select and run one of the following Netlify read operations (read-only) 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 10 tools
Tools follow a clear domain×read/updater pattern (deploy, extension, observability, project, team, user), so an agent can usually pick the right tool and then the operation. Minor ambiguity exists where write-like operations appear in reader tools (initialize-database in netlify-extension-services-reader) and where env var work straddles project-updater and team-reader, but overall boundaries are clear.
Nine of ten tools follow the predictable netlify-{domain}-services-{reader|updater} convention, which is highly consistent. The odd one out is netlify-coding-rules, a guidance tool that breaks the pattern in both shape and purpose.
Ten tools is well within the ideal range and each domain (deploy, extension, observability, project, team, user) earns a read/updater pairing. Grouping many operations behind a few multiplexed tools keeps the count lean without thin coverage.
The read/write split covers most major Netlify domains and the observability and deploy reads are fairly rich. Gaps exist: no team or user write tools, no delete operations (project, env var, deploy cancel/rollback), and deploy writes are limited to deploy-site, but agents can work around these for core workflows.
Maintenance
Related MCP Connectors
Deploy apps from GitHub, read build/runtime logs, and manage your app's users from your AI agent.
Gives AI agents direct access to your Sanity projects and guidance for working with them
Deploy and manage your apps, databases, storage, and scheduled jobs from your AI agent
Deploy AI-generated HTML/CSS/JS to instant public HTTPS URLs from any MCP-compatible agent.
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.-
- -licenseCqualityNot gradedmaintenanceFollows 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.666,914 npm-
- AlicenseCqualityDmaintenanceEnables AI agents to create, deploy, and manage Netlify projects and resources using natural language via the Netlify API and CLI.6ISC