# Netlify MCP

> Netlify MCP connects your AI agent directly to Netlify's deployment system. Use this to manage everything from listing all sites and triggering new builds to checking deploy statuses, viewing form submissions, or retrieving user profile data—all without leaving your editor.

## Overview
- **Category:** loved-by-devs
- **Price:** Free
- **Tags:** web-hosting, deployment-automation, serverless-functions, build-pipelines, continuous-deployment

## Description

Managing web deployments usually means bouncing between the CLI, a dashboard, and Git logs. This MCP lets you treat Netlify like an internal service call. You can ask your AI agent to check if 'Company Blog' has finished deploying its latest build or retrieve all form submissions from your contact page—all in natural language. It acts as a central control panel for continuous deployment workflows.

Whether you need to list every domain associated with your account, trigger a full site rebuild, or pull specific user data for verification, the agent handles it. This means the complex choreography of modern web hosting is exposed through simple chat commands. Because Vinkius hosts this MCP, you connect once from any compatible client and get immediate access to these critical Netlify tools.

## Tools

### get_deploy
Retrieves the specific details of a single deployment run.

### get_site
Gets detailed information about one particular Netlify project site.

### get_user
Fetches the profile data for a user who is logged into the account.

### list_domains
Provides an inventory of all DNS zones and domains linked to your Netlify account.

### list_builds
Lists the history of build processes for a specific site.

### list_deploys
Retrieves a list containing all deployment records for one particular site.

### list_form_submissions
Lists the submitted data from a specified form on a website.

### list_forms
Retrieves a list of all contact forms available for a given site.

### list_sites
Generates a comprehensive list of every web project hosted on Netlify.

### trigger_build
Starts an immediate, manual build process for a specified site.

## Prompt Examples

**Prompt:** 
```
List all my Netlify sites.
```

**Response:** 
```
I've retrieved your sites. You have 3 projects active: 'Portfolio V2' (ID: site_1), 'Company Blog' (ID: site_2), and 'E-commerce App' (ID: site_3).
```

**Prompt:** 
```
Trigger a new build for site site_1.
```

**Response:** 
```
Triggering the build for 'Portfolio V2'... Done! A new build process has started. You can monitor its progress using `list_builds`.
```

**Prompt:** 
```
Show the latest contact form submissions for site_2.
```

**Response:** 
```
Retrieving form submissions... I found 3 recent messages. Topics include 'Pricing Inquiry' from John and 'Technical Issue' from Sarah. Would you like to see the full content of these messages?
```

## Capabilities

### Inventory all sites and domains
Retrieve comprehensive lists of every web project and domain zone connected to your account.

### Monitor deployment history
Check the status and specific details of any past or current site deployment.

### Initiate builds on demand
Force a new build process to start for any specified Netlify site.

### Analyze user-generated content
List and examine submissions from forms across different sites for content review or data logging.

### Verify account identity
Get specific profile details for an authenticated Netlify user.

## Use Cases

### The site needs a fresh build after a dependency update.
A developer realizes a new library requires the 'Company Blog' to rebuild. Instead of going to Netlify and clicking 'Trigger Build', they just tell their agent, 'Run `trigger_build` for site_2.' The process starts instantly, and they get confirmation.

### Investigating a spike in contact form inquiries.
A content team member notices pricing questions spiking. They ask the agent to run `list_forms`, identify the relevant form, and then use `list_form_submissions` to pull the last 20 entries for manual review.

### Troubleshooting an unknown deployment failure.
A DevOps engineer is notified of a broken site. They first run `list_deploys` to see all recent versions, pinpoint the exact failed deploy ID using `get_deploy`, and then troubleshoot the specific build logs.

### Verifying permissions for an external integration.
A system administrator needs to confirm if a user exists in Netlify's system before granting access. They ask the agent to run `get_user` with the email address, getting immediate confirmation of their profile status.

## Benefits

- Stop context switching. Instead of visiting the Netlify dashboard to check site health, you ask your agent for `list_sites` or `get_site` details, and the answer appears instantly in your workflow tool.
- Accelerate debugging by running manual builds on demand. If a change breaks production, simply use `trigger_build` through your AI client instead of navigating to the build tab and clicking the button.
- Centralize content feedback. You can get recent user insights by first listing all forms (`list_forms`) and then pulling submissions using `list_form_submissions`, keeping all data flow within one chat session.
- Audit deployments easily. Instead of digging through logs, you can ask for a list of deploys via `list_deploys` to see exactly when certain versions went live and who triggered them.
- Verify user accounts immediately. Need to know if the person submitting form data is valid? Use `get_user` to pull authenticated profile information before proceeding.

## How It Works

The bottom line is that you get Netlify's entire API surface wrapped up in conversational commands.

1. Subscribe to this MCP and enter your Netlify Personal Access Token.
2. Your AI client authenticates the connection, giving the agent permission to interact with your sites.
3. You simply ask your agent to perform an action, like 'What's the status of site_2?' or 'Trigger a build for my portfolio'.

## Frequently Asked Questions

**How do I list all my Netlify sites using the Netlify MCP?**
You use `list_sites`. This tool runs a single command and returns a clean, comprehensive inventory of every web project hosted on your account.

**Can the Netlify MCP trigger an automatic build for my site?**
Yes. The `trigger_build` tool allows you to manually start a new build process for any specified site instantly, bypassing manual dashboard clicks.

**What is the difference between list_deploys and list_builds in Netlify MCP?**
There's a difference in scope. `list_builds` shows the compile process history (the steps taken), while `list_deploys` tracks the actual deployment events to live sites.

**Can I use Netlify MCP to find out what domains are connected?**
Absolutely. The `list_domains` tool gives you a full list of all DNS zones and custom domains managed under your account for cross-referencing.

**Does the Netlify MCP help me review user feedback from forms?**
Yes. You can first use `list_forms` to see what forms exist, then run `list_form_submissions` on a specific form to pull recent user-generated content.

**Is the Netlify MCP only for developers?**
No. While it has dev tools, non-technical users can leverage it too. For example, content managers use `list_form_submissions` to track customer interest and feedback.