原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Tailscale RMCP

作者:jmagar版本 0.1.3i★ 5 (星标属于其他仓库)i在你的电脑上运行
注册名称ai.dinglebear/tailscale-rmcp

安装方法

概览

作者提供的说明(英文原文)

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

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具
  • 你需要填写:TAILSCALE_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

通过 2/3 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Tailscale RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Tailscale RMCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 Tailscale RMCP 网站 ↗

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "tailscale-rmcp": {
          "command": "npx",
          "args": [
            "-y",
            "tailscale-rmcp",
            "mcp"
          ],
          "env": {
            "TAILSCALE_API_KEY": "your-value",
            "TAILSCALE_RMCP_VERSION": "your-value",
            "TAILSCALE_RMCP_REPO": "your-value",
            "TAILSCALE_RMCP_RELEASE_BASE_URL": "your-value",
            "RUST_LOG": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 Tailscale RMCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Tailscale RMCP,或回答中出现 Tailscale RMCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Tailscale RMCP

Tailscale RMCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Tailscale RMCP 的应用

  • 需要 Tailscale RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Tailscale RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Tailscale RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Tailscale RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)

B · 开发者工具 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Tailscale RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Tailscale RMCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 Tailscale RMCP 网站 ↗

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add tailscale-rmcp --env TAILSCALE_API_KEY=your-value --env TAILSCALE_RMCP_VERSION=your-value --env TAILSCALE_RMCP_REPO=your-value --env TAILSCALE_RMCP_RELEASE_BASE_URL=your-value --env RUST_LOG=your-value -- npx -y tailscale-rmcp mcp

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 Tailscale RMCP 在列表中并显示已连接

  6. 试一试

    用 Tailscale RMCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Tailscale RMCP,或回答中出现 Tailscale RMCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Tailscale RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Tailscale RMCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 Tailscale RMCP 网站 ↗

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Tailscale RMCP 的设置中,TAILSCALE_API_KEY, TAILSCALE_RMCP_VERSION, TAILSCALE_RMCP_REPO, TAILSCALE_RMCP_RELEASE_BASE_URL, RUST_LOG 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Tailscale RMCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Tailscale RMCP,或回答中出现 Tailscale RMCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Tailscale RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Tailscale RMCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 Tailscale RMCP 网站 ↗

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Tailscale RMCP 的设置中,TAILSCALE_API_KEY, TAILSCALE_RMCP_VERSION, TAILSCALE_RMCP_REPO, TAILSCALE_RMCP_RELEASE_BASE_URL, RUST_LOG 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Tailscale RMCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Tailscale RMCP,或回答中出现 Tailscale RMCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Tailscale RMCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add tailscale-rmcp --env TAILSCALE_API_KEY=your-value --env TAILSCALE_RMCP_VERSION=your-value --env TAILSCALE_RMCP_REPO=your-value --env TAILSCALE_RMCP_RELEASE_BASE_URL=your-value --env RUST_LOG=your-value -- npx -y tailscale-rmcp mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "tailscale-rmcp": {
      "command": "npx",
      "args": [
        "-y",
        "tailscale-rmcp",
        "mcp"
      ],
      "env": {
        "TAILSCALE_API_KEY": "your-value",
        "TAILSCALE_RMCP_VERSION": "your-value",
        "TAILSCALE_RMCP_REPO": "your-value",
        "TAILSCALE_RMCP_RELEASE_BASE_URL": "your-value",
        "RUST_LOG": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "tailscale-rmcp": {
      "command": "npx",
      "args": [
        "-y",
        "tailscale-rmcp",
        "mcp"
      ],
      "env": {
        "TAILSCALE_API_KEY": "your-value",
        "TAILSCALE_RMCP_VERSION": "your-value",
        "TAILSCALE_RMCP_REPO": "your-value",
        "TAILSCALE_RMCP_RELEASE_BASE_URL": "your-value",
        "RUST_LOG": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "tailscale-rmcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tailscale-rmcp",
        "mcp"
      ],
      "env": {
        "TAILSCALE_API_KEY": "your-value",
        "TAILSCALE_RMCP_VERSION": "your-value",
        "TAILSCALE_RMCP_REPO": "your-value",
        "TAILSCALE_RMCP_RELEASE_BASE_URL": "your-value",
        "RUST_LOG": "your-value"
      }
    }
  }
}

需要你填写的值

  • TAILSCALE_API_KEY 机密 必填 env
    Tailscale API key.
  • TAILSCALE_RMCP_VERSION env
    Optional GitHub release tag override for the downloaded Tailscale RMCP binary.
  • TAILSCALE_RMCP_REPO env
    Optional GitHub owner/repo override for release asset downloads.
  • TAILSCALE_RMCP_RELEASE_BASE_URL env
    Optional release download base URL override.
  • RUST_LOG env
    Tracing filter for Tailscale RMCP logs.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

GitHub 星标i
5 (星标属于其他仓库)
此条目指向他人的仓库,因此星标不计入排名
每周下载量i
不在 npm/PyPI 上
已验证域名
✓ dinglebear.ai
许可证i
AGPL-3.0
连接方式
在你的电脑上运行
最新版本i
0.1.3
发布到注册中心i
2026年7月12日
代码最后更新i
2026年11月2日
作者
jmagar
软件包
npm: tailscale-rmcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日

  • ! 注意

    作者与仓库一致

    发布者(dinglebear.ai)不是仓库所有者(dinglebear-ai);可能是其他人代为上架的

  • ✓ 通过

    仍在维护

    代码最后更新于9天前

  • ✓ 通过

    有许可证

    使用 AGPL-3.0

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 5755 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5755 个服务器的 21% 更新
  • 基础检查结果等于或优于此分类中其他 5755 个服务器的 27%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Tailscale RMCP 安全吗?

它在 3 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:TAILSCALE_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于9天前,最新版本(0.1.3)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:REA, Netdata, Front-End Checklist

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

作者:morluto广泛使用↓ 38.9万/周★ 44.8万17天前更新

在你的电脑上运行

Netdata

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

作者:netdata广泛使用★ 8.1万7天前更新

在云端运行

Front-End Checklist

Review frontend code and live pages against 386 quality-gated web development rules.

作者:thedaviddias广泛使用★ 7.5万37天前更新

在云端运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

tailscale-rmcp

Tailscale device, route, DNS, key, user, and ACL management over MCP and CLI.

It exposes one MCP tool, tailscale, plus the rtailscale CLI. Agents can list devices, inspect routes, read API keys, ACL policy, DNS settings, and users, authorize devices, and delete devices when the destructive gate is explicitly enabled.

30-second path: set TAILSCALE_API_KEY, then run npx -y @dinglebear/rtailscale devices --json -> start loopback HTTP with TAILSCALE_MCP_HOST=127.0.0.1 npx -y @dinglebear/rtailscale serve -> call tools/call with {"action":"devices"}.

Status: operational RMCP upstream-client server. Write-capable for device authorization; destructive device deletion requires both server opt-in and caller confirmation. HTTP MCP supports loopback dev mode, static bearer tokens, and Google OAuth through lab-auth.

Not for: replacing the Tailscale admin console, bypassing Tailscale account permissions, operating multiple unrelated tailnets from one trust boundary, storing API keys for callers, arbitrary WireGuard control, or passing Tailscale API keys through MCP tool arguments.

Contents

  • Naming
  • Capabilities And Boundaries
  • Install
  • Quickstart
  • Client Configuration
  • Runtime Surfaces
  • MCP Tool Reference
  • CLI Reference
  • Configuration
  • Authentication
  • Safety And Trust Model
  • Architecture
  • Distribution Contract
  • Development
  • Verification
  • Deployment
  • Troubleshooting
  • Related Servers
  • Documentation
  • License

Naming

SurfaceThis repo
Repositorytailscale-rmcp
Rust cratetailscale-rmcp
Binary / CLIrtailscale
npm package@dinglebear/rtailscale
npm binary aliasestailscale-rmcp, rtailscale
MCP tooltailscale
Config home~/.tailscale-mcp on hosts, /data in containers
Env prefixesTAILSCALE_*, TAILSCALE_MCP_*, TAILSCALE_RMCP_* for npm launcher controls

The repo, crate, and npm package use the RMCP family name. The shipped binary is rtailscale to avoid shadowing the official tailscale CLI.

Capabilities And Boundaries

  • List devices and inspect a single device by node ID or legacy numeric device ID.
  • Read subnet routes, API keys, ACL policy, DNS/MagicDNS settings, and tailnet users.
  • Authorize a device for the tailnet.
  • Delete a device only when TAILSCALE_ALLOW_DESTRUCTIVE=true and the caller also passes explicit confirmation.
  • Provide setup and doctor commands for local plugin/runtime checks.
This repo ownsTailscale ownsExplicitly out of scope
MCP/CLI projection, request validation, HTTP MCP auth policy, response shaping, setup checks, and destructive gates.Tailnet state, device identities, ACL semantics, DNS behavior, API key issuance, user membership, and upstream authorization.Replacing the admin console, storing caller credentials, multi-tailnet tenancy, arbitrary WireGuard control, policy editing beyond exposed actions, and local Tailscale daemon management.

Install

PathCommandBest forNotes
npm / npxnpx -y @dinglebear/rtailscale --helpLocal MCP clients and quick trials.Downloads the matching rtailscale binary from GitHub Releases.
Release installer`curl -fsSL https://raw.githubusercontent.com/dinglebear-ai/rtailscale/main/scripts/install.sh \bash`Host installs without Node.Installs rtailscale for the current Linux host.
Docker / Composedocker compose up -dShared HTTP MCP deployments.Reads .env and exposes container port 40040.
Build from sourcecargo build --releaseDevelopment and audits.Produces target/release/rtailscale.
Pluginclaude plugin install plugins/tailscaleClaude Code local plugin setup from this checkout.Ships the skill, .mcp.json, and a bundled binary. No hooks — run rtailscale setup check yourself if you want the environment verified.
npm / npx

Run the stdio MCP server or CLI without a manual binary install:

npx -y @dinglebear/rtailscale --help

npx -y @dinglebear/rtailscale mcp npx -y @dinglebear/rtailscale devices --json

The npm package downloads rtailscale during postinstall. Override download behavior only when testing packaging:

VariablePurpose
TAILSCALE_RMCP_SKIP_DOWNLOAD=1Skip postinstall binary download.
TAILSCALE_RMCP_VERSION or TAILSCALE_RMCP_BINARY_VERSIONSelect the GitHub Release tag.
TAILSCALE_RMCP_REPOSelect the GitHub repo used for release downloads.
TAILSCALE_RMCP_RELEASE_BASE_URLSelect a custom release base URL.
Build From Source
git clone https://github.com/dinglebear-ai/rtailscale

cd rtailscale cargo build --release ./target/release/rtailscale --help

Minimum supported Rust version: 1.86.

Quickstart

1. Get A Tailscale API Key

Create an API key at https://login.tailscale.com/admin/settings/keys. Use the minimum capability needed for the actions you plan to expose.

2. Configure The Tailnet
export TAILSCALE_API_KEY="tskey-api-..."

export TAILSCALE_TAILNET="-" # personal, or "example.com" for orgs

Every Tailscale account belongs to a tailnet. TAILSCALE_TAILNET=- targets the default personal tailnet; organization tailnets usually use the org domain.

3. Run A Safe CLI Call
npx -y @dinglebear/rtailscale devices --json
4. Start Loopback HTTP MCP
TAILSCALE_MCP_HOST=127.0.0.1 npx -y @dinglebear/rtailscale serve

In another shell:

curl -sf http://127.0.0.1:40040/health
5. Make A First MCP Call
curl -s -X POST http://127.0.0.1:40040/mcp \

-H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tailscale","arguments":{"action":"devices"}}}'

Client Configuration

Claude Code Stdio
{

"mcpServers": { "tailscale": { "command": "npx", "args": ["-y", "tailscale-rmcp", "mcp"], "env": { "TAILSCALE_API_KEY": "tskey-api-...", "TAILSCALE_TAILNET": "-" } } } }

Claude Code HTTP
{

"mcpServers": { "tailscale": { "type": "http", "url": "http://127.0.0.1:40040/mcp", "headers": { "Authorization": "Bearer ${TAILSCALE_MCP_TOKEN}" } } } }

Codex / Labby Gateway

Register Tailscale through Labby as an HTTP upstream when sharing one long-running server, or run it directly as stdio for local-only use.

[mcp_servers.tailscale]

command = "npx" args = ["-y", "tailscale-rmcp", "mcp"]

Generic MCP JSON
{

"command": "rtailscale", "args": ["mcp"], "env": { "TAILSCALE_API_KEY": "tskey-api-...", "TAILSCALE_TAILNET": "-" } }

Do not put TAILSCALE_API_KEY, OAuth secrets, passwords, SSH keys, or upstream bearer tokens in MCP tool arguments. Use env, config files, or the MCP client's secret storage. MCP callers never provide credentials, tokens, keys, or secrets as action arguments.

Runtime Surfaces

SurfaceStatusEntry pointPurpose
MCP stdioSupportedrtailscale mcp, npx -y @dinglebear/rtailscale mcpLocal child-process MCP clients.
MCP HTTPSupportedrtailscale serve, POST /mcpStreamable HTTP MCP for local or shared server deployments.
CLISupportedrtailscale Scriptable parity and debugging.
REST APINot shippedN/ATailscale already owns the REST API.
Web UINot shippedN/ATailscale already owns the admin console.

MCP Tool Reference

One MCP tool is exposed: tailscale. Pass the required action argument to select the operation.

Read Actions
ActionDescriptionRequired paramsOptional params
devicesList all devices in the tailnet.nonenone
deviceReturn one device.idnone
device_routesReturn subnet routes for one device.idnone
keysList API keys in the tailnet.nonenone
aclReturn ACL policy JSON.nonenone
dnsReturn DNS nameservers, search paths, and MagicDNS preferences.nonenone
usersList tailnet users.nonenone
helpReturn built-in action documentation.nonenone
Write Actions
ActionDescriptionRequired paramsOptional params
authorize_deviceApprove a device for the tailnet.idnone
Destructive Actions
ActionDescriptionRequired paramsOptional params
delete_devicePermanently remove a device.id, confirm=truenone

Device IDs may be stable node IDs such as n1234abc or legacy numeric device IDs. Use action=devices first to discover IDs.

CLI Reference

The binary calls the same service layer as the MCP tool:

rtailscale devices [--json]

rtailscale device [--json] rtailscale routes [--json] rtailscale keys [--json] rtailscale acl [--json] rtailscale dns [--json] rtailscale users [--json] rtailscale authorize [--json] rtailscale delete-device --confirm [--json] rtailscale doctor [--json] rtailscale setup check [--json] rtailscale setup repair [--json] rtailscale setup plugin-hook [--no-repair] [--json] rtailscale serve # HTTP MCP (also the no-argument default) rtailscale mcp # stdio MCP

All commands currently print JSON. --json is accepted for parity with the rest of the RMCP family.

Configuration

Host installs read ~/.tailscale-mcp/.env before loading config. Containers read /data/.env. Process environment overrides both.

VariableDefaultPurpose
TAILSCALE_API_KEYunsetTailscale API key.
TAILSCALE_TAILNET-Tailnet: org domain or - for personal.
TAILSCALE_ALLOW_DESTRUCTIVEfalseEnable delete_device server-side.
TAILSCALE_MCP_HOST0.0.0.0HTTP bind host.
TAILSCALE_MCP_PORT40040HTTP bind port.
TAILSCALE_MCP_SERVER_NAMEtailscale-rmcpAdvertised MCP server name.
TAILSCALE_MCP_NO_AUTHfalseDisable auth only for loopback development.
TAILSCALE_MCP_TOKENunsetStatic bearer token for HTTP MCP.
TAILSCALE_NOAUTHfalseTrust an upstream gateway to enforce auth.
TAILSCALE_MCP_AUTH_MODEbearerbearer or oauth.
TAILSCALE_MCP_PUBLIC_URLunsetPublic URL for OAuth discovery.
TAILSCALE_MCP_GOOGLE_CLIENT_IDunsetGoogle OAuth client ID.
TAILSCALE_MCP_GOOGLE_CLIENT_SECRETunsetGoogle OAuth client secret.
TAILSCALE_MCP_AUTH_ADMIN_EMAILunsetAdmin email for OAuth bootstrap.
TAILSCALE_MCP_ALLOWED_HOSTSunsetExtra accepted Host header values.
TAILSCALE_MCP_ALLOWED_ORIGINSunsetExtra accepted CORS origins.
TAILSCALE_MCP_HOMEplatform appdataOverride the config/log home used by setup and file logging.

The Tailscale API base URL is not configurable; it is fixed at https://api.tailscale.com/api/v2 in src/tailscale.rs.

Authentication

Stdio MCP runs as a local trusted child process and does not use HTTP auth.

HTTP MCP auth policy:

StateConditionBehavior
Loopback devTAILSCALE_MCP_HOST starts with 127. or auth is explicitly disabled on loopbackLocal unauthenticated development is allowed.

| Mounted bearer | Non-loopback with TAILSCALE_MCP_TOKEN | Requires Authorization: Bearer and action

只显示了开头部分;其余内容请在仓库中阅读