"gemini -p/--prompt displays MCP STDERR · Issue #3148 · google-gemini/gemini-cli · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

"gemini -p/--prompt displays MCP STDERR #3148

Open
@arrrggghhh

Description

@arrrggghhh

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_

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/mcpIssues related to the Model Context Protocol (MCP).kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      TMZ Celebrity News – Breaking Stories, Videos & Gossip

      Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

      Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

      🎥 Watch TMZ Live

      TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.