Tailscale

io.github.tailscale-mcp/tailscale-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "tailscale-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tailscale-mcp/tailscale-mcp@2.0.5"
      ],
      "env": {
        "TAILSCALE_API_KEY": "<your TAILSCALE_API_KEY>",
        "TAILSCALE_OAUTH_CLIENT_SECRET": "<your TAILSCALE_OAUTH_CLIENT_SECRET>",
        "TAILSCALE_MCP_PRESET": "core",
        "TAILSCALE_MCP_ALLOW_WRITE": "false",
        "TAILSCALE_MCP_ALLOW_DESTRUCTIVE": "false"
      }
    }
  }
}
Environment variables
  • TAILSCALE_API_KEYsecretA 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_SECRETsecretThe OAuth client secret that goes with TAILSCALE_OAUTH_CLIENT_ID.
  • TAILSCALE_MCP_PRESETWhich tools are offered: minimal, core or full.
  • TAILSCALE_MCP_ALLOW_WRITEOffer the tools that change something. Read-only without it.
  • TAILSCALE_MCP_ALLOW_DESTRUCTIVEOffer the tools that remove or sever something. Implies the write tier.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
2.0.5
Registry
active
Published
10/26/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Tailscale is listed here — it’s also the link we check for a free listing.

Tailscale — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-tailscale-mcp-tailscale-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Tailscale — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Tailscale — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-tailscale-mcp-tailscale-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.