We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/s2005/wcli0'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
pathConversion.md•571 B
# wsl/pathConversion
- **convertWindowsToWslPath handles standard and mixed separators** – converts typical Windows paths, forward slashes and mixed separators to `/mnt/<drive>/` form.
- **handles drive roots and trailing slashes** – correctly processes paths like `C:/` and `C:\\Users\\`.
- **supports custom mount points and paths with spaces** – allows overriding the mount root and preserves spaces during conversion.
- **returns non-Windows paths unchanged and rejects UNC paths** – Unix-style or relative paths pass through while UNC paths throw an error.