Skip to content
MCP server

TSLink

Private ts.net address per local dev server, so your agent can share it to your phone

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
Version
0.4.0
Listing updated
3 days ago

About TSLink

TSLink is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

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.

Install

Run in a terminal

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

Add to claude_desktop_config.json

{
  "mcpServers": {
    "tslink": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/anydoor7/tslink/releases/download/v0.4.0/tslink-0.4.0-darwin-universal.mcpb"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tslink": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/anydoor7/tslink/releases/download/v0.4.0/tslink-0.4.0-darwin-universal.mcpb"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.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"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

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

What it does

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

Pricing

Open source

Prices change. Check tslink.md before you buy.

TSLink 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 to TSLink

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools