Description
I installed the ctx binary on Windows successfully. But when I run ctx mcp:config, it spits out the following:
Environment
-----------
------------------ ---------------
Operating System WSL (Unknown)
Architecture AMD64
------------------ ---------------
I am running Windows 11, and I want to set up context-hub without using bash, I.E. Windows Native.
How To Reproduce
-
Run powershell -c "& ([ScriptBlock]::Create((irm 'https://raw.githubusercontent.com/context-hub/generator/main/download-latest.ps1'))) -AddToPath" from the README.
-
Open a new terminal window and run ctx mcp:config.
-
Type in "claude" in response to the "Which MCP client are you configuring?" prompt.
-
View the detected environment says "WSL (Unknown)".
-
In reply to the next "How do you want to configure project access?" question, type global.
-
In reply to the next "Enable SSE (Server-Sent Events) transport mode for remote access? (yes/no)", type "no" or just press enter.
-
See below output that's generated:
Generated Configuration
-----------------------
Configuration type: claude
Operating system: WSL (Unknown)
Project mode: Global project registry
Transport mode: STDIO
Add this to your Claude Desktop configuration file:
{
"mcpServers": {
"ctx": {
"command": "bash.exe",
"args": [
"-c",
"ctx server"
]
}
}
}
Configuration file location:
• %APPDATA%\Claude\claude_desktop_config.json
• C:\Users<username>\AppData\Roaming\Claude\claude_desktop_config.json
Setup Instructions
------------------
1. Open Claude Desktop settings: Click your name/initials → Settings → Developer
2. Click "Edit Config" to open claude_desktop_config.json
3. Add the configuration shown above to the file
4. Save the file and completely restart Claude Desktop
5. Look for the MCP tools indicator (hammer icon) in the chat input area
! [NOTE] Global registry mode: Use "ctx project:add" to register projects.
! Switch projects dynamically without editing configuration.
! Docs: https://docs.ctx.github.io/mcp/projects
[WARNING] WSL detected: Ensure ctx is installed in your WSL environment.
Use WSL paths (e.g., /home/user/project), not Windows paths.
Environment variables are embedded in the bash command.
Screenshot
Additional Info
| Q |
A |
| Library Version |
Latest |
| PHP Version |
N/A |
| Operating System |
Windows 11 x64 Pro |
Is there any way to use this tool without using bash in the MCP server setup/definition? Why is it detecting my operating system as WSL instead of Win11?
Thanks for any clarification.
Description
I installed the ctx binary on Windows successfully. But when I run
ctx mcp:config, it spits out the following:I am running Windows 11, and I want to set up context-hub without using
bash, I.E. Windows Native.How To Reproduce
Run
powershell -c "& ([ScriptBlock]::Create((irm 'https://raw.githubusercontent.com/context-hub/generator/main/download-latest.ps1'))) -AddToPath"from the README.Open a new terminal window and run
ctx mcp:config.Type in "claude" in response to the "Which MCP client are you configuring?" prompt.
View the detected environment says "WSL (Unknown)".
In reply to the next "How do you want to configure project access?" question, type
global.In reply to the next "Enable SSE (Server-Sent Events) transport mode for remote access? (yes/no)", type "no" or just press enter.
See below output that's generated:
Screenshot
Additional Info
Is there any way to use this tool without using bash in the MCP server setup/definition? Why is it detecting my operating system as WSL instead of Win11?
Thanks for any clarification.