gemini_queryLABSCO SUMMARY
One prompt in, Gemini's answer out.
It does a single thing — hand a prompt to the Gemini command-line tool and bring the reply back — which is enough to get a second read on a problem without switching windows. Because it drives that tool rather than the API directly, whatever the tool can already do on your machine is what you get, including the variant that skips its confirmation step.
What it is
A small stdio server that drives Google's Gemini command-line tool. It passes your prompt to that tool and returns the reply, so a second model can be consulted mid-task without leaving the conversation.
What you get
- A prompt sent to Gemini and its answer returned in the conversation
- A second variant that auto-confirms the operations the command-line tool would otherwise stop and ask about
- A stdio transport, so it connects the way any local server does
Requirements
Node on your machine, Google's Gemini command-line tool installed, and a Gemini API key supplied through the environment. You clone the repository and build it yourself, then point your client at the built entry file.
Setup effort
Build from source — git clone https://github.com/Stesm/gemini-mcp.git
USE CASES
Getting a second model's read on the same problem
Send the question you are already working on to Gemini and compare the answer against the one in front of you.
Handing off the part another model is better at
Pass the prompt through without copying it into a browser, and keep the reply in the transcript with the rest of the work.
Running prompts you have already reviewed
When the command-line tool would pause for confirmation on each operation, this variant confirms for you — worth reserving for work you have read first.
2 tools
Listed in project docs. Your client may show a different list.
gemini_unsafeBEFORE YOU INSTALL
What to know first
Tools you get
2 tools named in the project's documentation.
Requires
- Node.js
- Google's Gemini CLI installed (the server runs the gemini command)
- GEMINI_API_KEY in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
git clone https://github.com/Stesm/gemini-mcp.git
cd gemini-mcp
npm install
npm run buildMCP Clients
Claude Code
{
"mcpServers": {
"gemini": {
"command": "node",
"args": [
"<YOUR_PATH_TO_GEMINI_MCP>/dist/index.js"
],
"env": {
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>"
}
}
}
}