Koskamo

Tailscale MCP

An MCP server that lets AI agents safely interact with the local Tailscale daemon over stdio. It enables tailnet discovery, SSH config generation, port sharing via Serve/Funnel, and latency matrices without handling auth keys or credentials directly.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Tailscale MCP logo, by TMHSDigitalCommunity listingLocal stdioSource reviewed; not executedPublished by TMHSDigital
You need:Requires Node 22 or newer and a Tailscale client that's installed and logged in.
Vendor documentation

What you can do with it

  • List devices and check tailnet status
  • Generate and write SSH configuration
  • Share dev servers via Serve/Funnel
  • Check link latency with ping matrix

Source and maintenance

Community listingRegistry 0.4.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@tmhs/tailscale-mcp 0.4.0

npm
@tmhs/tailscale-mcp package definition
{
  "version": "0.4.0",
  "transport": "stdio",
  "identifier": "@tmhs/tailscale-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "TAILSCALE_MCP_ALLOW_FUNNEL",
      "format": "boolean",
      "description": "Set to 1 to let share_port expose a port to the open internet with Funnel (off by default)"
    },
    {
      "name": "TAILSCALE_MCP_READONLY",
      "format": "boolean",
      "description": "Set to 1 for monitoring only: no share tools, and no SSH config writes"
    },
    {
      "name": "TAILSCALE_MCP_BIN",
      "format": "filepath",
      "description": "Path to the tailscale binary if it is not on PATH or in the default install location"
    },
    {
      "name": "TAILSCALE_MCP_TIMEOUT_MS",
      "format": "number",
      "description": "Per-call timeout for tailscale commands in milliseconds (default 10000)"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "tailscale-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tmhs/tailscale-mcp@0.4.0"
      ],
      "env": {
        "TAILSCALE_MCP_ALLOW_FUNNEL": "<YOUR_TAILSCALE_MCP_ALLOW_FUNNEL>",
        "TAILSCALE_MCP_READONLY": "<YOUR_TAILSCALE_MCP_READONLY>",
        "TAILSCALE_MCP_BIN": "<YOUR_TAILSCALE_MCP_BIN>",
        "TAILSCALE_MCP_TIMEOUT_MS": "<YOUR_TAILSCALE_MCP_TIMEOUT_MS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "tailscale-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tmhs/tailscale-mcp@0.4.0"
      ],
      "env": {
        "TAILSCALE_MCP_ALLOW_FUNNEL": "<YOUR_TAILSCALE_MCP_ALLOW_FUNNEL>",
        "TAILSCALE_MCP_READONLY": "<YOUR_TAILSCALE_MCP_READONLY>",
        "TAILSCALE_MCP_BIN": "<YOUR_TAILSCALE_MCP_BIN>",
        "TAILSCALE_MCP_TIMEOUT_MS": "<YOUR_TAILSCALE_MCP_TIMEOUT_MS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "tailscale-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tmhs/tailscale-mcp@0.4.0"
      ],
      "env": {
        "TAILSCALE_MCP_ALLOW_FUNNEL": "<YOUR_TAILSCALE_MCP_ALLOW_FUNNEL>",
        "TAILSCALE_MCP_READONLY": "<YOUR_TAILSCALE_MCP_READONLY>",
        "TAILSCALE_MCP_BIN": "<YOUR_TAILSCALE_MCP_BIN>",
        "TAILSCALE_MCP_TIMEOUT_MS": "<YOUR_TAILSCALE_MCP_TIMEOUT_MS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "tailscale-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tmhs/tailscale-mcp@0.4.0"
      ],
      "env": {
        "TAILSCALE_MCP_ALLOW_FUNNEL": "<YOUR_TAILSCALE_MCP_ALLOW_FUNNEL>",
        "TAILSCALE_MCP_READONLY": "<YOUR_TAILSCALE_MCP_READONLY>",
        "TAILSCALE_MCP_BIN": "<YOUR_TAILSCALE_MCP_BIN>",
        "TAILSCALE_MCP_TIMEOUT_MS": "<YOUR_TAILSCALE_MCP_TIMEOUT_MS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Tailscale MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.