Get the FREE Ultimate OpenClaw Setup Guide →

Netlify

MCP server from DynamicEndpoints/Netlify-MCP-Server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio dynamicendpoints-netlify-mcp-server node path/to/server.js \
  --env MCP_SDK_VERSION="v1.12.3" \
  --env NETLIFY_AUTH_TOKEN="your-netlify-auth-token" \
  --env NETLIFY_CLI_VERSION="22.1.3" \
  --env NETLIFY_SITE_API_TOKEN="optional-site-api-token"

How to use

This MCP server exposes Netlify's command-line capabilities via the MCP SDK, giving you access to 43 Netlify CLI tools through a unified interface. It covers areas such as deployments, site management, environment handling, blob storage, functions and edge functions, development tooling, recipes, analytics, forms, and account management. With real-time monitoring, API access, and advanced prompts, you can discover methods, run actions, and listen to live updates from Netlify resources all within a consistent MCP workflow. Use the available commands to list sites, deploy or trigger builds, manage environment variables, interact with Netlify blobs, manage functions, deploy and monitor builds, and access analytics and logs in real time. The AI-optimized workflow prompts provide ready-to-run templates for common Netlify workflows, such as deployment, environment setup, troubleshooting, and security/audit tasks, speeding up automation tasks and ensuring best practices are followed.

How to install

Prerequisites:

  • Node.js installed (recommended)
  • Access to a Netlify account with appropriate permissions
  • Optional: Netlify CLI installed or configured via environment

Step 1: Install dependencies (via npm)

npm install -g netlify-mcp-server

Step 2: Configure environment variables

  • Create a .env file or set environment variables in your hosting environment
NETLIFY_CLI_VERSION=22.1.3
MCP_SDK_VERSION=v1.12.3
NETLIFY_AUTH_TOKEN=your-netlify-auth-token
NETLIFY_SITE_API_TOKEN=optional-site-api-token

Step 3: Run the MCP server

node path/to/server.js

Step 4: Verify operation

  • Check logs for successful startup messages
  • Use the MCP client to connect to the server and enumerate available Netlify tools

Additional notes

Notes and tips:

  • Ensure your Netlify auth token has sufficient permissions for the actions you intend to perform (deployments, site management, and API access).
  • The server exposes real-time subscriptions; configure your client to handle live updates for deployments, logs, and analytics.
  • If you encounter SDK compatibility issues, verify MCP_SDK_VERSION and NETLIFY_CLI_VERSION align with the versions listed in the README.
  • For security, limit access to the MCP server to trusted networks and consider using short-lived tokens for authentication in production.
  • Use the AI-Optimized Workflow Prompts to quickly scaffold common Netlify tasks (deploy, environment setup, troubleshooting, analytics dashboards, etc.).

Related MCP Servers

Sponsor this space

Reach thousands of developers