arcade-mcp/libs
James Barney 4b77643513
Fix arcade configure claude to use correct path on Windows when runni… (#682)
…ng in WSL

When running `arcade configure claude` in WSL, the configuration file
was being written to the WSL filesystem
(~/.config/Claude/claude_desktop_config.json) instead of the Windows
AppData directory where Claude Desktop actually reads it.

This commit adds:
- WSL detection via WSL_DISTRO_NAME env var and /proc/version
- Windows username retrieval when running in WSL
- Updated config path functions to use Windows paths when in WSL
- Applied the same fix to Cursor and VS Code config paths for
consistency

The fix ensures that when running in WSL, the config file is written to:
/mnt/c/Users/{username}/AppData/Roaming/Claude/claude_desktop_config.json

This allows Claude Desktop on Windows to properly detect and use the MCP
server configuration.

Fixes #681

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-07 17:04:20 -08:00
..
arcade-cli Fix arcade configure claude to use correct path on Windows when runni… (#682) 2025-11-07 17:04:20 -08:00
arcade-core Better Handling of MCP-specific Context usage for managed servers (#679) 2025-11-07 10:26:56 -08:00
arcade-evals MCP Local (#563) 2025-09-25 15:28:15 -07:00
arcade-mcp-server Fix race condition (#676) 2025-11-04 15:40:47 -08:00
arcade-serve Release libs for arcade-mcp (#598) 2025-10-03 12:11:25 -07:00
arcade-tdk Release libs for arcade-mcp (#598) 2025-10-03 12:11:25 -07:00
tests Better Handling of MCP-specific Context usage for managed servers (#679) 2025-11-07 10:26:56 -08:00