# Teztun

> Teztun is an open-source MCP server. Manage TezTun tunnels, subdomains, and service tokens from any MCP-compatible AI client. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/asadullokhn/teztun-mcp
- **GitHub stars:** 0
- **License:** MIT
- **MCP Registry name:** io.github.asadullokhn/teztun
- **Listing updated:** 2026-11-15

## About

Manage TezTun tunnels, subdomains, and service tokens from any MCP-compatible AI client.

## Install

### Claude Code (Terminal)

```sh
claude mcp add teztun --env TEZTUN_TOKEN='<TEZTUN_TOKEN>' -- npx -y @asadullokhn/teztun-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "teztun": {
      "command": "npx",
      "args": [
        "-y",
        "@asadullokhn/teztun-mcp"
      ],
      "env": {
        "TEZTUN_TOKEN": "<TEZTUN_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "teztun": {
      "command": "npx",
      "args": [
        "-y",
        "@asadullokhn/teztun-mcp"
      ],
      "env": {
        "TEZTUN_TOKEN": "<TEZTUN_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "teztun": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@asadullokhn/teztun-mcp"
      ],
      "env": {
        "TEZTUN_TOKEN": "<TEZTUN_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "teztun": {
      "command": "npx",
      "args": [
        "-y",
        "@asadullokhn/teztun-mcp"
      ],
      "env": {
        "TEZTUN_TOKEN": "<TEZTUN_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "teztun": {
      "command": "npx",
      "args": [
        "-y",
        "@asadullokhn/teztun-mcp"
      ],
      "env": {
        "TEZTUN_TOKEN": "<TEZTUN_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Teztun free?

Yes. Teztun is open source, so you can use and self-host it for free.

### How do I add Teztun to Claude Code?

Run this command in your terminal: claude mcp add teztun --env TEZTUN_TOKEN='<TEZTUN_TOKEN>' -- npx -y @asadullokhn/teztun-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/teztun
