You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS: tailscale CLI not found for App Store/Tailscale.app installs; add fallback paths and a TAILSCALE_BIN override #53
On macOS the most common installs (the Mac App Store app and the standalone Tailscale.app) do not put tailscale on PATH. Every tool then fails with BINARY_NOT_FOUND for a user who has Tailscale installed and running. The remedy text ("Install Tailscale from https://tailscale.com/download") is wrong for them, and there's no supported way to point the server at the binary. macOS is a core platform for the stated audience (solo devs and homelab operators on Claude Desktop, Claude Code, and Cursor).
Evidence
src/providers/cli.ts:32 defines only WINDOWS_FALLBACK_BIN. The fallback branch in run() (:137-146) is gated on platform === "win32".
CliProviderOptions.bin exists (:105-107), but src/index.ts:21 builds new CliProvider() with no options, so users can't set it. No env var is read anywhere.
Tailscale's own docs tell macOS GUI users to alias /Applications/Tailscale.app/Contents/MacOS/Tailscale or to install the CLI from the app's settings, which shows that PATH resolution fails by default.
Suggested approach
Add a macOS fallback list tried in order after a PATH ENOENT: /Applications/Tailscale.app/Contents/MacOS/Tailscale, then /usr/local/bin/tailscale and /opt/homebrew/bin/tailscale (Claude Desktop launches servers with a minimal PATH, so Homebrew paths are often missing too).
Read TAILSCALE_BIN (or TAILSCALE_MCP_BIN) in src/index.ts and pass it as bin. Document it in the README config snippets.
Make the BINARY_NOT_FOUND remedy platform-specific. On macOS: "Tailscale.app found but CLI not on PATH: set TAILSCALE_BIN or enable the CLI in Tailscale settings."
Tests: platform: "darwin" resolves the app-bundle path, an explicit bin skips fallbacks, and the env var is honored.
Done when
A stock Mac App Store install works with zero config, TAILSCALE_BIN overrides resolution on every platform, and both are tested and documented.
Activity
fix: ssh-config safety, macOS CLI resolution, share paths, test typec…