Netlify
Summary
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.
Available Actions(15)
deploy-site
Deploy a site directory to Netlify. Parameters: path (string, required), prod (boolean, optional), message (string, optional)
list-sites
List all Netlify sites linked to your account. Parameters: {} (no parameters)
trigger-build
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)
build-site
Run a Netlify build locally (mimics Netlify build environment). Parameters: siteId (string, optional), context (string, optional), dry (boolean, optional)
link-site
Link the current project directory to a Netlify site (requires Site ID for non-interactive use). Parameters: siteId (string, required)
unlink-site
Unlink the current project directory from the associated Netlify site. Parameters: {} (no parameters)
get-status
Show the Netlify status for the linked site/directory. Parameters: {} (no parameters)
create-site
Create a new site on Netlify (non-interactively). Parameters: name (string, optional), accountSlug (string, optional)
delete-site
Delete a site from Netlify. Parameters: siteId (string, required), force (boolean, optional)
set-env-vars
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-env-var
Get the value of a specific environment variable. Parameters: siteId (string, optional), key (string, required), context (string, optional), scope (string, optional)
unset-env-var
Unset (delete) an environment variable. Parameters: siteId (string, optional), key (string, required), context (string, optional)
import-env
Import environment variables from a .env file. Parameters: siteId (string, required), filePath (string, required), replace (boolean, optional)
clone-env-vars
Clone environment variables from one site to another. Parameters: fromSiteId (string, required), toSiteId (string, required)
get-logs
View function logs. Site context is passed via NETLIFY_SITE_ID env var. Parameters: siteId (string, required), function (string, optional)
커뮤니티 리뷰
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요