Back to MCP directory
publicPublicdnsLocal runtime

Tailscale Status

一个极简的MCP服务器,允许通过macOS上的Tailscale CLI查询状态

article

README

🚀 尾尺度-mcp

尾尺度 - mcp 是一个极为轻量的 MCP 服务器,它支持 Claude 通过在 macOS 系统上运行 tailscale 命令行工具(CLI)来查询 Tailscale 的状态。目前此项目还处于非常早期的初稿阶段。

🚀 快速开始

✨ 主要特性

  • 允许Claude在macOS上查询Tailscale状态。
  • 支持标准输入输出传输和HTTP/SSE传输两种方式。

📦 安装指南

运行该项目需要满足以下条件:

  • 安装 Python。
  • /Applications/Tailscale.app/Contents/MacOS/Tailscale 路径下安装 Tailscale。
  • 使用 uv 进行依赖管理。

💻 使用示例

基础用法

运行使用标准输入输出传输的服务器(默认方式):

python tailscale.py

高级用法

在指定端口上运行使用 HTTP 传输的服务器:

python tailscale.py --transport http --port 4001
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client