ntl-deploy-operations
Execute deployments, retrieve deployment details, or fetch site-specific deployment data using the Netlify MCP Server. Supports get-deploy, get-deploy-for-site, and deploy-site operations for seamless site management.
Instructions
Run one of the following operations get-deploy, get-deploy-for-site, deploy-site
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selectSchema | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"selectSchema": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "get-deploy",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"deployId": {
"type": "string"
}
},
"required": [
"deployId"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "get-deploy-for-site",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"deployId": {
"type": "string"
},
"siteId": {
"type": "string"
}
},
"required": [
"siteId",
"deployId"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "deploy-site",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"deployDirectory": {
"description": "absolute file path to the directory containing the code that should be deployed. Must be the root of the project repo unless specified.",
"type": "string"
},
"siteId": {
"description": "provide the site id of the site of this site. If the agent cannot find the siteId, the user must confirm this is a new site. NEVER assume the user wants a new site. Use 'netlify link' CLI command to link to an existing site and get a site id.",
"type": "string"
}
},
"required": [
"deployDirectory"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
}
]
}
},
"required": [
"selectSchema"
],
"type": "object"
}