Skip to content
VS Code

Tailscale Compute for VS Code

io.github.dylantirandaz/tailscale-compute

Run builds, tests, and benchmarks on your own Tailscale compute node.

client:VS Code transport:stdio runtime:npm

Install Tailscale Compute in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tailscale-compute-host",
      "description": "TAILSCALE_COMPUTE_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tailscale-compute-local-root",
      "description": "TAILSCALE_COMPUTE_LOCAL_ROOT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tailscale-compute-remote-root",
      "description": "TAILSCALE_COMPUTE_REMOTE_ROOT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tailscale-compute-remote-shell",
      "description": "TAILSCALE_COMPUTE_REMOTE_SHELL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tailscale-compute-connect-timeout-seconds",
      "description": "TAILSCALE_COMPUTE_CONNECT_TIMEOUT_SECONDS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tailscale-compute-audit-log",
      "description": "TAILSCALE_COMPUTE_AUDIT_LOG",
      "password": true
    }
  ],
  "servers": {
    "tailscale-compute": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dylantirandaz/tailscale-compute-mcp"
      ],
      "env": {
        "TAILSCALE_COMPUTE_HOST": "${input:tailscale-compute-host}",
        "TAILSCALE_COMPUTE_LOCAL_ROOT": "${input:tailscale-compute-local-root}",
        "TAILSCALE_COMPUTE_REMOTE_ROOT": "${input:tailscale-compute-remote-root}",
        "TAILSCALE_COMPUTE_REMOTE_SHELL": "${input:tailscale-compute-remote-shell}",
        "TAILSCALE_COMPUTE_CONNECT_TIMEOUT_SECONDS": "${input:tailscale-compute-connect-timeout-seconds}",
        "TAILSCALE_COMPUTE_AUDIT_LOG": "${input:tailscale-compute-audit-log}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Tailscale Compute in other clients