Skip to content
Claude Desktop

Tailscale for Claude Desktop

io.github.tailscale-mcp/tailscale-mcp

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

client:Claude Desktop transport:stdio runtime:npm

Install Tailscale in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "tailscale-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tailscale-mcp/tailscale-mcp"
      ],
      "env": {
        "TAILSCALE_API_KEY": "<TAILSCALE_API_KEY>",
        "TAILSCALE_OAUTH_CLIENT_ID": "<TAILSCALE_OAUTH_CLIENT_ID>",
        "TAILSCALE_OAUTH_CLIENT_SECRET": "<TAILSCALE_OAUTH_CLIENT_SECRET>",
        "TAILSCALE_TAILNET": "<TAILSCALE_TAILNET>",
        "TAILSCALE_MCP_PRESET": "<TAILSCALE_MCP_PRESET>",
        "TAILSCALE_MCP_ALLOW_WRITE": "<TAILSCALE_MCP_ALLOW_WRITE>",
        "TAILSCALE_MCP_ALLOW_DESTRUCTIVE": "<TAILSCALE_MCP_ALLOW_DESTRUCTIVE>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

Tailscale in other clients