Skip to content
VS Code

Tailscale RMCP for VS Code

ai.dinglebear/tailscale-rmcp

Rust MCP server and CLI for Tailscale devices, users, keys, policies, and auth.

client:VS Code transport:stdio runtime:npm

Install Tailscale RMCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tailscale-api-key",
      "description": "TAILSCALE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tailscale-rmcp-version",
      "description": "TAILSCALE_RMCP_VERSION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tailscale-rmcp-repo",
      "description": "TAILSCALE_RMCP_REPO",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tailscale-rmcp-release-base-url",
      "description": "TAILSCALE_RMCP_RELEASE_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rust-log",
      "description": "RUST_LOG",
      "password": true
    }
  ],
  "servers": {
    "tailscale-rmcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tailscale-rmcp"
      ],
      "env": {
        "TAILSCALE_API_KEY": "${input:tailscale-api-key}",
        "TAILSCALE_RMCP_VERSION": "${input:tailscale-rmcp-version}",
        "TAILSCALE_RMCP_REPO": "${input:tailscale-rmcp-repo}",
        "TAILSCALE_RMCP_RELEASE_BASE_URL": "${input:tailscale-rmcp-release-base-url}",
        "RUST_LOG": "${input:rust-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 RMCP in other clients