Skip to content
Cursor

Tailscale MCP for Cursor

io.github.tmhsdigital/tailscale-mcp

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

client:Cursor transport:stdio runtime:npm

Install Tailscale MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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",
        "@tmhs/tailscale-mcp"
      ],
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Tailscale MCP in other clients