> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Netlify in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/netlify
Last updated: 2026-11-24

Share Netlify with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or personal access token sign-in, 38 tools (15 read-only).

---

To give your team Netlify in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Netlify integration in a Metorial portal, and each person signs in to Netlify with their own account. Agents can manage web application sites, deploys, builds, build hooks, deployed files, metadata, and hosting on Netlify. The integration has 38 tools, 15 read-only, 18 write and 5 destructive, plus 2 triggers.

**What you will learn**

- How an admin shares Netlify in a portal and how each person connects
- The 1 OAuth scope Netlify can request, and what each one allows
- How to keep the 15 read-only tools and reject the other 23

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Netlify for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **OAuth** (default) | OAuth | Signs in to Netlify |
| **Personal Access Token** | API token | `token` |

The portal and `metorial setup` use **OAuth** unless someone picks another method.

### OAuth

People sign in to Netlify and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `full_access` | Full Access | Full access to the authenticated Netlify account |

### Personal Access Token

To connect, a person enters:

- `token`: Netlify Personal Access Token

## Use your own Netlify OAuth app

With your own OAuth app, people see your company's name on the Netlify consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Netlify and copy the **Redirect URI**.

2. **Register the app with Netlify**

   Create an OAuth app or client in Netlify and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in [OAuth documentation](https://docs.netlify.com/api-and-cli-guides/api-guides/get-started-with-api).

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Netlify integration.

## Admin: share Netlify in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Netlify. Under **Auth Method**, keep **OAuth** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Netlify as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Netlify.

4. **Choose who gets it**

   Add the access groups that should see Netlify. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Netlify integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search netlify
```

## Employee: connect Netlify

### In the portal

1. **Open Netlify in the catalog**

   Sign in to your portal and open Netlify. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Netlify sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search netlify
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth**. To connect with **Personal Access Token** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Netlify connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list netlify
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 15 read-only tools, such as `get_site` and `get_deploy`, and lose the 18 write tools, such as `create_hook` or `create_site`, and the 5 destructive tools, such as `delete_hook` or `delete_site`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list netlify
metorial tools <integration-id>
metorial call <integration-id> list_accounts -d '{}'
```

`metorial tools` lists the 38 tools, minus any you rejected. `list_accounts` takes no input. It lists all Netlify accounts/teams accessible by the authenticated user.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (15)

- `get_site`: Retrieve detailed information about a specific Netlify site, including build settings, repository configuration, deploy settings, and domain information. Needs `siteId`.
- `get_deploy`: Get detailed information about a specific deploy, including its state, URL, commit information, and error details if applicable. Needs `deployId`.
- `list_env_vars`: List all environment variables for a Netlify account. Needs `accountId`.
- `list_split_tests`: List all A/B split tests for a Netlify site. Needs `siteId`.
- `list_forms`: List all forms for a Netlify site. Needs `siteId`.
- `list_accounts`: List all Netlify accounts/teams accessible by the authenticated user.
- `list_hooks`: List all notification hooks configured for a Netlify site. Needs `siteId`.
- `list_snippets`: List all JavaScript/HTML code snippets injected into a Netlify site's pages. Needs `siteId`.
- `list_deploys`: List deploys for a Netlify site. Needs `siteId`.
- `list_sites`: List all Netlify sites accessible by the authenticated user.
- `list_form_submissions`: List form submissions for a specific form or all forms on a site.
- `list_dns_zones`: List all DNS zones managed by Netlify DNS.
- `manage_site_files`: List deployed files for a Netlify site or get metadata for a specific deployed file path. Needs `action` and `siteId`.
- `get_form_submission`: Get a specific Netlify form submission by ID, including submitted fields and sender metadata. Needs `submissionId`.
- `list_hook_types`: List Netlify notification hook types, required fields, and events supported for creating hooks.

### Write tools (18)

- `create_snippet`: Add a JavaScript or HTML snippet to a Netlify site. Needs `siteId`, `title`, `general` and `generalPosition`.
- `update_hook`: Update an existing notification hook. Needs `hookId`.
- `toggle_split_test`: Enable or disable a split test on a Netlify site. Needs `siteId`, `splitTestId` and `enabled`.
- `create_hook`: Create a new notification hook on a Netlify site. Needs `siteId`, `hookType`, `event` and `hookData`.
- `create_site`: Create a new Netlify site.
- `manage_deploy`: Perform actions on a deploy: cancel a running build, lock/unlock auto-publishing, restore a previous deploy, or delete a deploy. Needs `action` and `deployId`.
- `update_split_test`: Update the branch traffic distribution of an existing split test. Needs `siteId`, `splitTestId` and `branches`.
- `purge_cache`: Purge cached content from Netlify's CDN for a site.
- `create_split_test`: Create a new A/B split test for a Netlify site. Needs `siteId` and `branches`.
- `update_site`: Update configuration of an existing Netlify site. Needs `siteId`.
- `set_env_vars`: Create or update environment variables for a Netlify account. Needs `accountId` and `variables`.
- `manage_dns_records`: List, create, or delete DNS records within a Netlify DNS zone. Needs `action` and `zoneId`.
- `manage_dns_zone`: Create or delete a Netlify DNS zone. Needs `action`.
- `update_snippet`: Update an existing code snippet on a Netlify site. Needs `siteId` and `snippetId`.
- `manage_form_submission_state`: Mark a Netlify form submission as spam or verified (ham). Needs `submissionId` and `state`.
- `manage_build_hooks`: List, get, create, update, or delete Netlify build hooks for a site. Needs `action` and `siteId`.
- `manage_site_metadata`: Get or replace custom metadata for a Netlify site. Needs `action` and `siteId`.
- `manage_builds`: List builds for a Netlify site, get a build by ID, or trigger a new build for a site. Needs `action`.

### Destructive tools (5)

- `delete_site`: Permanently delete a Netlify site. Needs `siteId`.
- `delete_form_submission`: Delete a specific form submission by its ID. Needs `submissionId`.
- `delete_env_var`: Delete an environment variable from a Netlify account. Needs `accountId` and `key`.
- `delete_snippet`: Remove a code snippet from a Netlify site. Needs `siteId` and `snippetId`.
- `delete_hook`: Permanently delete a notification hook from a Netlify site. Needs `hookId`.

## Triggers

Netlify has 2 triggers, which fire on events in Netlify:

- `form_submission_events`: Triggers when new form submissions are received on a Netlify site.
- `deploy_events`: Triggers when deploy events occur on a Netlify site, including deploy started, succeeded, failed, locked, unlocked, and request events.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Netlify there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Netlify on metorial.com](https://metorial.com/integrations/netlify): the integration overview