Netlify MCP Server

Netlify MCP Server

This is an MCP server that can be used with Netlify

DynamicEndpoints

Cloud Platforms
Developer Tools
Local
JavaScript
Visit Server

Tools

deploy-site

Deploy a site to Netlify

list-sites

List all Netlify sites

set-env-vars

Set environment variables for a site

get-deploy-status

Get deployment status for a site

add-dns-record

Add a DNS record to a site

deploy-function

Deploy a serverless function

manage-form

Manage form submissions

manage-plugin

Manage site plugins

manage-hook

Manage webhook notifications

README

Netlify MCP Server

smithery badge

A Model Context Protocol server that provides comprehensive tools for working with Netlify through their CLI. This server enables deploying sites, managing deployments, handling environment variables, DNS settings, serverless functions, forms, plugins, and webhooks.

<a href="https://glama.ai/mcp/servers/rmzusviqom"> <img width="380" height="200" src="https://glama.ai/mcp/servers/rmzusviqom/badge" alt="Netlify Server MCP server" /> </a>

Features

  • Deploy and manage sites
  • Configure DNS settings
  • Deploy serverless functions
  • Manage form submissions
  • Handle environment variables
  • Install and configure plugins
  • Set up webhook notifications
  • Comprehensive error handling
  • Type-safe parameter validation

Installation

Installing via Smithery

To install Netlify MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @DynamicEndpoints/Netlify-MCP-Server --client claude

Manual Installation

  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Install Netlify CLI globally:
npm install -g netlify-cli
  1. Authenticate with Netlify:
netlify login

This will open a browser window for authentication. After authenticating, the CLI will store your token locally.

Configuration

Add to your MCP settings file (location varies by platform):

{
  "mcpServers": {
    "netlify": {
      "command": "node",
      "args": ["path/to/netlify-server/build/index.js"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Settings file locations:

  • Windows: %APPDATA%/Windsurf/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/claude/settings.json

Available Tools

Site Management

deploy-site

Deploy a site to Netlify

{
  "path": "path/to/site",        // Required: Path to the site directory
  "prod": false,                 // Optional: Deploy to production
  "message": "New deployment"    // Optional: Deploy message
}

list-sites

List all Netlify sites

// No parameters required

get-deploy-status

Get deployment status for a site

{
  "siteId": "your-site-id",     // Required: Site ID or name
  "deployId": "deploy-id"       // Optional: Specific deployment ID
}

DNS Management

add-dns-record

Add a DNS record to a site

{
  "siteId": "your-site-id",     // Required: Site ID or name
  "domain": "example.com",      // Required: Domain name
  "type": "A",                  // Required: Record type (A, AAAA, CNAME, MX, TXT, NS)
  "value": "192.0.2.1",        // Required: Record value
  "ttl": 3600                  // Optional: Time to live in seconds
}

Serverless Functions

deploy-function

Deploy a serverless function

{
  "path": "path/to/function",   // Required: Path to the function file
  "name": "my-function",        // Required: Function name
  "runtime": "nodejs"           // Optional: Function runtime
}

Form Management

manage-form

Manage form submissions

{
  "siteId": "your-site-id",     // Required: Site ID or name
  "formId": "form-id",          // Required: Form ID
  "action": "enable"            // Required: Action (enable, disable, delete)
}

Plugin Management

manage-plugin

Manage site plugins

{
  "siteId": "your-site-id",     // Required: Site ID or name
  "pluginId": "plugin-id",      // Required: Plugin ID
  "action": "install",          // Required: Action (install, uninstall, update)
  "config": {                   // Optional: Plugin configuration
    "setting": "value"
  }
}

Environment Variables

set-env-vars

Set environment variables for a site

{
  "siteId": "your-site-id",     // Required: Site ID or name
  "envVars": {                  // Required: Environment variables
    "API_KEY": "your-api-key",
    "DEBUG": "false"
  }
}

Webhook Management

manage-hook

Manage webhook notifications

{
  "siteId": "your-site-id",     // Required: Site ID or name
  "event": "deploy-succeeded",  // Required: Event type
  "url": "https://example.com", // Required: Webhook URL
  "action": "create"            // Required: Action (create, delete, update)
}

Error Handling

The server provides detailed error messages for:

  • Authentication failures
  • Invalid site IDs
  • Deployment failures
  • Network connectivity issues
  • Invalid parameter types
  • DNS configuration errors
  • Function deployment issues
  • Plugin installation problems
  • Webhook configuration errors

Development

To modify the server:

  1. Update source code in src/index.ts
  2. Build with npm run build
  3. Test your changes by deploying a test site

Type Safety

The server uses Zod for runtime type validation of all parameters, ensuring:

  • Required parameters are provided
  • Parameters have correct types
  • Optional parameters are properly handled
  • Enum values are validated
  • Complex object structures are verified

Resources

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Excel MCP Server

Excel MCP Server

A Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.

Featured
Local
Go
Playwright MCP Server

Playwright MCP Server

Provides a server utilizing Model Context Protocol to enable human-like browser automation with Playwright, allowing control over browser actions such as navigation, element interaction, and scrolling.

Featured
Local
TypeScript
MCP Package Docs Server

MCP Package Docs Server

Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Apple MCP Server

Apple MCP Server

Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.

Featured
Local
TypeScript
contentful-mcp

contentful-mcp

Update, create, delete content, content-models and assets in your Contentful Space

Featured
TypeScript