Create organization tailnet
tailscale_create_org_tailnetProvision a new isolated tailnet within your organization, returning its ID and a one-time OAuth client secret for programmatic management.
Instructions
Create a new API-only tailnet in your organization. Returns the tailnet (id, displayName, orgId, dnsName, createdAt) AND a freshly-minted OAuth client for it.
SECURITY: the response body contains that OAuth client's secret verbatim, and it cannot be retrieved again. MCP clients commonly persist tool responses to logs and conversation transcripts; treat this response as sensitive.
Requires an OAuth client with the 'tailnets' scope -- an API key will not work. To then operate on the new tailnet, set TAILSCALE_OAUTH_TAILNET to its id and use an OAuth client with the 'all' scope.
Organizations are limited to 10 tailnets including the original unless Tailscale sales has raised the limit.
The response may include alreadyExists: true; Tailscale's spec ALSO documents a 400 for a name already in use and neither has been observed, so after a timeout call tailscale_list_org_tailnets before retrying rather than assuming either.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| displayName | Yes | Human-readable name for the new tailnet. May contain letters, numbers, spaces, apostrophes and hyphens, and must be unique within the organization. | |
| organization | No | Organization ID. Defaults to '-' (the organization owning the calling credentials). |