sitehost-port
v0.1.0Netlify sites, deploys and builds as MCP tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_sites
List Netlify sites.
| Parameter | Type | Description |
|---|---|---|
name | string | Optional site name to filter the list by. |
page | number | Optional page number of sites to return. |
per_page | number | Optional maximum number of sites to return per page. |
get_site
Retrieve a single Netlify site by ID.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The unique identifier of the Netlify site to retrieve. |
create_site
Create a Netlify site.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name to give the new Netlify site. |
update_site
Update a Netlify site by ID.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The unique identifier of the Netlify site to update. |
custom_domain | string | Optional new custom domain for the site. |
name | string | Optional new name for the site. |
delete_site
Delete a Netlify site by ID.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The unique identifier of the Netlify site to delete. |
list_deploys
List deploys for a Netlify site.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The unique identifier of the Netlify site whose deploys to list. |
page | number | Optional page number of deploys to return. |
per_page | number | Optional maximum number of deploys to return per page. |
get_deploy
Retrieve a single Netlify deploy by ID.
| Parameter | Type | Description |
|---|---|---|
deploy_id * | string | The unique identifier of the Netlify deploy to retrieve. |
restore_deploy
Restore a Netlify deploy.
| Parameter | Type | Description |
|---|---|---|
deploy_id * | string | The unique identifier of the Netlify deploy to restore. |
trigger_site_build
Trigger a build for a Netlify site.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The unique identifier of the Netlify site to build. |
branch | string | Optional branch to build; omitted from the request when not provided. |
list_site_builds
List builds for a Netlify site.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The unique identifier of the Netlify site whose builds to list. |
per_page | number | Optional maximum number of builds to return per page. |
get_current_user
Retrieve the current Netlify user.
list_env_vars
List environment variables for a Netlify site.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The unique identifier of the Netlify site whose environment variables to list. |