
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
テールネットをAIアシスタントから管理するためのMCPサーバー
概要
ワンクリックでローカルのYaw MCPコンフィグに追加して、すべてのYawターミナルセッションで利用できます。 または手動で取付けて下さい。 97 管理 API ツール + 6 オプションのローカル CLI 診断 + 1 常時カタログ ツール + 4 リソースを tailscale v2 API — デバイス、 ACL、DNS、キー、信頼資格情報、ユーザー、招待、webhook、ログのストリーミング、姿勢、サービス、および組織のテールネット。 1900以上のユニットテストとオプトインのライブテールネットインテグレーションスイートでバックアップ。 Tailscale API をカールできます。 この点は、curl を置き換えることではありません。これは、エージェントが複数のエンドポイントワークフローをスクリプトを記述することなく1ターンで補うことを可能にします。 - — デバイスのリスト、LastSeen によるフィルタ(オンラインデバイスはどれも持ちません)、keyExpiryDisabled によるフィルタ、テーブルを返します。 3つのエンドポイント、1つの質問。 - — 監査ログ、DNS関連の俳優やエンドポイントによるフィルタをプルし、各変更の前後を読み込み、英語を要約します.
概要(AI 翻訳)
ワンクリックでローカルのYaw MCPコンフィグに追加して、すべてのYawターミナルセッションで利用できます。 または手動で取付けて下さい。
あなたのエージェントの質問をし、それが答えに行動しています。 97 管理 API ツール + 6 オプションのローカル CLI 診断 + 1 常時カタログ ツール + 4 デバイス、ACL、DNS、キーおよび信頼資格、ユーザー、招待、Webhooks、ログのストリーミング、姿勢、サービス、および組織のテールネット。 1900以上のユニットテストとオプトインのライブテールネットインテグレーションスイートでバックアップ。
Yaw Labsが構築・維持
API が既に存在する場合のポイントは?
Tailscale API の curl を使用できます。 ポイントは[curlを置き換えません。これは、エージェントがスクリプトを書くことなく複数のエンドポイントワークフローを1ターンで補うことを可能にします。
-「30日間でデバイスがチェックされず、キーの有効期限が無効になっているか?」 — デバイスのリスト、 lastSeenによるフィルタ、 keyExpiryDisabledによるフィルタ、テーブルを返します。 3つのエンドポイント、1つの質問.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
@yawlabs/tailscale-mcp
One click adds this to your local Yaw MCP config so it’s available in every Yaw Terminal session. Tested with Yaw MCP 1.1.13 or newer. Or install manually below.
Ask your agent questions about your tailnet and have it act on the answers. 97 admin-API tools + 6 optional local-CLI diagnostics + 1 always-on catalog tool + 4 resources spanning the Tailscale v2 API — devices, ACLs, DNS, keys and trust credentials, users, invites, webhooks, log streaming, posture, services, and organization tailnets. Backed by 1900+ unit tests and an opt-in live-tailnet integration suite.
Built and maintained by Yaw Labs.
What’s the point if the API already exists?
You could curl the Tailscale API. The point isn’t replacing curl — it’s letting an agent compose multi-endpoint workflows in one turn without writing a script:
- “Which devices haven’t checked in for 30 days and have key expiry disabled?” — lists devices, filters by
lastSeen(online devices carry none), filters bykeyExpiryDisabled, returns a table. Three endpoints, one question. - “Someone broke DNS at 2am — who changed what in the last 24 hours?” — pulls the audit log, filters by DNS-related actors and endpoints, reads each change’s before/after, summarizes in English.
- “Draft an ACL change that lets
tag:mobilereachtag:dashboardbut nottag:db, preserving my comments” — reads the current HuJSON, proposes a minimal diff, validates it against the API, returns the diff for you to apply. - “Rotate every auth key older than 90 days and print the new ones” — iterates, creates new keys with matching tags, revokes the old ones.
- “Create an OAuth client for our CI pipeline scoped to
devices:core:readanddns:read” — creates a trust credential viatailscale_create_keywithkeyType=client, returns the credentials once (save them immediately).
A curl can do each step. The agent composes them. That’s where the lift is, and that’s what the tool surface is designed for — every read endpoint is first-class so the agent can synthesize, and every write endpoint is tagged destructiveHint or idempotentHint so your MCP client can gate mutations the way you configured it.
インストール
npx -y @yawlabs/tailscale-mcp@latest設定
{
"mcpServers": {
"tailscale": {
"command": "npx",
"args": ["-y", "@yawlabs/tailscale-mcp@latest"]
}
}
}