Skip to main content
Glama

Netlify MCP Server

createSiteFromGitHub

Deploy a Netlify site directly from a GitHub repository by specifying the repository, branch, build command, and publish directory.

Instructions

Create a new Netlify site from a GitHub repository

Input Schema

NameRequiredDescriptionDefault
branchYesBranch to deploy from
buildCommandYesBuild command to run
nameYesName for the new site
publishDirYesDirectory containing the built files to publish
repoYesGitHub repository in format owner/repo

Input Schema (JSON Schema)

{ "properties": { "branch": { "description": "Branch to deploy from", "type": "string" }, "buildCommand": { "description": "Build command to run", "type": "string" }, "name": { "description": "Name for the new site", "type": "string" }, "publishDir": { "description": "Directory containing the built files to publish", "type": "string" }, "repo": { "description": "GitHub repository in format owner/repo", "type": "string" } }, "required": [ "name", "repo", "branch", "buildCommand", "publishDir" ], "type": "object" }

You must be authenticated.

Other Tools from Netlify MCP Server

Related Tools

    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