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
Claude Desktop config and detection paths are wrong on Linux #6847
On Linux, ToolHive resolves Claude Desktop's paths without the ~/.config prefix, so it reads and writes the wrong locations:
ToolHive resolves
Claude Desktop uses
Third-party config library
~/Claude-3p/configLibrary/
~/.config/Claude-3p/configLibrary/
Detection (user-data dir)
~/Claude
~/.config/Claude
The Claude Desktop entry in pkg/client/config.go sets LLMSettingsPlatformPrefix and LLMDetectPlatformPrefix for macOS and Windows only. With no PlatformLinux entry, both paths are joined directly under the home directory. The Claude Desktop configuration reference puts the local config library at ~/.config/Claude-3p/configLibrary/ on Linux.
Impact
thv llm setup --client claude-desktop doesn't detect an installed Claude Desktop on Linux. With --client claude-desktop, it writes a configuration Desktop never reads.
IsManaged only checks for macOS managed-preferences profiles. On Linux, Claude Desktop's managed source is /etc/claude-desktop/managed-settings.json, which overrides local config the same way. ToolHive doesn't check for it, so setup and connector add won't warn when it's present.
Suggested fix
Add PlatformLinux: {".config"} to both prefix maps for the Claude Desktop entry, cover the Linux paths in tests, and consider adding the Linux managed-settings check to IsManaged.
Activity
Fix Claude Desktop paths and managed check on Linux (#6883)