teztun-mcp
@asadullokhn/teztun-mcp
官方 TezTun MCP 服务器,作为一个单次安装的 npm 包,适用于 Claude Desktop / Claude Code / Cursor / Zed / Windsurf / 任何 Model Context Protocol 客户端。
让你的 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-mcpCursor / Zed / Windsurf
每个编辑器都有一个 MCP 配置文件 (~/.cursor/mcp.json 等)。配置块的格式与上面的 Claude Desktop 示例相同。
Related MCP server: MCP Cloud Gateway
获取服务令牌
在 app.teztun.uz 注册,然后 创建服务令牌。在 Max 计划(10 美元/年)中,令牌永不过期 — 推荐用于 AI 编辑器。
该包的工作原理
此包是一个轻量级启动器。它会按顺序尝试:
如果安装了 TezTun CLI (
teztun),它将运行teztun mcp。如果 Docker 可用,它将运行
docker run --rm -i -e TEZTUN_TOKEN asadullokhn/teztun:latest mcp。否则,它会报错并提供安装说明。
没有捆绑二进制文件,没有安装后副作用。MCP 服务器本身是来自 teztun.uz/download 的 Go 二进制文件,或者是 Docker Hub 上的 asadullokhn/teztun 镜像。
暴露的工具
工具 | 功能 |
| 当前用户(计划、状态) |
| 活动隧道及其公共 URL |
| 已预留的子域名 |
| 预留新子域名(受计划限制) |
| 释放已预留的子域名(破坏性操作) |
| Max 计划下的自定义域名 |
| 用户已创建的服务令牌 |
| 创建令牌 |
| 撤销服务令牌(破坏性操作) |
链接
API 参考:https://teztun.uz/docs/api
Docker 镜像:asadullokhn/teztun
许可证
MIT。仅限启动器 — 它所生成的 MCP 服务器二进制文件是官方的 TezTun 客户端。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Secure and manage MCP servers through the Speakeasy AI Control Plane from your agent.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP (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.6666AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceUnifies 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
- AlicenseAqualityDmaintenanceEnables AI agents to deploy and manage Docker containers on your own machine via MCP tools, providing public HTTPS URLs through free Cloudflare quick tunnels.12MIT
- AlicenseNot gradedqualityBmaintenanceEnables cloud AI agents to access local STDIO MCP servers and their tools through a single authenticated Streamable HTTP endpoint, optionally tunneled via ngrok.7 npm1MIT