About Tailscale
Tailscale is a secure networking platform for managing tailnets, devices, users, DNS, access policies, services, and other network administration resources.
Say what should happen in Tailscale, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.
Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.
No credit card needed.
Tailscale is a secure networking platform for managing tailnets, devices, users, DNS, access policies, services, and other network administration resources.
Through its API, with the provider’s credentials and permissions.
Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the Tailscale workflow. It then runs on Whenever, with the chat closed.
Set up the Whenever MCP serverTailscale’s control plane is managed through its API at api.tailscale.com, scoped to a tailnet. The API lists and updates devices, approves devices and subnet routes, sets tags, reads and replaces the tailnet policy file, manages DNS nameservers and search paths, creates auth keys, and lists users. Whenever reaches this public control-plane API from its hosted runtime; it does not join your tailnet, so devices and services that are only reachable inside the tailnet are not reachable by the workflow.
Credentials are the first design choice. API access tokens are created by an admin, expire after a set number of days and act with that user’s permissions. OAuth clients are better for automation: they issue short-lived tokens, survive staff changes and can be limited to scopes such as devices:core read-only or policy_file. A reporting workflow needs only read scopes; one that approves devices or edits tags needs write scopes for exactly those resources.
Device data is where most operational value sits. Each device record includes its name, user, tags, operating system, client version, lastSeen time, whether key expiry is disabled and when the key expires. That makes it straightforward to list machines that have not been seen in 30 days, nodes running an old client, or keys that will expire this week, before someone loses access mid-task.
Tailscale can also send webhooks for tailnet events, such as a device being added, needing approval, or a key about to expire, and policy file changes. Webhooks avoid polling the device list and arrive with a signature that the workflow should verify. Changes to the policy file affect every connection in the tailnet, so an automation that edits it should validate the new file through the API’s validate endpoint and keep the previous version.
Starter briefs to set up with your accounts, not finished workflows.
Read-only scope; flags machines before they cause access problems.
Webhook-driven, so the admin sees new machines as they appear.
Keeps a dated history of the tailnet access policy.
An OAuth client is better for unattended automation: tokens are short-lived, scopes can be narrow, and access is not tied to one admin’s account. API access tokens expire and act as the user who created them.
No. The workflow calls Tailscale’s public control-plane API. It does not join the tailnet, so private addresses and services stay out of reach.
Yes. Tailnet webhooks can report events such as new devices, devices needing approval, expiring keys and policy file changes. Each request is signed with a secret you should verify.
The API can read, validate and replace the policy file. Validate before replacing and keep the previous version, because a mistake affects every connection in the tailnet.
One workflow free. No card. Weekly AI-building limits.