tailscale_create_org_tailnet
Create a new API-only tailnet in your organization and receive the tailnet details along with a newly issued OAuth client secret for direct API access.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| displayName | Yes | Human-readable name for the new tailnet | |
| organization | No | Organization ID. Defaults to '-' (the organization owning the calling credentials). |