Netlify MCP server

Connect Netlify to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Netlify MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the get site tool in Netlify
  • Use the create snippet tool in Netlify
  • Use the get deploy tool in Netlify
  • Use the update notification hook tool in Netlify
  • Use the list environment variables tool in Netlify
  • Use the toggle split test tool in Netlify

Supported Tools

get_site

Get Site

Retrieve detailed information about a specific Netlify site, including build settings, repository configuration, deploy settings, and domain information.

create_snippet

Create Snippet

Add a JavaScript or HTML snippet to a Netlify site. Snippets can be injected into the head or footer of all pages, and optionally into form thank-you pages.

get_deploy

Get Deploy

Get detailed information about a specific deploy, including its state, URL, commit information, and error details if applicable.

update_hook

Update Notification Hook

Update an existing notification hook. Modify the event type, hook data, or enable/disable the hook.

list_env_vars

List Environment Variables

List all environment variables for a Netlify account. Optionally filter by a specific site. Shows values per deploy context.

toggle_split_test

Toggle Split Test

Enable or disable a split test on a Netlify site.

create_hook

Create Notification Hook

Create a new notification hook on a Netlify site. Configure webhooks (URL), email, or Slack notifications for deploy and form submission events.

create_site

Create Site

Create a new Netlify site. Optionally link it to a Git repository and configure build settings. The site can be created under a specific team account.

list_split_tests

List Split Tests

List all A/B split tests for a Netlify site. Shows traffic distribution across branches and active status.

manage_deploy

Manage Deploy

Perform actions on a deploy: cancel a running build, lock/unlock auto-publishing, restore a previous deploy, or delete a deploy.

update_split_test

Update Split Test

Update the branch traffic distribution of an existing split test.

purge_cache

Purge CDN Cache

Purge cached content from Netlify's CDN for a site. Optionally limit the purge to specific cache tags.

create_split_test

Create Split Test

Create a new A/B split test for a Netlify site. Define traffic distribution across branches.

list_forms

List Forms

List all forms for a Netlify site. Returns form metadata including submission count and creation date.

list_accounts

List Accounts

List all Netlify accounts/teams accessible by the authenticated user. Returns account IDs and slugs needed for other operations like managing environment variables and DNS zones.

delete_site

Delete Site

Permanently delete a Netlify site. This action cannot be undone and will remove the site, all deploys, and associated resources.

delete_form_submission

Delete Form Submission

Delete a specific form submission by its ID.

list_hooks

List Notification Hooks

List all notification hooks configured for a Netlify site. Hooks can be webhooks, email notifications, or Slack messages triggered by deploy or form submission events.

list_snippets

List Snippets

List all JavaScript/HTML code snippets injected into a Netlify site's pages. Shows both general page snippets and form thank-you page snippets.

delete_env_var

Delete Environment Variable

Delete an environment variable from a Netlify account. Optionally scope to a specific site.

update_site

Update Site

Update configuration of an existing Netlify site. Modify site name, custom domain, build settings, and repository linking.

delete_snippet

Delete Snippet

Remove a code snippet from a Netlify site.

set_env_vars

Set Environment Variables

Create or update environment variables for a Netlify account. Variables can have different values per deploy context (production, deploy-preview, branch-deploy, dev). If a variable already exists, it will be fully replaced.

list_deploys

List Deploys

List deploys for a Netlify site. Returns deploy history with state, branch, and commit information. Supports pagination.

manage_dns_records

Manage DNS Records

List, create, or delete DNS records within a Netlify DNS zone. Supports A, AAAA, CNAME, MX, TXT, NS, and other record types.

manage_dns_zone

Manage DNS Zone

Create or delete a Netlify DNS zone. Use this to set up DNS management for a domain.

list_sites

List Sites

List all Netlify sites accessible by the authenticated user. Supports filtering and pagination to browse through large numbers of sites.

list_form_submissions

List Form Submissions

List form submissions for a specific form or all forms on a site. Returns submission data, timestamps, and sender information.

delete_hook

Delete Notification Hook

Permanently delete a notification hook from a Netlify site.

list_dns_zones

List DNS Zones

List all DNS zones managed by Netlify DNS. Optionally filter by account slug.

update_snippet

Update Snippet

Update an existing code snippet on a Netlify site. Modify the title, code content, or injection position.

manage_form_submission_state

Manage Form Submission State

Mark a Netlify form submission as spam or verified (ham).

manage_site_files

Manage Site Files

List deployed files for a Netlify site or get metadata for a specific deployed file path.

manage_build_hooks

Manage Build Hooks

List, get, create, update, or delete Netlify build hooks for a site. Build hooks provide trigger URLs for starting site builds.

manage_site_metadata

Manage Site Metadata

Get or replace custom metadata for a Netlify site. Metadata is an arbitrary JSON object stored with the site.

get_form_submission

Get Form Submission

Get a specific Netlify form submission by ID, including submitted fields and sender metadata.

list_hook_types

List Notification Hook Types

List Netlify notification hook types, required fields, and events supported for creating hooks.

manage_builds

Manage Builds

List builds for a Netlify site, get a build by ID, or trigger a new build for a site.

Connect Netlify to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Netlify in Metorial. In your Metorial portal, enable the Netlify MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Netlify tools.

Run Netlify through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Netlify and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Netlify tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Netlify

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs.

Technical notes for Netlify

Manage web application sites, deploys, builds, build hooks, deployed files, metadata, and hosting on Netlify. Create, update, configure, list, and delete sites. Manage environment variables with per-context values and scopes. Access and manage form submissions, including spam filtering. Configure DNS zones and records. Inject JavaScript or HTML snippets into site pages. Create and manage split tests (A/B testing) for traffic routing between branches. Set up notification hooks for deploy and form submission events. Purge CDN cached content by site or cache tag.

Frequently asked questions

Common questions about connecting Netlify to AI agents with Metorial.

  1. How many tools does the Netlify MCP server have?
    The Netlify MCP server exposes 38 tools, including Get Site, Create Snippet, Get Deploy. Each one is governed and traced through Metorial.
  2. Netlify exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Netlify MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Netlify and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Netlify MCP server yourself or use the hosted gateway.

Connect Netlify to production AI agents

See how Metorial gives your team governed access to Netlify, with tracing and security controls built in.