Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Gemini CLI MCP server

by jamubc/gemini-mcp-toolNOASSERTION licenceAudited 23 Sep 2026 · source 40c3845fea8a

npm gemini-mcp-tool 1.1.8stdio★ 2,283
!CAUTIONGrade B · 89/100 · 23 Sep 2026 · 40c3845
2,283GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score89/100!CAUTION B
0 critical0 high1 medium8 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainPASS 7 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsWARN 2 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmgemini-mcp-tool at 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

MEDIUMPrompt injectionprompt.hidden_style · docs/index.md:7
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
tagline: "Leverage Google's Gemini models in any client that supports the standardized MCP protocol—<span style='color: #FFFFFF; background-color: #D97706; padding: 2px 8px; border-radius: 6px; font-s
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.credential_store · test/unit/utils/geminiExecutor.test.ts:24
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { CLI } from "../../src/constants.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/e2e/harness.ts:17
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { processChangeModeOutput } from "../../src/utils/geminiExecutor.js";
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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

9 read0 write0 destructive
ToolRiskWhat it does
Helpreadreceive help information
ask-geminireadmodel selection [-m], sandbox [-s], and changeMode:boolean for providing edits
brainstormreadGenerate novel ideas with dynamic context gathering. --> Creative frameworks (SCAMPER, Design Thinking, etc.), domain context integration, idea clustering, feasibility analysis, and iterative refinement.
fetch-chunkreadRetrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response.
messagereadMessage to test with
pingreadEcho
promptreadfetch-chunk cacheKey=<key> chunkIndex=<number>
test-toolreadA test tool demonstrating the simplified registration
timeout-testreadTest 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]

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

  1. !CAUTION B 89 / 100

    Source changed, verdict held · 40c3845fea8a

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/jamubc/gemini-cli-3/badge.svg)](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?
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
What tools does Gemini CLI expose?
9 in total: 9 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Gemini CLI safe to connect to an agent?
With care. The audit graded it B (89/100) and found 9 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Gemini CLI need?
It reads DEEPSEEK_API_KEY and OPENROUTER_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Gemini CLI run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as gemini-mcp-tool at 1.1.8.
How current is this page?
The grade is for one exact copy of the source (40c3845fea8a), read on 2026-09-23. The repository is watched and re-audited when it changes.

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.