Home / Servers / Netlify API / create_site_in_team

Create a site in a team

An MCP tool from the Netlify API server, hosted on mcp.hjlabs.in.

Create a site in a team **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 /{account_slug}/sites]

Name on the gateway: netlify_api__create_site_in_team · may change things.

Parameters

NameTypeDescription
account_slug requiredstringaccount_slug parameter
configure_dnsbooleanconfigure_dns parameter
idstring
statestring
planstring
namestring
custom_domainstring
domain_aliasesarray
branch_deploy_custom_domainstring
deploy_preview_custom_domainstring
passwordstring
notification_emailstring
urlstring
ssl_urlstring
admin_urlstring
screenshot_urlstring
created_atstring
updated_atstring
user_idstring
session_idstring
sslboolean
force_sslboolean
managed_dnsboolean
deploy_urlstring
published_deployobject
account_idstring
account_namestring
body_account_slugstring
git_providerstring
deploy_hookstring
capabilitiesobject
processing_settingsobject
build_settingsobject
id_domainstring
default_hooks_dataobject
build_imagestring
prerenderstring
functions_regionstring
prevent_non_git_prod_deploysboolean
repoobject

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:

call_tool arguments
{
  "name": "netlify_api__create_site_in_team",
  "arguments": {
    "account_slug": "…"
  }
}

Or connect the Netlify API server directly, which lists 188 tools including this one:

Run in your terminal
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 in a team tool with account_slug set to ….

More from Netlify API