# TSLink

> TSLink is an open-source MCP server for developer tools. Private ts.net address per local dev server, so your agent can share it to your phone. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux
- **Website:** https://tslink.md
- **Repository:** https://github.com/anydoor7/tslink
- **MCP Registry name:** io.github.anydoor7/tslink
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

The practical problem it solves is testing a coding agent's running app on a real phone. TSLink creates a private HTTPS name on your Tailscale network for each local app, and the agent shares it, hands you the exact URL and removes it afterwards. The project says it is independent and not made by Tailscale.

You need a Tailscale account with MagicDNS and HTTPS enabled, and the Tailscale app signed in to the same tailnet on your phone. New gateway apps allow the owner, admins and explicitly granted people, and grants default to 24 hours. The site warns that names appear in public certificate logs and that an app's own Host and Origin rules can still block requests.

Its test used Vite 8.3.5 on an iPhone 15 Pro; Next.js was not tested.

## Features

- **Private URL per app:** Each app gets its own name on your tailnet.
- **Agent-driven sharing:** The agent shares, reports the URL and unshares.
- **Access control:** Owner, admins and granted people by default.
- **Open-source CLI:** Install by Homebrew on macOS or Linux.
- **Claude Code plugin:** Available as a plugin as well as MCP.

## Good for

- Check a dev server on a real phone
- Let an agent hand you a test link
- Share an app only with specific people
- Remove the link when finished

## Install

### Claude Code (Terminal)

```sh
claude mcp add tslink -- npx -y https://github.com/anydoor7/tslink/releases/download/v0.4.0/tslink-0.4.0-darwin-universal.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "tslink": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/anydoor7/tslink/releases/download/v0.4.0/tslink-0.4.0-darwin-universal.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "tslink": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/anydoor7/tslink/releases/download/v0.4.0/tslink-0.4.0-darwin-universal.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "tslink": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/anydoor7/tslink/releases/download/v0.4.0/tslink-0.4.0-darwin-universal.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "tslink": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/anydoor7/tslink/releases/download/v0.4.0/tslink-0.4.0-darwin-universal.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "tslink": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/anydoor7/tslink/releases/download/v0.4.0/tslink-0.4.0-darwin-universal.mcpb"
      ]
    }
  }
}
```

## Tools

- `share`: Registers a private address for a local app and returns its name.
- `unshare`: Removes a share by the name that share returned.

## FAQ

### What do I need?

A Tailscale account with MagicDNS and HTTPS, and the Tailscale app on your phone.

### Is it made by Tailscale?

No, it is an independent project.

### Is the name public?

Names appear in public certificate logs.

### How do I install it?

brew install --cask anydoor7/tap/tslink on macOS or Linux.

### Is TSLink free?

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

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

Run this command in your terminal: claude mcp add tslink -- npx -y https://github.com/anydoor7/tslink/releases/download/v0.4.0/tslink-0.4.0-darwin-universal.mcpb

### What are the best alternatives to TSLink?

The closest alternatives to TSLink are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

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