Tailscale MCP Server

Tailscale MCP server for managing your tailnet from AI assistants

Remote serverstreamable-http

What is the Tailscale MCP Server?

Tailscale MCP server for managing your tailnet from AI assistants

The short version

One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. Or install manually below.

  • Typed tool surface, not string parsing. — Every tool has a Zod-validated input schema and a structured response. No brittle tailscale status --json | jq pipelines that break when the schema evolves
  • Safe-by-default writes. — Every tool declares readOnlyHint / destructiveHint / idempotentHint so clients can skip confirmation on reads and require it on mutations. A skill that shells out to the CLI can't express that

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
tailscale_statusVerify API connection, see tailnet info and device count
tailscale_list_devicesList all devices with status, IPs, OS, and last seen
tailscale_get_deviceGet detailed info for a specific device
tailscale_authorize_deviceAuthorize a pending device
tailscale_deauthorize_deviceDeauthorize a device
tailscale_set_devices_authorizedAuthorize/deauthorize many devices in one call (parallel, per-id error reporting)
tailscale_delete_deviceRemove a device from the tailnet
tailscale_rename_deviceRename a device
tailscale_expire_deviceExpire a device's key, forcing re-authentication
tailscale_get_device_routesGet advertised and enabled subnet routes
tailscale_set_device_routesEnable or disable subnet routes
tailscale_get_device_posture_attributesGet all posture attributes for a device
tailscale_set_device_posture_attributeSet a custom posture attribute (with optional expiry)
tailscale_delete_device_posture_attributeDelete a custom posture attribute

Configuration

VariableDescriptionRequired
TAILSCALE_API_KEYCredential the server authenticates with.Yes
TAILSCALE_PROFILEConfiguration value read at startup.Optional
TAILSCALE_TOOLSConfiguration value read at startup.Optional
TAILSCALE_READONLYConfiguration value read at startup.Optional
TAILSCALE_OAUTH_CLIENT_IDConfiguration value read at startup.Optional
TAILSCALE_OAUTH_CLIENT_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • “Use Tailscale to tailscale status.”
  • “Use Tailscale to tailscale list devices.”
  • “Use Tailscale to tailscale get device.”

Frequently asked questions

Tailscale MCP server for managing your tailnet from AI assistants Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.