Tailscale RMCP
ai.dinglebear由 dinglebear.ai 發布官方發布者v0.1.4更新於 Oct 24, 2026
Tailscale device, route, DNS, key, user, and ACL management over MCP and CLI.
概覽
把 Tailscale 網路接進助理:列出裝置、檢視路由、DNS、ACL、金鑰與使用者,並可授權或刪除裝置。
- 可以做什麼
- 列出並檢視裝置,包括單一裝置的子網路路由
- 讀取 API 金鑰、ACL 政策 JSON、DNS/MagicDNS 設定與網路使用者
- 為網路授權一台裝置
- 刪除裝置,僅在伺服器端開啟開關且呼叫端明確確認時可用
- 透過 CLI 執行相同操作,並提供 setup 與 doctor 自我檢查指令
- 適用情境
- 適合讓助理回答關於 Tailscale 網路的問題,或在不開啟管理主控台的情況下完成日常裝置管理,例如核准新節點。也適合希望同時透過 MCP 與 CLI 執行相同操作的腳本化或家用實驗室流程。
- 執行需求
- 需要 TAILSCALE_API_KEY 中的 Tailscale API 金鑰,以及 TAILSCALE_TAILNET(預設為個人網路)。可作為遠端端點執行,也可透過 npx(會從 GitHub Releases 下載二進位檔)、Docker 或 Rust 1.86+ 原始碼建置執行。非回送位址上的 HTTP 模式需要 TAILSCALE_MCP_TOKEN 的 bearer 驗證、Google OAuth 設定或可信任閘道。需能存取 Tailscale API。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Tailscale RMCP,將其新增到工作區。
- 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/ai.dinglebear%2Frtailscale/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"tailscale-rmcp": {
"type": "http",
"url": "https://ts.dinglebear.ai/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
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
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=trueand the caller also passes explicit confirmation. - Provide setup and doctor commands for local plugin/runtime checks.
Install
npm / npx
Run the stdio MCP server or CLI without a manual binary install:
The npm package downloads rtailscale during postinstall. Override download
behavior only when testing packaging:
Build From Source
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
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
4. Start Loopback HTTP MCP
In another shell:
5. Make A First MCP Call
Client Configuration
Claude Code Stdio
Claude Code HTTP
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.
Generic MCP JSON
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
MCP Tool Reference
One MCP tool is exposed: tailscale. Pass the required action argument to
select the operation.
Read Actions
Write Actions
Destructive Actions
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:
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.
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:
Non-loopback HTTP startup is rejected unless bearer auth, OAuth, or
TAILSCALE_NOAUTH=true is configured.
Safety And Trust Model
- Tailscale API keys are loaded from config/env only.
- MCP callers select actions and IDs, not upstream credentials.
delete_devicehas a two-key interlock:TAILSCALE_ALLOW_DESTRUCTIVE=trueon the server and caller-providedconfirm=true.- Missing IDs and unknown actions fail before upstream calls.
- Non-loopback HTTP deployments must use bearer auth, OAuth, or a trusted authenticated gateway.
- This bridge does not sandbox Tailscale itself. Tailscale remains responsible for API permissions and tailnet state changes.
Architecture
Distribution Contract
Cargo.toml,Cargo.lock,packages/tailscale-rmcp/package.json,.release-please-manifest.json, andserver.jsonmust agree on the released version.- GitHub Releases publish the
rtailscalebinary consumed by the npm launcher. - The npm package name is
@dinglebear/rtailscale; binary aliases aretailscale-rmcpandrtailscale. - Docker/OCI metadata uses
ghcr.io/dinglebear-ai/rtailscale:<version>(seedocker-compose.prod.yml). The image path still uses the pre-transfer owner namespace even though the repo now lives atdinglebear-ai/rtailscale. plugins/tailscale/.mcp.jsonmust launchnpx -y @dinglebear/rtailscale mcpso stdio clients start the MCP transport rather than the HTTP server.plugins/tailscale/ships no Claude Code hooks;scripts/validate-plugin-layout.shfails if ahooks/directory reappears.- The root README is curated. Source of truth for action behavior and config
defaults is
src/, plus the package, plugin, and registry manifests.
Development
Verification
Runtime smoke:
HTTP smoke:
Deployment
Use loopback for local development:
Use Docker Compose for shared HTTP deployment:
When binding to a non-loopback address, configure TAILSCALE_MCP_TOKEN,
TAILSCALE_MCP_AUTH_MODE=oauth, or TAILSCALE_NOAUTH=true behind an
authenticated gateway.
Troubleshooting
Related Servers
- soma - RMCP runtime and scaffold for provider-backed MCP servers.
- unifi-rmcp - UniFi controller REST API bridge.
- unraid - Unraid monorepo;
unraid-rs/is the GraphQL bridge for NAS and server management. - apprise-rmcp - Apprise notification fan-out bridge for many delivery backends.
- gotify-rmcp - Gotify push notification bridge for sends, messages, apps, and clients.
- arcane-rmcp - Arcane Docker management bridge for containers and related resources.
- yarr - Media-stack bridge for Sonarr, Radarr, Prowlarr, Plex, and related services.
- ytdl-rmcp - Media download and metadata workflow server.
- synapse-rmcp - Local Synapse workflow server for scout and flux actions.
- cortex - Syslog and homelab log aggregation MCP server.
- axon - RAG, crawl, scrape, extract, and semantic search project.
- labby - Homelab control plane and MCP gateway project.
- lumen - Local semantic code search MCP server.
Documentation
CLAUDE.mdis the curated local operating guide for contributors and agents.docs/SETUP.mdis curated plugin/setup guidance.docs/OAUTH.mdis curated OAuth setup guidance.plugins/tailscale/skills/tailscale/SKILL.mdis the agent usage guide.src/is the source of truth for current actions, config defaults, auth behavior, and CLI parsing.- Package, plugin, Docker, and registry manifests are curated distribution contracts and should be checked with the verification commands above.
License
Original Dinglebear-authored portions of this project are licensed under AGPL-3.0-only. Separate commercial licensing is available for organizations that need terms outside the AGPL. Third-party material remains under its original license. See LICENSING.md.
來源:README.md,提交 d10e4d5
工具
0版本歷史
1- v0.1.4最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Dinglebear 整合
Yarr MCP
ai.dinglebear
MCP 與 CLI 伺服器,讓助理查詢並控制自架的 Sonarr、Radarr、Prowlarr、Plex、Jellyfin 等媒體服務。
Yarr MCP
ai.dinglebear
一個 MCP 伺服器兼 CLI,為助理提供統一的工具介面,用來查詢與操控 Sonarr、Radarr、Plex 等自架媒體服務。

Unraid MCP
ai.dinglebear
Python 版 MCP 伺服器,讓助理透過 Unraid 的 GraphQL API 查詢與管理 Unraid 伺服器。
Soma
ai.dinglebear
Soma 是一個本機 Rust 執行環境,只暴露一個精簡的 MCP 工具,讓助理透過 stdio 或 HTTP 呼叫內建動作與放入的 provider 工具。
Labby
ai.dinglebear
Labby 是本地執行的 Rust MCP 閘道,提供 Code Mode、驗證、安裝設定、日誌、CLI、HTTP API 與維運網頁介面,透過 npx 啟動。