Tailscale MCP by usefulapi

io.usefulapi由 usefulapi.io 发布官方发布者v1.36.3更新于 Nov 7, 2026

Read devices, users, keys, ACLs and DNS for a tailnet; manage devices, routes and auth keys.

发布方自己的服务:Ably MCP by usefulapi

已验证Streamable HTTP可网页运行云端与基础设施安全与监控

概览

AI 生成的概览

托管式 Tailscale MCP 服务器,让助手读取 tailnet 的设备、用户、密钥、ACL 与 DNS,并管理设备、路由和认证密钥。

可以做什么
  • 列出并查看设备、设备通告及已启用的子网路由,以及 tailnet 用户
  • 读取认证密钥与 API 令牌,包括能力、到期时间和使用情况
  • 读取 ACL 策略文件、DNS 名称服务器、搜索域、拆分 DNS、DNS 偏好和 tailnet 设置
  • 列出已配置的 webhook 端点
  • 授权或取消授权设备、重命名设备、替换标签、启用路由、使节点密钥过期、删除设备
  • 创建和吊销认证密钥,查看用量或管理订阅方案
适用场景
适合在聊天客户端中审计或管理 Tailscale tailnet 而无需本地安装:查找长期未上线的设备、查看用户与角色、发现即将过期的密钥,或在安全事件响应中调整设备与密钥。
运行要求
通过 streamable HTTP 连接的远程端点,无需本地安装。登录使用 OAuth,首次连接时需提供自己的 Tailscale API 访问令牌(来自管理控制台,可选限定到某个 tailnet)。客户端配置中不要添加 API 密钥或 Authorization 头。免费方案每月 50 次工具调用,付费方案可提高上限。
安装前请注意
多个工具会修改或删除数据:授权设备、重命名、替换标签、替换已启用路由、使节点密钥过期、创建和吊销认证密钥、删除设备。标签和路由工具是整体替换而非合并。Tailscale API 令牌由第三方托管方按用户保存,所有调用都经其转发。付费方案通过结账链接付款,取消后当期不退款。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Tailscale MCP by usefulapi,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.usefulapi%2Ftailscale/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "tailscale-by-usefulapi": {
      "type": "http",
      "url": "https://tailscale.usefulapi.io/mcp"
    }
  }
}

README

Tailscale MCP by usefulapi

Use your Tailscale account from Claude, Cursor, or any MCP client — read devices, users, keys, ACLs and DNS for a tailnet, and manage devices, routes and auth keys. Hosted, no local install: connect with your own credentials.

Live endpoint: https://tailscale.usefulapi.io/mcp · Homepage: https://usefulapi.io

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://tailscale.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http tailscale https://tailscale.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "tailscale": {      "url": "https://tailscale.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Tailscale credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/tailscale/

On first connect you'll provide your Tailscale API access token (admin console → Settings → Keys), optionally scoped to a tailnet. It is validated, stored per-user, and scoped to you — no keys in config files.

Tools

ToolTypeWhat it does
tailscale_list_devicesreadList devices
tailscale_get_devicereadGet device
tailscale_list_device_routesreadList device routes
tailscale_list_keysreadList keys
tailscale_get_keyreadGet key
tailscale_get_policy_filereadGet policy file
tailscale_list_dns_nameserversreadList DNS nameservers
tailscale_get_dns_preferencesreadGet DNS preferences
tailscale_list_dns_searchpathsreadList DNS search paths
tailscale_get_split_dnsreadGet split DNS
tailscale_list_usersreadList users
tailscale_get_userreadGet user
tailscale_list_webhooksreadList webhooks
tailscale_get_tailnet_settingsreadGet tailnet settings
tailscale_authorize_devicewriteAuthorize device
tailscale_set_device_namewriteSet device name
tailscale_set_device_tagswriteSet device tags
tailscale_expire_device_keywriteExpire device key
tailscale_set_device_routeswriteSet device routes
tailscale_create_auth_keywriteCreate auth key
tailscale_delete_keywriteDelete key
tailscale_delete_devicewriteDelete device
tailscale_usage_statusmetaUsage status (free-tier meter)
tailscale_request_featuremetaRequest a missing feature
tailscale_upgrademetaUpgrade to Pro or Pro+
tailscale_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with tailscale_upgrade (it returns a Stripe Checkout link). Cancel any time with tailscale_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running tailscale_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT — see LICENSE. Documentation only; the server is hosted.

来源:servers/tailscale/README.md,提交 4046075

工具

22

tailscale_list_devices

List devices

List all devices in the tailnet (name, addresses, OS, last seen, tags, etc.). Tailscale REST: GET /tailnet/{tailnet}/devices.

输入参数fields

tailscale_get_device

Get device

Get a single device by id. Tailscale REST: GET /device/{deviceId}.

输入参数fieldsdeviceId必填

tailscale_list_device_routes

List device routes

List the subnet routes a device advertises and which are enabled. Tailscale REST: GET /device/{deviceId}/routes.

输入参数deviceId必填

tailscale_list_keys

List keys

List auth keys and API access tokens for the tailnet. Tailscale REST: GET /tailnet/{tailnet}/keys.

输入参数all

tailscale_get_key

Get key

Get details of a single auth key / API access token by id (capabilities, expiry, usage). Tailscale REST: GET /tailnet/{tailnet}/keys/{keyId}.

输入参数keyId必填

tailscale_get_policy_file

Get policy file

Get the tailnet's ACL / policy file (returned as JSON via the Accept header, not HuJSON). Tailscale REST: GET /tailnet/{tailnet}/acl.

输入参数details

tailscale_list_dns_nameservers

List DNS nameservers

List the global DNS nameservers configured for the tailnet. Tailscale REST: GET /tailnet/{tailnet}/dns/nameservers.

无需输入参数。

tailscale_get_dns_preferences

Get DNS preferences

Get the tailnet's DNS preferences (e.g. whether MagicDNS is enabled). Tailscale REST: GET /tailnet/{tailnet}/dns/preferences.

无需输入参数。

tailscale_list_dns_searchpaths

List DNS search paths

List the DNS search paths (search domains) configured for the tailnet. Tailscale REST: GET /tailnet/{tailnet}/dns/searchpaths.

无需输入参数。

tailscale_get_split_dns

Get split DNS

Get the tailnet's split-DNS configuration — a map of domain → nameservers. Tailscale REST: GET /tailnet/{tailnet}/dns/split-dns.

无需输入参数。

tailscale_list_users

List users

List users of the tailnet, optionally filtered by type, role or status. Tailscale REST: GET /tailnet/{tailnet}/users.

输入参数roletypestatus

tailscale_get_user

Get user

Get a single user by id. Tailscale REST: GET /users/{userId}.

输入参数userId必填

tailscale_list_webhooks

List webhooks

List the webhook endpoints configured for the tailnet. Tailscale REST: GET /tailnet/{tailnet}/webhooks.

无需输入参数。

tailscale_get_tailnet_settings

Get tailnet settings

Get the tailnet's settings (device approval, key expiry, posture, etc.). Tailscale REST: GET /tailnet/{tailnet}/settings.

无需输入参数。

tailscale_authorize_device

Authorize device

Authorize or de-authorize a device (only relevant when device approval is enabled for the tailnet). Tailscale REST: POST /device/{deviceId}/authorized.

输入参数deviceId必填authorized必填

tailscale_set_device_name

Set device name

Set (rename) a device's name. Tailscale REST: POST /device/{deviceId}/name.

输入参数name必填deviceId必填

tailscale_set_device_tags

Set device tags

Set a device's ACL tags. REPLACES the device's existing tags. Tailscale REST: POST /device/{deviceId}/tags.

输入参数tags必填deviceId必填

tailscale_expire_device_key

Expire device key

Expire a device's node key, forcing it to re-authenticate — a security response to a compromised or lost device. Tailscale REST: POST /device/{deviceId}/expire.

输入参数deviceId必填

tailscale_set_device_routes

Set device routes

Set the subnet routes ENABLED for a device (from the routes it advertises). REPLACES the enabled set. Tailscale REST: POST /device/{deviceId}/routes.

输入参数routes必填deviceId必填

tailscale_create_auth_key

Create auth key

Create a new auth key for the tailnet (used to register new devices). Tailscale REST: POST /tailnet/{tailnet}/keys.

输入参数tagsreusableephemeraldescriptionexpirySecondspreauthorized

tailscale_delete_key

Delete key

Delete (revoke) an auth key or API access token by id — a security response. Tailscale REST: DELETE /tailnet/{tailnet}/keys/{keyId}.

输入参数keyId必填

tailscale_delete_device

Delete device

Delete a device, removing it from the tailnet. Tailscale REST: DELETE /device/{deviceId}.

输入参数deviceId必填

版本历史

21
  1. v1.36.3最新Nov 7, 2026
  2. v1.35.3Nov 5, 2026
  3. v1.35.2Nov 5, 2026
  4. v1.35.1Nov 4, 2026
  5. v1.35.0Nov 3, 2026
  6. v1.34.1Nov 3, 2026
  7. v1.33.0Nov 1, 2026
  8. v1.31.0Oct 31, 2026
  9. v1.30.0Oct 31, 2026
  10. v1.29.2Oct 30, 2026
  11. v1.29.0Oct 30, 2026
  12. v1.24.0Oct 26, 2026
  13. v1.21.3Oct 25, 2026
  14. v1.21.0Oct 25, 2026
  15. v1.20.0Oct 24, 2026
  16. v1.17.0Oct 23, 2026
  17. v1.16.4Oct 22, 2026
  18. v1.16.3Oct 21, 2026
  19. v1.11.1Oct 9, 2026
  20. v1.10.0Oct 9, 2026
  21. v1.0.0Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Usefulapi 集成