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
Add netcheck and an interpreted diagnose tool for connectivity triage #50
The most common question people ask an agent about Tailscale is "why can't I reach X / why is it slow?" Today the agent has to chain tailnet_status and ping_all and then guess. A single diagnose tool that returns an interpreted answer would be the server's standout feature, since no other Tailscale MCP server offers it (per docs/research/). It combines two items already on the roadmap (netcheck, diagnose), and this issue tracks them as one deliverable.
Suggested approach
netcheck tool: parse tailscale netcheck --format=json into a stable shape (UDP, IPv4/IPv6, MappingVariesByDestIP / hard NAT, PortMapping, preferred DERP, and per-region latency).
diagnose {target}: resolve the target (hostname, MagicDNS name, or IP), then check status (online? last seen? key expired?), ping (direct/DERP/peer-relay, latency), and netcheck (is UDP blocked? hard NAT?), and return:
{ "verdict": "reachable_relayed",
"summary": "raspi is online but relayed via DERP fra (41ms): this device is behind hard NAT and UDP 41641 appears blocked.",
"suggestions": ["Allow outbound UDP 41641", "Enable a peer relay on a node in the same LAN"],
"evidence": {} }
A matching MCP prompt ("diagnose connectivity to ") from the v0.4 roadmap.
Done when
diagnose returns a verdict enum, a one-sentence summary, actionable suggestions, and the raw evidence. Fixtures cover online-direct, relayed + hard NAT, offline, expired key, and unknown target.
Activity