github YawLabs/tailscale-mcp v0.24.0

one hour ago

Changed

  • The oam floor moves from 0.20.2 to 0.21.1, so the tailscale-mcp launcher no longer runs the server on oam 0.20.2-0.21.0. 0.21.1 is verified on the installed binary (oam 0.21.1) through the launcher with TAILSCALE_MCP_RUNTIME=oam (and with OAM_BIN pointing at it): a full MCP handshake listing all 98 tools and all 4 resources, the whole session byte-identical to the same session on Node, with no non-JSON line on stdout. The same session answers from oam run bin/tailscale-mcp.mjs (in-process), from oam run src/index.ts (no build step), and with TAILSCALE_MCP_SANDBOX=1, where the server process runs under oam --permission --allow-net=api.tailscale.com:443 ... and the sandbox integration test passes (an unlisted port is refused with ERR_ACCESS_DENIED). oam check src/index.ts is clean. An oam below 0.21.1 is handled as any below-floor oam: Node under auto, an error under TAILSCALE_MCP_RUNTIME=oam. Run oam self-update.
  • The release pre-flight checks the Yaw MCP floor: scripts/check-yaw-mcp-floor.mjs (npm run check:yaw-mcp-floor) fails on drift between YAW_MCP_MIN 1.1.13 and the README's "Yaw MCP 1.1.13 or newer" (and on a @yawlabs/mcp-compliance devDependency off ^0.20.4, the range Yaw MCP 1.1.13 pins, should one be added), and warns without failing when a newer @yawlabs/mcp is published. Release tooling and docs only.
  • The startup banner names the always-on catalog tool: ready (97 tools + catalog), and ready (N tools + catalog, <filters>) when a filter applies. N is unchanged -- the tools the filters left in place -- but the banner used to say only ready (N tools) while tools/list returned N + 1, the extra one being tailscale_tool_groups. Anything matching the old banner text exactly needs the + catalog.
  • Shutdown is documented and pinned by a test: the server process installs no stdin-close or signal handler (the tailscale-mcp launcher only forwards SIGINT/SIGTERM to it when it hands off to a child runtime), so when a client closes stdin it exits once in-flight requests have finished and their replies are written, rather than dropping them. No behavior change.
  • TAILSCALE_REQUIRE_APPROVAL set to a value that is neither on nor off (e.g. yes) now prints the same kind of stderr warning TAILSCALE_READONLY does instead of leaving forced approval off in silence, and the banner shows approval=on when the gate is active. An explicit off (0, false, off, no) no longer prints a warning for TAILSCALE_READONLY or TAILSCALE_MCP_SANDBOX.
  • tailscale_diff_acl_access keeps the comparisons it already finished when the API refuses authentication partway through (a 401 is retried once per user), returning a partial result with stoppedOnAuthFailure instead of discarding everything. Its errors now ask for loginName values from tailscale_list_users, not emails -- on a GitHub or SSO tailnet those differ.
  • tailscale_delete_tailnet refuses - with a remedy that fits the auth in use: TAILSCALE_OAUTH_TAILNET is suggested only under OAuth, since an API key makes the server ignore it.

Fixed

  • An id of . or .. (or an empty one) is refused before any request is sent. Path segments were URL-encoded, but .. survives encoding and the URL parser collapses it, so tailscale_delete_key with keyId .. sent its DELETE to the tailnet resource itself. The refusal names the bad id; tailscale_authorize_devices records it as a per-device failure and still sends the valid ids.
  • Local CLI tools no longer hang after a spawn that throws immediately. On Windows a TAILSCALE_BINARY naming a .cmd/.bat wrapper made execFile throw, which leaked one of the four CLI concurrency slots per call; now the call returns an error naming the cause.
  • OAuth token-exchange failures (network error, timeout, a stalled or non-JSON response body) read OAuth token exchange failed: ... with the transport detail, instead of a bare fetch failed.
  • When the request budget runs out between retries, the error names the most recent attempt's result (e.g. the retried 503) rather than an earlier transport failure, and a call waiting for a concurrency slot (TAILSCALE_MAX_CONCURRENT) now gives up at its budget instead of waiting indefinitely.
  • With TAILSCALE_MCP_SANDBOX=1, the launcher prints "the sandbox is NOT active" on every path that runs the server without it, including a handoff from an oam below the floor to Node and TAILSCALE_MCP_RUNTIME=node on an oam host. A below-floor host oam is no longer probed or reported twice.
  • The README now gives the real lookup order for the tailscale binary (default install paths, then PATH), and the EACCES diagnosis says "found in PATH" only when PATH was actually used.
  • Release tooling: a local release.sh run checks the branch in pre-flight, before the version bump, commit and tag (it used to tag a feature branch and then fail); a resumed release checks the tree is clean apart from the files the release itself writes; commit subjects with backslashes are no longer mangled in a generated changelog entry. The binary build refuses an oam carrier below the launcher's floor unless TAILSCALE_MCP_ALLOW_OAM_BELOW_FLOOR=1.
  • Live-probe harness (maintainer tooling): preflight no longer attests a target as empty when its reads failed; the seeded-device check matches a nodeId; a failed token mint skips the steps that depend on it instead of running them under the previous token; scrub-check no longer flags a target record's own secret; an unfilled placeholder skips one step instead of aborting the run and its cleanup; the pinned CURRENT baseline tracks the newest release tag instead of v0.20.2.

Don't miss a new tailscale-mcp release

NewReleases is sending notifications on new releases.