JT

jaxxstorm/tailscale-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

35 stars 6 forks 품질 50 트렌드 32

MCP (Model Context Protocol) 서버는 Tailscale에 대한 자세한 쿼리 및 장치, DNS, 사용자, 초대, 키, webhooks, 서비스, 로깅, 정책 검증 및 tailnet에 대한 운영을 가능하게합니다.

개요

Tailscale를 위한 MCP (모델 콘텍스트 프로토콜) 서버는 장치, DNS, 사용자, 초대, 키, webhooks, 서비스, 로깅, 정책 검증 및 tailnet 설정에 대한 상세한 쿼리 및 작업을 가능하게 합니다. 그것은 /mcp에 Streamable HTTP에 MCP를 봉사하고 정밀한 곡물 접근 제한을 위한 Tailscale OAuth 보조금을 사용합니다. * : tailscale 및 localhost를 통해 /mcp에 MCP를 제공합니다. * : 공급 업체 인 Tailscale OpenAPI 스냅 샷의 전체지도 된 적용 * : jaxxstorm.com/cap/mcp와 미세 곡물 MCP 액세스 제어 * : Admin API 액세스 및 tsnet 시작을위한 TAILSCALE OAUTH TOKEN 사용 * : 기본으로 파일 시스템의 tsnet 상태 저장, 옵션 쿠버네티스 비밀 또는 AWS SSM 주점 * : 기존 클라이언트를 위해 사용 가능한 이전 모드를 사용할 수 있습니다. OAuth 클라이언트 ID를 별도로 제공 할 수 있습니다. * http://.yourtailnet.ts.net:8080/mcp * http://127.0.0.

개요(AI 번역)

MCP (Model Context Protocol) 서버는 독립적으로 Tailscale 및 가늠구멍 서비스를 가능하게 합니다. /tailscale/mcp]; 가늠구멍 윤곽과 가격 관리는 /aperture/mcp]에 있는 opt-in입니다. Enabled 서비스는 Streamable HTTP 포트를 공유하고 고급 액세스 제어를위한 Tailscale 보조금을 사용합니다.

특징

  • Streamable HTTP Transport: Serves /tailscale/mcp 및 opt-in /aperture/mcp]과 같은 청취자 및 포트를 통해 tailscale, 옵션 HTTPS 및 별도의 선택 루프백 HTTP
  • **Comprehensive Tailscale 통합 **: 공급 업체의 풀 매핑 된 Tailscale OpenAPI 스냅 샷
  • **Opt-In 가늠구멍 통합 **: 구성 교체를 위한 명시한 확인 및 ETag 보호와 더불어 5가지 유형의 구성과 가격 공구를 위한 --aperture에 사용 가능 *Alpha 조직 APIs: 목록 조직 tailnets, API-only tailnets를 만들고, 감시한 공구를 가진 명시적으로 형성된 tailnet만 삭제하십시오
  • **OAuth Grants Authorization **: 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 가이드부터 시작하세요 →