Open
Description
What happened?
When entering a prompt like gemini -p hello, MCP STDERR messages are displayed first before the response is printed.
$ gemini -p hello
MCP STDERR (context7-mcp): 2025-07-03T16:03:59.628Z [Runner] Connecting to server: {"id":"@upstash/context7-mcp","connectionTypes":["http"]}
MCP STDERR (context7-mcp): 2025-07-03T16:03:59.629Z [Runner] Connecting to Streamable HTTP endpoint: https://server.smithery.ai/@upstash/context7-mcp/mcp
MCP STDERR (context7-mcp): 2025-07-03T16:03:59.630Z [Runner] Streamable HTTP connection initiated
MCP STDERR (context7-mcp): 2025-07-03T16:03:59.630Z [Runner] Streamable HTTP connection established
MCP STDERR (mcp-sequentialthinking-tools): 2025-07-03T16:03:59.547Z [Runner] Connecting to server: {"id":"@xinzhongyouhai/mcp-sequentialthinking-tools","connectionTypes":["http"]}
MCP STDERR (mcp-sequentialthinking-tools): 2025-07-03T16:03:59.548Z [Runner] Connecting to Streamable HTTP endpoint: https://server.smithery.ai/@xinzhongyouhai/mcp-sequentialthinking-tools/mcp
MCP STDERR (mcp-sequentialthinking-tools): 2025-07-03T16:03:59.549Z [Runner] Streamable HTTP connection initiated
MCP STDERR (mcp-sequentialthinking-tools): 2025-07-03T16:03:59.549Z [Runner] Streamable HTTP connection established
Hello! How can I help you today?
What did you expect to happen?
$ gemini -p hello
Hello! How can I help you today?
Client information
$ gemini /about
╭───────────────────────────────────────────────────────────────────────╮
│ │
│ About Gemini CLI │
│ │
│ CLI Version 0.1.9 │
│ Git Commit 34935d6 │
│ Model gemini-2.5-pro │
│ Sandbox no sandbox │
│ OS darwin │
│ Auth Method gemini-api-key │
│ │
╰───────────────────────────────────────────────────────────────────────╯```
</details>
### Login information
gemini-api-key
### Anything else we need to know?
_No response_