gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

when I start Gemini, Some trouble confused me ,Gemini cant launch

Open BarryDing opened this issue 1 year ago • 4 comments

What happened?

gemini Data collection is disabled. Skipping tool 'write_data_to_excel' from MCP server 'excel' because it has missing types in its parameter schema. Please file an issue with the owner of the MCP server.

What did you expect to happen?

how can I launch Gemini

Client information

windows 11 ```console $ gemini /about # paste output here ```

Login information

No response

Anything else we need to know?

No response

BarryDing avatar Aug 21 '25 02:08 BarryDing

I see you have an error on the MCP Server, Could you try comment out the MCP Configuration and check?

If that still doesn't resolve the issue, please feel free to reach back out with any portion of the output you are able to share when running gemini --debug

srithreepo avatar Aug 21 '25 14:08 srithreepo

yeah i have same issues and it because some mcp servers , i removed them all and it works again

EngDawood avatar Aug 21 '25 14:08 EngDawood

I solved this problem. The reason was that when Gemini starts, it launches the 'mcp service' from the 'settings.json' file located in 'C:\Users\Admin.gemini', which caused the issue. The mcp service is launched using 'uv'. I was able to resolve it directly at first by disabling the 'uv.exe' program. Ultimately, I deleted the relevant content from the 'settings.json' file, which allowed Gemini to start normally. Then, if the mcp service is needed, it can be reinstalled.

z187829318-byte avatar Aug 21 '25 14:08 z187829318-byte

Thank you so much for gettin back to us on this !

srithreepo avatar Aug 22 '25 21:08 srithreepo