MCP server · Audited from source
Gemini CLI MCP server
by jamubc/gemini-mcp-toolNOASSERTION licenceAudited 23 Sep 2026 · source 40c3845fea8a
Is it safe? With care — CAUTION, grade B (89/100). It exposes 9 tools: 9 read, 0 write and 0 destructive. The audit recorded 9 findings (0 critical, 0 high, 1 medium, 8 low). Maintainer's description: MCP server that enables AI assistants to interact with Google Gemini CLI, leveraging Gemini's massive token window for large file analysis and codebase understanding
Cite
Cite this page
ModelsAtlas. “Gemini CLI MCP server (jamubc/gemini-mcp-tool)”. Retrieved 23 Sep 2026. https://modelsatlas.com/mcp/jamubc/gemini-cli-3
Trust audit
Audit 0.4.1 · full source read 23 Sep 2026
9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkNone observedNothing seen in the source
- ShellDeclared5 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | WARN 2 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
jamubcUser accountAccount type recorded when we read the repository. - PackagePublished on npm
gemini-mcp-toolat version 1.1.8 - LicenceNOASSERTIONFrom the repository, as read at the audited commit.
- Last push2 months agoActivity of the repository when we read it.
- Source commit read40c3845fea8aThe audit covers exactly this commit, read on 23 Sep 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory9 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (9)
Sorted by severity
LOWFilesystem / pathfs.credential_store · test/unit/utils/geminiExecutor.test.ts:24
assert.throws(() => assertSafeFileReferences("@~/.ssh/id_rsa", root), /outside the project directory/);- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · test/e2e/harness.ts:16
import { CLI } from "../../src/constants.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test/e2e/harness.ts:17
import { resolveCommandForExecution } from "../../src/utils/commandExecutor.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test/fixtures/test-tool.example.ts:13
import { UnifiedTool } from '../../src/tools/registry.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test/fixtures/test-tool.example.ts:14
import { ToolArguments } from '../../src/constants.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test/integration/changeMode-pipeline.test.ts:7
import { processChangeModeOutput } from "../../src/utils/geminiExecutor.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, chalk, d3-shape, prismjs, zod, zod-to-json-schema, @types/node, mermaid
- Why
- 12 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainprompt.pipe_to_shell · README.md:37
curl -fsSL https://antigravity.google/cli/install.sh | bash # macOS / Linux
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
9 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
Help | read | receive help information |
ask-gemini | read | model selection [-m], sandbox [-s], and changeMode:boolean for providing edits |
brainstorm | read | Generate novel ideas with dynamic context gathering. --> Creative frameworks (SCAMPER, Design Thinking, etc.), domain context integration, idea clustering, feasibility analysis, and iterative refinement. |
fetch-chunk | read | Retrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response. |
message | read | Message to test with |
ping | read | Echo |
prompt | read | fetch-chunk cacheKey=<key> chunkIndex=<number> |
test-tool | read | A test tool demonstrating the simplified registration |
timeout-test | read | Test timeout prevention by running for a specified duration |
Install
Package version 1.1.8 · audited commit 40c3845
Read the findings first. The most severe is Prompt injection (medium) at docs/index.md.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.1.8. The audit covers commit 40c3845 only.
claude mcp add gemini-mcp-tool --env DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY} --env OPENROUTER_API_KEY=${OPENROUTER_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"gemini-mcp-tool": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"DEEPSEEK_API_KEY": "${DEEPSEEK_API_KEY}",
"OPENROUTER_API_KEY": "${OPENROUTER_API_KEY}"
}
}
}
}The command pins the package version recorded in the source (1.1.8); the audit covers commit 40c3845fea8a. Transport: stdio. Reads these environment variables: DEEPSEEK_API_KEY, OPENROUTER_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
Source changed, verdict held ·
40c3845fea8a
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/jamubc/gemini-cli-3/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Gemini CLI MCP server
What is the Gemini CLI MCP server?
What tools does Gemini CLI expose?
Is Gemini CLI safe to connect to an agent?
What credentials does Gemini CLI need?
How does Gemini CLI run?
How current is this page?
Sources
- jamubc/gemini-mcp-tool on GitHub — the source we read, its licence, stars and activityObserved · 23 Sep 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 40c3845fea8aObserved · 23 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Gemini CLI MCP server?
- What tools does Gemini CLI expose?
- Is Gemini CLI safe to connect to an agent?