Enable the app portal
portal_enableEnable a Tailnet-only home portal to control private app access by setting owner and admin identities, with gateway mode enabled by default.
Instructions
Enable an independent Tailnet-only home portal. New portals default to gateway mode. Omitted owner/admins preserve verified identities; first enrollment may leave owner unset. Optional admins can open all private apps. HTTP MCP requires the current exact portal owner before any owner/admin settings can change; other callers receive access_request_owner_required. Local CLI/stdio MCP is the bootstrap/recovery path; an unset owner cannot be claimed remotely. Confirm administrative identities with the owner. Grants and service registrations stay intact; the daemon hot-reloads the portal independently. Does not install or restart the daemon, send invites, or change tailnet ACLs. Funnel is explicitly refused. A pending result is saved configuration, not proof of a running URL; check status. Outside-tailnet visitors also need the home node shared through Tailscale.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "portal_enable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | No | ||
| admins | No | ||
| funnel | No | Always refused when true. | |
| gateway | No | Enable the persistent gateway. Omit to retain current settings; false removes gateway mode only when no routes remain. | |
| hostname | No | home | |
| gateway_tag | No | Credentialed gateway tag; omitted retains the tag, empty restores the default. | |
| gateway_ports | No | Gateway port range, initially 8443-8499; omitted retains the range. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| error | No | ||
| state | Yes | ||
| enabled | Yes | ||
| gateway | No | ||
| message | No | ||
| hostname | No | ||
| unavailable_apps | No |