This MCP server implementation provides comprehensive tools for working with Netlify through their CLI. Developed by DynamicEndpoints, it enables deploying sites, managing deployments, handling environment variables, DNS settings, serverless functions, forms, plugins, and webhooks. Built using TypeScript and integrating the Model Context Protocol SDK, the server focuses on secure API key management and robust error handling. It offers type-safe parameter validation using Zod and is designed for easy setup within various MCP environments. The implementation is particularly useful for AI applications that need to automate web deployment tasks, manage serverless architectures, or integrate continuous deployment workflows with Netlify's platform.
Deploy a site directory to Netlify. Parameters: path (string, required), prod (boolean, optional), message (string, optional)
List all Netlify sites linked to your account. Parameters: {} (no parameters)
Trigger a new build/deploy for a site. Site context is passed via NETLIFY_SITE_ID env var. Parameters: siteId (string, required), message (string, optional)
Run a Netlify build locally (mimics Netlify build environment). Site context is passed via NETLIFY_SITE_ID env var if siteId is provided. Parameters: siteId (string, optional), context (string, optional), dry (boolean, optional)
Link the current project directory to a Netlify site (requires Site ID for non-interactive use). Parameters: siteId (string, required)
Unlink the current project directory from the associated Netlify site. Parameters: {} (no parameters)
Show the Netlify status for the linked site/directory. Parameters: {} (no parameters)
Create a new site on Netlify (non-interactively). Parameters: name (string, optional), accountSlug (string, optional)
Delete a site from Netlify. Parameters: siteId (string, required), force (boolean, optional)
Set one or more environment variables for a site. Site context is passed via NETLIFY_SITE_ID env var. Parameters: siteId (string, required), envVars (object, required)
Get the value of a specific environment variable. Site context is passed via NETLIFY_SITE_ID env var if siteId is provided. Parameters: siteId (string, optional), key (string, required), context (string, optional), scope (string, optional)
Unset (delete) an environment variable. Site context is passed via NETLIFY_SITE_ID env var if siteId is provided. Parameters: siteId (string, optional), key (string, required), context (string, optional)
Import environment variables from a .env file. Site context is passed via NETLIFY_SITE_ID env var. Parameters: siteId (string, required), filePath (string, required), replace (boolean, optional)
Clone environment variables from one site to another. Requires source site to be linked or specified via NETLIFY_SITE_ID. Parameters: fromSiteId (string, required), toSiteId (string, required)
View function logs. Site context is passed via NETLIFY_SITE_ID env var. Parameters: siteId (string, required), function (string, optional)
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!