Skip to main content
Glama

Netlify MCP Server

Netlify MCP Server

A Model Context Protocol (MCP) server for managing Netlify sites. This server enables seamless integration with Netlify's API through MCP, allowing you to create, manage, and deploy sites directly from your MCP-enabled environment.

Features

  • Create new sites from GitHub repositories
  • List existing Netlify sites
  • Get detailed site information
  • Delete sites

Installation

  1. Clone this repository:
git clone https://github.com/MCERQUA/netlify-mcp.git cd netlify-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration

Getting Your Netlify Access Token

  1. Create a Netlify account at https://app.netlify.com/signup
  2. Go to User Settings > Applications > Personal access tokens
  3. Click "New access token"
  4. Give it a name (e.g., "MCP Integration")
  5. Copy the generated token

Setting Up MCP

  1. Create a .env file in the project root:
NETLIFY_ACCESS_TOKEN=your_token_here
  1. Add the server to your MCP settings configuration:
{ "mcpServers": { "netlify": { "command": "node", "args": ["path/to/netlify-mcp/build/index.js"], "env": { "NETLIFY_ACCESS_TOKEN": "your_token_here" }, "disabled": false, "autoApprove": [] } } }

Available Tools

createSiteFromGitHub

Create a new Netlify site from a GitHub repository.

interface CreateSiteFromGitHubArgs { name: string; // Name for the new site repo: string; // GitHub repository (format: owner/repo) branch: string; // Branch to deploy from buildCommand: string; // Build command to run publishDir: string; // Directory containing the built files }

listSites

List all Netlify sites you have access to.

interface ListSitesArgs { filter?: 'all' | 'owner' | 'guest'; // Optional filter for sites }

getSite

Get detailed information about a specific site.

interface GetSiteArgs { siteId: string; // ID of the site to retrieve }

deleteSite

Delete a Netlify site.

interface DeleteSiteArgs { siteId: string; // ID of the site to delete }

Documentation

For more detailed information, see:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that allows management of Netlify sites, enabling users to create, list, get information about, and delete Netlify sites directly from an MCP-enabled environment.

  1. Features
    1. Installation
      1. Configuration
        1. Getting Your Netlify Access Token
        2. Setting Up MCP
      2. Available Tools
        1. createSiteFromGitHub
        2. listSites
        3. getSite
        4. deleteSite
      3. Documentation
        1. Contributing
          1. License

            Related MCP Servers

            • -
              security
              -
              license
              -
              quality
              A basic example of developing and running serverless Model Context Protocol (MCP) using Netlify Functions, enabling AI agents to interact with your services via a standardized API.
              Last updated -
            • -
              security
              -
              license
              -
              quality
              A basic example of developing and running serverless Model Context Protocol (MCP) using Netlify Functions, demonstrating how to deploy and access serverless functions with customized URLs.
              Last updated -
            • -
              security
              F
              license
              -
              quality
              A serverless implementation of the Model Context Protocol (MCP) that runs on Netlify Functions, allowing developers to build and deploy MCP-compatible services with minimal configuration.
              Last updated -
            • -
              security
              F
              license
              -
              quality
              A basic example of a serverless Model Context Protocol (MCP) implementation using Netlify Functions, allowing developers to run MCP services without managing traditional server infrastructure.
              Last updated -

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/MCERQUA/netlify-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server