MCP configuration is ignored on Windows after clean install
What happened?
Hello,
I am experiencing an issue on Windows where the Gemini CLI completely ignores the MCP configuration in my settings.json file. We have tried extensive troubleshooting, including a full clean reinstallation, but the problem persists.
My Environment:
- OS: Windows 11 (Version 10.0.26100)
- Node.js Version: v22.17.0 (LTS)
- Gemini CLI Version: (Please run
gemini --versionand put the result here)
Summary of Troubleshooting Steps:
- Verified the
settings.jsonsyntax is correct. - Confirmed that
npxandnpmare correctly installed and in the system PATH. - The MCP command (
npx mcp-remote "https://api.myikas.com/...") works perfectly when run manually in the terminal. - Globally installed the
mcp-remotepackage withnpm install -g mcp-remoteto prevent interactive prompts. - Performed a full clean reinstall: Uninstalled Node.js and Gemini CLI, deleted
.gemini,npm, andnpm-cachefolders, rebooted, and reinstalled everything.
Key Finding:
The problem persists even after a clean install. The debug log from gemini -d -p "test" shows that the CLI does not attempt to parse the "mcp" section of settings.json at all. It seems to be completely ignored.
The configuration still fails.
Thank you for your help.
What did you expect to happen?
I expected the /mcp command to show my configured 'ikas-admin' server from the settings.json file, instead of showing "No MCP servers configured".
Client information
Platform: Windows 11
[│ About Gemini CLI │ │ │ │ CLI Version 0.1.10 │ │ Git Commit da50a1ee (local modifications) │ │ Model gemini-2.5-pro │ │ Sandbox no sandbox │ │ OS win32 │ │ Auth Method OAuth ]
Login information
No response
Anything else we need to know?
No response
Found possible duplicate issues:
- #4675: (0.9382035732269287)
- #4273: (0.9185941815376282)
- #3406: (0.916796088218689)
@ibrahimsedatalkan - closing, as we've had some recent fixes in this area. Please re-open if you are still hitting this.