Netlify Integration
Manage Netlify sites, deploys, builds, and environment variables
The Netlify integration provides access to manage Netlify sites, deploys, builds, and environment variables through the Integrate MCP server.
Installation
The Netlify integration is included with the SDK:
import { netlifyIntegration } from "integrate-sdk/server";Setup
1. Create a Netlify OAuth App
- Go to App Developer Portal
- Create a new OAuth application
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Netlify integration to your server configuration. The integration automatically reads NETLIFY_CLIENT_ID and NETLIFY_CLIENT_SECRET from your environment variables:
import { createMCPServer, netlifyIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
netlifyIntegration({
}),
],
});You can override the environment variables by passing explicit values:
netlifyIntegration({
clientId: process.env.CUSTOM_NETLIFY_ID,
clientSecret: process.env.CUSTOM_NETLIFY_SECRET,
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("netlify");
const result = await client.netlify.getCurrentUser({});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, netlifyIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [netlifyIntegration()],
});Configuration Options
Prop
Type
Tools
netlify_get_current_user
Get current user
No parameters.
netlify_list_accounts
List accounts
No parameters.
netlify_get_account
Get account
Prop
Type
netlify_list_sites
List sites
Prop
Type
netlify_get_site
Get site
Prop
Type
netlify_create_site
Create site
Prop
Type
netlify_update_site
Update site
Prop
Type
netlify_delete_site
Delete site
Prop
Type
netlify_enable_site
Enable site
Prop
Type
netlify_disable_site
Disable site
Prop
Type
netlify_list_deploys
List deploys
Prop
Type
netlify_get_deploy
Get deploy
Prop
Type
netlify_create_deploy
Create deploy
Prop
Type
netlify_cancel_deploy
Cancel deploy
Prop
Type
netlify_restore_deploy
Restore deploy
Prop
Type
netlify_lock_deploy
Lock deploy
Prop
Type
netlify_unlock_deploy
Unlock deploy
Prop
Type
netlify_list_builds
List builds
Prop
Type
netlify_get_build
Get build
Prop
Type
netlify_trigger_build
Trigger build
Prop
Type
netlify_list_env_vars
List env vars
Prop
Type
netlify_get_env_var
Get env var
Prop
Type
netlify_create_env_vars
Create env vars
Prop
Type
netlify_update_env_var
Update env var
Prop
Type
netlify_delete_env_var
Delete env var
Prop
Type
netlify_list_build_hooks
List build hooks
Prop
Type
netlify_create_build_hook
Create build hook
Prop
Type
netlify_delete_build_hook
Delete build hook
Prop
Type
netlify_list_forms
List forms
Prop
Type
netlify_list_form_submissions
List form submissions
Prop
Type
netlify_list_dns_zones
List dns zones
No parameters.
netlify_get_dns_records
Get dns records
Prop
Type
netlify_create_dns_record
Create dns record
Prop
Type
netlify_delete_dns_record
Delete dns record
Prop
Type
netlify_list_functions
List functions
Prop
Type
netlify_list_files
List files
Prop
Type
netlify_purge_cache
Purge cache
Prop
Type
Notes
- Category: Infrastructure
- Authentication mode: OAuth