What would you like to be added?
By default, Gemini CLI prints the whole output of MCP tools.
Many MCP servers are returning structured JSON payloads.
This results in a not-so-great experience, for example:
I suggest the following:
- do not print MCP output in primary test color, use gray, to convey to the user they don't need to read it
- cap the height to 2/3 lines maximum
potentially, we could detect if the output is JSON vs plaintext, and if plaintext, assume the response is relevant to be seen by the user? If Json, we could imagine pretty printing it, or just taking the decision to now show it and always return a nicely Gemini CLI-formatted text response.
Why is this needed?
Make Gemini CLI nicer
Additional context
No response
What would you like to be added?
By default, Gemini CLI prints the whole output of MCP tools.
Many MCP servers are returning structured JSON payloads.
This results in a not-so-great experience, for example:
I suggest the following:
potentially, we could detect if the output is JSON vs plaintext, and if plaintext, assume the response is relevant to be seen by the user? If Json, we could imagine pretty printing it, or just taking the decision to now show it and always return a nicely Gemini CLI-formatted text response.
Why is this needed?
Make Gemini CLI nicer
Additional context
No response