NestDaddy

Tailscale MCP

io.github.TMHSDigital/tailscale-mcp ยท v0.4.0

Let AI agents see and use your tailnet: status, SSH config, Serve/Funnel sharing, ping matrix

Connect Runs on your machine

Terminal
claude mcp add tailscale-mcp -e TAILSCALE_MCP_ALLOW_FUNNEL=<TAILSCALE_MCP_ALLOW_FUNNEL> -e TAILSCALE_MCP_READONLY=<TAILSCALE_MCP_READONLY> -e TAILSCALE_MCP_BIN=<TAILSCALE_MCP_BIN> -e TAILSCALE_MCP_TIMEOUT_MS=<TAILSCALE_MCP_TIMEOUT_MS> -- npx -y @tmhs/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "tailscale-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tmhs/[email protected]"
      ],
      "env": {
        "TAILSCALE_MCP_ALLOW_FUNNEL": "<TAILSCALE_MCP_ALLOW_FUNNEL>",
        "TAILSCALE_MCP_READONLY": "<TAILSCALE_MCP_READONLY>",
        "TAILSCALE_MCP_BIN": "<TAILSCALE_MCP_BIN>",
        "TAILSCALE_MCP_TIMEOUT_MS": "<TAILSCALE_MCP_TIMEOUT_MS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "tailscale-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tmhs/[email protected]"
      ],
      "env": {
        "TAILSCALE_MCP_ALLOW_FUNNEL": "<TAILSCALE_MCP_ALLOW_FUNNEL>",
        "TAILSCALE_MCP_READONLY": "<TAILSCALE_MCP_READONLY>",
        "TAILSCALE_MCP_BIN": "<TAILSCALE_MCP_BIN>",
        "TAILSCALE_MCP_TIMEOUT_MS": "<TAILSCALE_MCP_TIMEOUT_MS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "tailscale-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tmhs/[email protected]"
      ],
      "env": {
        "TAILSCALE_MCP_ALLOW_FUNNEL": "<TAILSCALE_MCP_ALLOW_FUNNEL>",
        "TAILSCALE_MCP_READONLY": "<TAILSCALE_MCP_READONLY>",
        "TAILSCALE_MCP_BIN": "<TAILSCALE_MCP_BIN>",
        "TAILSCALE_MCP_TIMEOUT_MS": "<TAILSCALE_MCP_TIMEOUT_MS>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
TAILSCALE_MCP_ALLOW_FUNNEL
Optional
Set to 1 to let share_port expose a port to the open internet with Funnel (off by default)
TAILSCALE_MCP_READONLY
Optional
Set to 1 for monitoring only: no share tools, and no SSH config writes
TAILSCALE_MCP_BIN
Optional
Path to the tailscale binary if it is not on PATH or in the default install location
TAILSCALE_MCP_TIMEOUT_MS
Optional
Per-call timeout for tailscale commands in milliseconds (default 10000)

Details

Package@tmhs/[email protected] (NPM, stdio)
First published25 Oct 2026
Last updated25 Oct 2026
Registry nameio.github.TMHSDigital/tailscale-mcp

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.