Skip to main content
Glama

@asadullokhn/teztun-mcp

公式のTezTun MCPサーバーです。Claude Desktop / Claude Code / Cursor / Zed / Windsurf / その他Model Context Protocolクライアント向けの単一インストールnpmパッケージとして提供されます。

AIエディタからチャットを通じてTezTunインフラを管理できます:

  • 「現在のWebhook URLは何?」 → list_tunnels

  • 「demoというサブドメインを予約して」 → reserve_subdomain

  • 「prod-docker用のサービス用トークンを発行して(有効期限なし)」 → create_service_token

  • 「staging-ciトークンを取り消して」 → revoke_service_token

インストールと設定

手動でインストールする必要はありません。MCPクライアントがnpx経由で実行します。お使いのクライアントを選択してください:

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) または %APPDATA%\Claude\claude_desktop_config.json (Windows) を編集します:

{
  "mcpServers": {
    "teztun": {
      "command": "npx",
      "args": ["-y", "@asadullokhn/teztun-mcp"],
      "env": { "TEZTUN_TOKEN": "tzt_your-token-here" }
    }
  }
}

Claude Code

claude mcp add --scope user teztun \
  -e TEZTUN_TOKEN=tzt_your-token-here \
  -- npx -y @asadullokhn/teztun-mcp

Cursor / Zed / Windsurf

各エディタにはMCP設定ファイル(~/.cursor/mcp.jsonなど)があります。ブロックの形式は上記のClaude Desktopの例と同じです。

Related MCP server: MCP Cloud Gateway

サービス用トークンの取得

app.teztun.uzでサインアップし、サービス用トークンを発行してください。Maxプラン(年間10ドル)ではトークンの有効期限が切れないため、AIエディタでの利用に推奨されます。

パッケージの仕組み

このパッケージは軽量なランチャーです。以下の順序で実行を試みます:

  1. TezTun CLI (teztun) がインストールされている場合、teztun mcpを実行します。

  2. Dockerが利用可能な場合、docker run --rm -i -e TEZTUN_TOKEN asadullokhn/teztun:latest mcpを実行します。

  3. それ以外の場合は、インストール手順を表示してエラー終了します。

バイナリのバンドルやインストール後の副作用はありません。MCPサーバー自体はteztun.uz/downloadから取得するGoバイナリ、またはDocker Hubのasadullokhn/teztunイメージです。

公開されているツール

ツール

説明

get_account

現在のユーザー情報(プラン、ステータス)

list_tunnels

アクティブなトンネルと公開URLの一覧

list_subdomains

予約済みサブドメインの一覧

reserve_subdomain(name)

新しいサブドメインを予約(プラン制限あり)

release_subdomain(id)

予約済みサブドメインを解放(破壊的操作)

list_custom_domains

Maxプランでのカスタムドメイン一覧

list_service_tokens

ユーザーが発行したサービス用トークンの一覧

create_service_token(name, expiry_seconds?, expire_never?)

トークンを発行

revoke_service_token(id)

サービス用トークンを取り消し(破壊的操作)

リンク

ライセンス

MIT。ランチャーのみ — 起動されるMCPサーバーバイナリは公式のTezTunクライアントです。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP (Model Context Protocol) server for rustunnel. Lets AI agents (Claude Code, Cursor, Windsurf) create and manage public tunnels to local services from inside an agent session.
      6
      663
      AGPL 3.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Unifies local MCP servers into a single secure Cloudflare Tunnel endpoint, making them accessible to MCP clients like Notion and Claude. Supports HTTP/SSE/stdio servers, built-in file system tools, bearer authentication, and one-click Windows setup.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables cloud AI agents to access local STDIO MCP servers and their tools through a single authenticated Streamable HTTP endpoint, optionally tunneled via ngrok.
      39 npm
      1
      MIT