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
thv llm setup --client claude-desktop fails on Windows (POSIX credential-helper shim) #6507
On Windows 11, thv llm setup --client claude-desktop detects Claude Desktop, then fails:
Warning: failed to configure claude-desktop: claude-desktop LLM gateway setup is not supported on Windows yet
Error: failed to configure any detected tools
Claude Desktop is installed here (%APPDATA%\\Claude). %LOCALAPPDATA%\\Claude-3p is empty (third-party inference never configured). The failed run did not persist thv llm config and did not write a helper script.
This is the honest sibling of #6293. Cursor reports success while writing keys the app never reads. Claude Desktop refuses up front.
Root cause
configureCredentialHelper in pkg/client/llm_gateway_credential_helper.go returns immediately on runtime.GOOS == "windows". The shim is a POSIX /bin/sh script (~/.toolhive/llm/claude-desktop-helper.sh). The comment still calls Windows a follow-up.
#6326 already made thv llm token argv-safe for Codex (command + args, no shell). Claude Desktop did not get that shape.
Repro
ToolHive v0.46.0 (c6c425a), Windows 11, Claude Desktop present.
Same error. thv llm config show still says the gateway is not configured.
origin/main still has the Windows return (checked 2026-09-04).
Suggested direction
Give Claude Desktop a Windows helper that execs thv llm token the same way Codex already does (executable + args, no /bin/sh). Keep the POSIX .sh on Darwin/Linux.
I would like to work on this after assignment. I will not open a PR until a maintainer assigns it.
Activity
stantheman0128 commentedon Sep 4, 2026
I'd like to work on this.
Live repro is on the issue (ToolHive v0.46.0, Win11, Claude Desktop installed). I will wait to be assigned. I will not open a PR until then.
blkt commentedon Sep 4, 2026
@stantheman0128 please feel free to give it a shot!
stantheman0128 commentedon Sep 4, 2026
Thanks, I'll take it. Same shape as the Codex path:
thv llm tokenas executable plus args, no POSIX helper on Windows. I'll open a PR on this issue.