MCP directory
T

Tailscale

by github.com/tailscale-mcp · v2.1.0 · updated Nov 13, 2026

Drive a Tailscale node and its tailnet through the CLI and the control-plane API

npmDocker

Run it locally

Install the package and point your AI client at it.

npm

npx -y @tailscale-mcp/[email protected]

Environment variables

  • TAILSCALE_API_KEYsecret

    A control-plane API access token. One of this, the OAuth client pair, or the OAuth JWT file is needed for the tailnet tools; without any of them only the local tools are offered.

  • TAILSCALE_OAUTH_CLIENT_ID

    An OAuth client id, used with TAILSCALE_OAUTH_CLIENT_SECRET when there is no API access token.

  • TAILSCALE_OAUTH_CLIENT_SECRETsecret

    The OAuth client secret that goes with TAILSCALE_OAUTH_CLIENT_ID.

  • TAILSCALE_TAILNET

    The tailnet the control-plane tools act on. Without it they act on the one the credential belongs to.

  • TAILSCALE_MCP_PRESET

    Which tools are offered: minimal, core or full.

  • TAILSCALE_MCP_ALLOW_WRITE

    Offer the tools that change something. Read-only without it.

  • TAILSCALE_MCP_ALLOW_DESTRUCTIVE

    Offer the tools that remove or sever something. Implies the write tier.

Docker

docker run -i --rm ghcr.io/tailscale-mcp/tailscale-mcp:2.1.0

Environment variables

  • TAILSCALE_API_KEYsecret

    A control-plane API access token. One of this, the OAuth client pair, or the OAuth JWT file is needed for the tailnet tools; without any of them only the local tools are offered.

  • TAILSCALE_OAUTH_CLIENT_ID

    An OAuth client id, used with TAILSCALE_OAUTH_CLIENT_SECRET when there is no API access token.

  • TAILSCALE_OAUTH_CLIENT_SECRETsecret

    The OAuth client secret that goes with TAILSCALE_OAUTH_CLIENT_ID.

  • TAILSCALE_TAILNET

    The tailnet the control-plane tools act on. Without it they act on the one the credential belongs to.

  • TAILSCALE_MCP_PRESET

    Which tools are offered: minimal, core or full.

  • TAILSCALE_MCP_ALLOW_WRITE

    Offer the tools that change something. Read-only without it.

  • TAILSCALE_MCP_ALLOW_DESTRUCTIVE

    Offer the tools that remove or sever something. Implies the write tier.

More MCP servers