gemini_chatLABSCO SUMMARY
A second opinion from Gemini, on the credentials your CLI already holds.
Because it shells out to the Gemini CLI, there is no separate API key to manage: whatever your CLI is authorised to do, the server can do. Three tools, all of them straight passthrough.
What it is
A server that wraps the Gemini CLI: chat, generation with temperature control, and the list of available models.
What you get
- A message sent to Gemini and its reply returned, with the model selectable and gemini-pro as the default (gemini_chat)
- Content generated from a prompt, with a model and a temperature you choose (gemini_generate)
- The Gemini models your CLI credentials can reach (gemini_list_models)
Requirements
Node.js 18 or newer, and the Gemini CLI installed, credentialed and on your PATH. If the gemini command does not run in your shell, neither does the server.
Setup effort
Build from source — git clone https://github.com/blesscat/gemini-cli-mcp
USE CASES
Getting a second model's answer without switching apps
Send the question to Gemini and read the reply in the conversation you are already in.
Generating a draft at a temperature you control
Set the temperature explicitly rather than accepting whatever the default is.
Checking which Gemini models you actually have access to
List them from your own credentials instead of going by the documentation.
Comparing two models on the same prompt
Run the prompt through Gemini and set it against the answer your main assistant gave.
3 tools
Listed in project docs. Your client may show a different list.
gemini_generategemini_list_modelsBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
- Node.js 18+
- The Gemini CLI installed, with its API credentials configured, on your PATH
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
Install the Gemini CLI and configure its API credentials; check it works with gemini --help (a prerequisite, not part of this repository)
git clone https://github.com/blesscat/gemini-cli-mcp
cd gemini-cli-mcp
npm installAdd the block under Claude Desktop below to your Claude Desktop configuration; <YOUR_PATH_TO_GEMINI_MCP>/index.js is the full path of index.js in your clone
MCP Clients
Claude Desktop
{
"mcpServers": {
"gemini": {
"command": "node",
"args": [
"<YOUR_PATH_TO_GEMINI_MCP>/index.js"
]
}
}
}<YOUR_PATH_TO_GEMINI_MCP>/index.js is the full path of index.js inside your clone of this repository. The server runs the gemini command, so the Gemini CLI has to be on the PATH Claude Desktop sees.