# Netlify MCP for AI Agents AI Agent Connect

> Netlify MCP. Manage sites, track deploys, and handle form data through your AI client. It lets your agent act like a DevOps engineer, handling production builds and environment configs without the manual clicks.

## Overview
- **Category:** loved-by-devs
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_K3Yjlu31WhdaVxypUbeEJyX3i8VARvylbanIYm2n/ai-agent-connect
- **Tags:** web-deployment, serverless-functions, build-automation, site-management, form-processing, ci-cd

## Description

Stop wasting time clicking through hosting dashboards to check on your builds. You can let your AI agent handle the heavy lifting of your web infrastructure instead. Instead of jumping between tabs to see if a production build finished or hunting for a specific environment variable, you just tell your agent what needs to happen. It can look up your active sites, grab metadata, and pull up deployment logs instantly. If you need to trigger a new build or check recent form submissions from your users, the agent handles the handshake for you. It's about moving from manual dashboard navigation to just asking for the status of your web projects. Having this in your Vinkius catalog means you can keep your focus on shipping features while your agent handles the routine maintenance of your hosting environment.

## Tools

### list_forms
See a list of all active forms on your sites. Use it to keep track of where you're collecting user data.

### list_build_hooks
See all your configured build hooks. This lets you understand how your CI/CD pipeline is wired up.

### list_sites
See every site in your Netlify account. Use this to get a high-level view of your entire portfolio.

### list_form_submissions
See recent form entries from your users. It's great for quickly reviewing leads or user feedback.

### trigger_site_build
Start a new production build for a site. Use this to push updates without visiting the Netlify dashboard.

### get_deploy_details
Get the specific details for a single deployment. This helps you see exactly what happened during a specific build.

### get_site_details
Pull metadata for a specific site. Use this to find production URLs and basic site info quickly.

### list_deploys
See the full history of deployments for a site. It's the easiest way to audit past production pushes.

### list_env_vars
See all environment variables for your accounts or sites. This is perfect for catching configuration drift.

## Prompt Examples

**Prompt:** 
```
List all the sites in my Netlify account.
```

**Response:** 
```
Retrieving your site directory... You currently have 5 active sites, including 'marketing-landing' and 'docs-portal'. Would you like to check the latest deploy status for any of them?
```

**Prompt:** 
```
Show the last 5 deploys for site 'marketing-landing'.
```

**Response:** 
```
Fetching deploy history... The most recent deploy was successful 2 hours ago. I see 4 other production builds from yesterday. I can provide the specific deploy IDs if you need to audit them.
```

**Prompt:** 
```
Trigger a new build for site 'docs-portal' using the 'production' hook.
```

**Response:** 
```
Initiating build for 'docs-portal'... The build request has been accepted by Netlify. I'll monitor the status for you. It should be live in a few minutes.
```

## Capabilities

### Audit production builds
Pull the full deployment history for any site to see exactly what happened during a specific push.

### Trigger new builds
Start a new production build for a site immediately through your agent.

### View site metadata
Retrieve production URLs and detailed site information for your entire portfolio.

### Check environment variables
List all environment variables to verify configuration settings and catch drift.

### Monitor form data
Retrieve active forms and audit recent user submissions in real time.

## Use Cases

### Checking failed build statuses
A developer needs to know why a build failed. They ask their agent to show the last 5 deploys for the 'marketing' site using list_deploys.

### Reviewing lead generation data
A marketing manager wants to see lead counts. They ask the agent to pull the latest submissions from the contact form using list_form_submissions.

### Auditing production variables
A DevOps engineer needs to update a production variable. They ask the agent to list the current variables for the 'staging' site using list_env_vars.

### Pushing hotfixes without the UI
A developer needs to push a quick update. They ask the agent to trigger a new build for the 'docs' site using trigger_site_build.

## Benefits

- Skip the dashboard by using list_sites to see your entire portfolio in one glance.
- Catch configuration errors early by using list_env_vars to audit your production settings.
- Get instant status updates on builds without manual checking by using list_deploys.
- Monitor lead generation directly with list_form_submissions to see user data in real time.
- Speed up deployment cycles by using trigger_site_build to push new versions immediately.

## How It Works

The bottom line is you get a hands-free way to manage web deployments and site configs through natural conversation.

1. Subscribe to this Connector and grab your Netlify Personal Access Token.
2. Plug the token into your AI client configuration.
3. Ask your agent to check site statuses, audit deploys, or trigger builds.

## Frequently Asked Questions

**Can I use the Netlify MCP to check if my site is live?**
Yes. The Connector can pull your production URLs and site metadata instantly so you can verify that your site is live without opening a browser.

**How do I use the Netlify MCP to trigger a build?**
You can simply ask your AI agent to start a new build for a specific site. It will use the pre-configured hooks to initiate the process for you.

**Can the Netlify MCP show me my environment variables?**
Yes. It can list all environment variables for your accounts and sites, making it easy to audit your configurations and catch any drift.

**Does the Netlify MCP work for form submissions?**
Yes. It can retrieve a list of your active forms and pull recent submissions from your users in real time.

**Can I use the Netlify MCP to see my deployment history?**
Yes. It retrieves the full history of deployments for any site, allowing you to see past production pushes and their statuses.

**Is the Netlify MCP good for managing multiple sites?**
Yes. It can list every site in your account at once, providing a high-level view of your entire portfolio in one go.

**How do I trigger a new build for a specific site?**
First, use the `list_build_hooks` tool to find the appropriate hook for your site. Then, use the `trigger_site_build` tool with the site ID and build hook ID to start the deployment.

**Can I see the submissions for my contact forms?**
Yes! Use the `list_form_submissions` tool with the Site ID. It will retrieve the most recent data submitted through any Netlify Form on that site.

**How do I find my Site ID?**
Use the `list_sites` tool. It will return a comprehensive list of all your sites along with their unique IDs, URLs, and current statuses.