Skip to content
Grok

Tailscale for Grok

io.github.tailscale-mcp/tailscale-mcp

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

client:Grok transport:stdio runtime:npm

Install Tailscale in Grok

.mcp.json (in your project root)

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

{
  "mcpServers": {
    "tailscale-mcp": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Tailscale in other clients