-
Notifications
You must be signed in to change notification settings - Fork 494
Description
Describe the bug
After I installed the mcp
package using the README
instructions for gemini-cli
, I restarted gemini-cli
and tried to use it with the command:
gemini -s
However, I found that mcp
was unable to connect.
On the contrary, when I use the Cursor and register the mcp with it, and then enable the agent mode, entering the test prompt allows the website to be opened normally for performance analysis.
text prompt
Check the performance of https://developers.chrome.com
To Reproduce
Steps to reproduce the behavior:
- Install the latest version of gemini-cli.
brew install gemini-cli
- Add that MCP to gemini-cli.
gemini mcp add -s user chrome-devtools npx chrome-devtools-mcp@latest
- Start gemini-cli.
gemini -s
- Press Ctrl+O to view the details of the error.
Expected behavior
The expected behavior is that when the gemini-cli
is launched, there should be no error messages, and when the test prompt is entered, the Chrome browser should open successfully for use.
Chrome version: 140.0.7339.214
Coding agent version: gemini-cli@0.6.1
Model version: gemini-2.5-pro
Node version: 22.16.0
Screenshots

type /mcp

Chat log
The full log of the chat with your coding agent.