Home / Servers / Netlify API / create_site
Create a site
An MCP tool from the Netlify API server, hosted on mcp.hjlabs.in.
Create a site **Note:** Environment variable keys and values have moved from build_settings.env and repo.env to a new endpoint. Please use createEnvVars to create environment variables for a site. [POST /sites]
Name on the gateway: netlify_api__create_site · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
configure_dns | boolean | configure_dns parameter |
id | string | |
state | string | |
plan | string | |
name | string | |
custom_domain | string | |
domain_aliases | array | |
branch_deploy_custom_domain | string | |
deploy_preview_custom_domain | string | |
password | string | |
notification_email | string | |
url | string | |
ssl_url | string | |
admin_url | string | |
screenshot_url | string | |
created_at | string | |
updated_at | string | |
user_id | string | |
session_id | string | |
ssl | boolean | |
force_ssl | boolean | |
managed_dns | boolean | |
deploy_url | string | |
published_deploy | object | |
account_id | string | |
account_name | string | |
account_slug | string | |
git_provider | string | |
deploy_hook | string | |
capabilities | object | |
processing_settings | object | |
build_settings | object | |
id_domain | string | |
default_hooks_data | object | |
build_image | string | |
prerender | string | |
functions_region | string | |
prevent_non_git_prod_deploys | boolean | |
repo | object |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "netlify_api__create_site",
"arguments": {}
}Or connect the Netlify API server directly, which lists 188 tools including this one:
claude mcp add --transport http hj-netlify-api https://mcp.hjlabs.in/mcp/netlify-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a site tool with configure_dns set to ….