HT

hexsleeves/tailscale-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

156 stars 24 forks 品質 84 トレンド 21MIT

hexsleeves/tailscale-mcpは、https://github.com/hexsleeves/tailscale-mcp.からインポートされたMCPサーバー候補です。

概要

hexsleeves/tailscale-mcpは、https://github.com/hexsleeves/tailscale-mcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

TailscaleのCLIコマンドやREST APIとシームレスに統合し、標準化されたインターフェースを通じてネットワーク管理と監視を自動化できる、最新のModel Context Protocol(MCP)サーバーです。

📦 利用可能なパッケージ

  • NPM: @hexsleeves/tailscale-mcp-server
  • Docker Hub: hexsleeves/tailscale-mcp-server
  • GitHubコンテナレジストリ: ghcr.io/hexsleeves/tailscale-mcp-server

特徴

  • デバイス管理:Tailscaleデバイスのリスト、認可、権限解除、管理
  • ネットワーク操作:接続/切断、ルート管理、ネットワーク状態の監視
  • セキュリティコントロール:ACL、デバイスタグ、ネットワークロック設定の管理
  • モダンアーキテクチャ:TypeScriptとZod検証を備えたモジュラーツールシステム
  • CLI統合:Tailscale CLIコマンドとの直接統合
  • API統合:高度な操作のためのREST APIサポート

クイックスタート

オプション1:NPX(推奨)

インストールなしで直接実行:

注:--package=構文を用いたメソッド1は、異なるnpxバージョンや環境間でより信頼性が高いです。

またはグローバルにインストールすることもできます:

オプション2:Docker

Docker ハブ

GitHubコンテナレジストリ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Tailscale MCP Server

A modern Model Context Protocol (MCP) server that provides seamless integration with Tailscale’s CLI commands and REST API, enabling automated network management and monitoring through a standardized interface.

📦 Available Packages

Features

  • Device Management: List, authorize, deauthorize, and manage Tailscale devices
  • Network Operations: Connect/disconnect, manage routes, and monitor network status
  • Security Controls: Manage ACLs, device tags, and network lock settings
  • Modern Architecture: Modular tool system with TypeScript and Zod validation
  • CLI Integration: Direct integration with Tailscale CLI commands
  • API Integration: REST API support for advanced operations

Quick Start

Run directly without installation:

# Method 1: Explicit package syntax (most reliable)
npx --package=@hexsleeves/tailscale-mcp-server tailscale-mcp-server

# Method 2: Direct syntax (may work depending on npx version)
npx -y @hexsleeves/tailscale-mcp-server

Note: Method 1 with --package= syntax is more reliable across different npx versions and environments.

Or install globally:

npm install -g @hexsleeves/tailscale-mcp-server
tailscale-mcp-server

Option 2: Docker

Docker Hub

# Pull and run from Docker Hub
docker run -d \
  --name tailscale-mcp \
  -e TAILSCALE_API_KEY=your_api_key \
  -e TAILSCALE_TAILNET=your_tailnet \
  hexsleeves/tailscale-mcp-server:latest

GitHub Container Registry

# Pull and run from GitHub Container Registry
docker run -d \
  --name tailscale-mcp \
  -e TAILSCALE_API_KEY=your_api_key \
  -e TAILSCALE_TAILNET=your_tailnet \
  ghcr.io/hexsleeves/tailscale-mcp-server:latest

Docker Compose

# Use the included docker-compose.yml
docker-compose up -d

Configuration

Claude Desktop

Add to your Claude Desktop configuration (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "tailscale": {
      "command": "npx",
      "args": [
        "--package=@hexsleeves/tailscale-mcp-server",
        "tailscale-mcp-server"
      ],
      "env": {
        "TAILSCALE_API_KEY": "your-api-key-here",
GitHub で README 全文を見る

インストール

npx --package=@hexsleeves/tailscale-mcp-server tailscale-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "tailscale": { "command": "npx", "args": [ "--package=@hexsleeves/tailscale-mcp-server", "tailscale-mcp-server" ], "env": { "TAILSCALE_API_KEY": "your-api-key-here", "TAILSCALE_TAILNET": "your-tailnet-name" } } } }