JT

jaxxstorm/tailscale-mcp

Developer tools

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

35 stars 6 forks 品質 50 トレンド 32

Tailscale 用の MCP (Model Context Protocol) サーバーで、デバイス、DNS、ユーザー、招待、キー、Webhooks、サービス、ロギング、ポリシー検証、テールネットの詳細なクエリと操作を可能にします.

概要

テールスケール用のMCP(Model Context Protocol)サーバーで、デバイス、DNS、ユーザー、招待、キー、Webhook、サービス、ロギング、ポリシー検証、およびテールネット設定の詳細なクエリと操作を可能にします。 /mcp でストリーミング可能な HTTP 上で MCP を実行し、テールスケール OAuth の付与機能を使用して、細かいアクセス制御を実現します。 * : Tailscale と localhost 経由で /mcp で MCP をサーブします。 * : ベンダーの Tailscale OpenAPI スナップショットのフルマップされたカバレッジ * : jaxxstorm.com/cap/mcp によるファイングラインド MCP アクセス制御 * : 管理者 API アクセスと tsnet スタートアップの TAILSCALE OAUTH TOKEN を使用する * : デフォルトでファイルシステム上の tsnet 状態を保存します。オプションの Kubernetes または AWS 状態が保存されます。 * ローカル 以前のお客様は、ローカル モードが保存されます。 * OAuth クライアント ID を別々に提供することもできます。 * http://.yourtailnet.ts.net:8080/mcp * http://127.0.0.]

概要(AI 翻訳)

MCP (Model Context Protocol) サーバは、Tailscale および Aperture サービスを独自に有効化しました。 [[/tailscale/mcp]で有効にするためのテールスケールのデフォルト; 絞りの設定と価格設定の管理は、[/aperture/mcp]でオプトインされます。 有効化されたサービス共有 ストリーミング可能な HTTP ポートとテールスケールの付与を使用して、細かいアクセス制御を実現します。

##特徴

*Streamable HTTP Transport:Serves /tailscale/mcp] および [[/aperture/mcp]] を同じリスナーで指定し、HTTPS と別々にループバック HTTP を経由してポートをオンにします

  • 包括的なテールスケール統合: ベンダーのTailscale OpenAPIスナップショットの完全なマッピングされたカバレッジ *Opt-In Aperture の統合: 5つのタイプされた構成および価格設定用具のための[[[[[T4]と有効になり、構成の取り替えのための明示的な確認そしてETagの保護を使って *アルファ組織API: リスト組織のtailnets、APIのみのtailnetを作成し、ガードされたツールで明示的に設定されたtailnetだけを削除 *OAuth は承認を付与します: [[jaxxstorm.com/cap/mcp] の MCP アクセス制御を微調整

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

README

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

Tailscale MCP Server

An MCP (Model Context Protocol) server with independently enabled Tailscale and Aperture services. Tailscale defaults to enabled at /tailscale/mcp; Aperture configuration and pricing management is opt-in at /aperture/mcp. Enabled services share Streamable HTTP ports and use Tailscale grants for fine-grained access control.

Features

  • Streamable HTTP Transport: Serves /tailscale/mcp and opt-in /aperture/mcp on the same listener and port via Tailscale, with optional HTTPS and separately opt-in loopback HTTP
  • Comprehensive Tailscale Integration: Full mapped coverage of the vendored Tailscale OpenAPI snapshot
  • Opt-In Aperture Integration: Enable with --aperture for five typed configuration and pricing tools, with explicit confirmation and ETag protection for configuration replacement
  • Alpha Organization APIs: List organization tailnets, create API-only tailnets, and delete only the explicitly configured tailnet with guarded tools
  • OAuth Grants Authorization: Fine-grained MCP access control with jaxxstorm.com/cap/mcp
  • Single Credential Startup: Uses TAILSCALE_OAUTH_TOKEN for tsnet startup and, when Tailscale MCP is enabled, Admin API access
  • Workload Identity: Explicit Kubernetes projected-token, AWS STS, and GCP attached-service-account providers, with legacy inline/file federation and OAuth credentials preserved
  • Configurable tsnet State: Stores tsnet state on the filesystem by default, with optional Kubernetes Secret or AWS SSM state stores
  • Legacy stdio Compatibility: Deprecated Tailscale-only stdio mode remains available for older local clients; Aperture requires HTTP

Quick Start

export TAILSCALE_OAUTH_TOKEN='{"type":"oauth","clientId":"k123...","clientSecret":"tskey-client-...","scopes":["all"]}'
export TAILSCALE_TAILNET="yourtailnet.com"
export TS_ADVERTISE_TAGS="tag:mcp-server"
./ts-mcp

You can also provide the OAuth client ID separately:

export TAILSCALE_OAUTH_TOKEN="tskey-client-..."
export TAILSCALE_OAUTH_CLIENT_ID="k123..."
export TAILSCALE_TAILNET="yourtailnet.com"
export TS_ADVERTISE_TAGS="tag:mcp-server"
./ts-mcp

The default endpoint is http://.yourtailnet.ts.net:8080/tailscale/mcp; no loopback listener opens by default. Enable Aperture with --aperture=true (or --aperture) to also serve http://.yourtailnet.ts.net:8080/aperture/mcp. Use --tls for tailnet HTTPS (default port 443 for enabled paths, requiring tailnet HTTPS support). Certificate issuance can publish the node’s DNS name in certificate transparency logs.

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →