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

MCP server · Audited from source

Gemini MCP server

by bsmi021/mcp-gemini-serverMIT licenceAudited 8 Oct 2026 · source c4ca84ee0d99

npm mcp-gemini-server 0.2.0ssestdiostreamable-http★ 36
!CAUTIONGrade C · 77/100 · 8 Oct 2026 · c4ca84e
36GitHub stars

Is it safe? With care — CAUTION, grade C (77/100). It exposes 12 tools: 12 read, 0 write and 0 destructive. The audit recorded 23 findings (0 critical, 0 high, 6 medium, 16 low). Maintainer's description: This project provides a dedicated MCP (Model Context Protocol) server that wraps the @google/genai SDK. It exposes Google's Gemini model capabilities as standard MCP tools, allowing other LLMs (like Cline) or MCP-compatible systems to leverage Gemini's features as a backend workhorse.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Gemini MCP server (bsmi021/mcp-gemini-server)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/bsmi021/gemini-5

5 MCP servers are called Gemini. You are viewing bsmi021/mcp-gemini-server. Compare all 5 →

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score77/100!CAUTION C
0 critical0 high6 medium16 low1 info

23 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

  • FilesystemDeclared5 observations
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • 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 3 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 19 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
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 bsmi021User accountAccount type recorded when we read the repository.
  • PackagePublished on npmmcp-gemini-server at version 0.2.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push17 months agoActivity of the repository when we read it.
  • Source commit readc4ca84ee0d99The audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory12 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 (23)

Sorted by severity

MEDIUMInformation disclosuredisclose.log_secret · src/services/mcp/McpClientService.ts:371
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.debug(`Adding connection token to SSE request`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · src/server.ts:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
import { createServer } from "./createServer.js";
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · src/services/ExampleService.ts:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
import { ConfigurationManager } from "../config/ConfigurationManager.js";
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · src/services/index.ts:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
// Export all services from this barrel file
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · src/tools/exampleToolParams.ts:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
import { z } from "zod";
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · src/tools/index.ts:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .eslintignore
F-13 Inventory / provenanceCWE-1104Layer L0
.eslintignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .prettierrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · tests/.env.test.example
F-13 Inventory / provenanceCWE-1104Layer L0
.env.test.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/services/gemini/GeminiCacheService.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from "../../utils/errors.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/services/gemini/GeminiCacheService.ts:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logger } from "../../utils/logger.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/services/gemini/GeminiCacheService.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { CachedContentMetadata } from "../../types/index.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/services/gemini/GeminiChatService.ts:11
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from "../../utils/errors.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/services/gemini/GeminiChatService.ts:12
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logger } from "../../utils/logger.js";
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/integration/urlContextIntegration.test.vitest.ts:290
F-04 Network egressCWE-200 · CWE-319Layer L1
urls: ["http://192.168.1.1/admin"],
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit/utils/UrlSecurityService.test.vitest.ts:163
F-04 Network egressCWE-200 · CWE-319Layer L1
await expect(service.validateUrl("http://127.0.0.1")).rejects.toThrow(
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit/utils/UrlSecurityService.test.vitest.ts:166
F-04 Network egressCWE-200 · CWE-319Layer L1
await expect(service.validateUrl("http://0.0.0.0")).rejects.toThrow(
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit/utils/UrlSecurityService.test.vitest.ts:172
F-04 Network egressCWE-200 · CWE-319Layer L1
await expect(service.validateUrl("http://192.168.1.1")).rejects.toThrow(
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit/utils/UrlSecurityService.test.vitest.ts:175
F-04 Network egressCWE-200 · CWE-319Layer L1
await expect(service.validateUrl("http://10.0.0.1")).rejects.toThrow(
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.homoglyph · tests/unit/utils/UrlSecurityService.test.vitest.ts:261
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
await expect(service.validateUrl("https://gоogle.com")).rejects.toThrow(
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.homoglyph · tests/unit/utils/UrlSecurityService.test.vitest.ts:264
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
await expect(service.validateUrl("https://аpple.com")).rejects.toThrow(
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@google/genai, @modelcontextprotocol/sdk, @octokit/graphql, @octokit/rest, @types/better-sqlite3, @types/eventsource, @types/inquirer, @types/uuid
Why
37 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · README.md:1607
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
For running tests that require API access, create a `.env.test` file in the project root with the following variables:
Why
asks the agent to read credentials
Fix
—

Tools it exposes

12 declared in source · 0 destructive

12 read0 write0 destructive
ToolRiskWhat it does
addToolreadA tool that adds two numbers
calculatereadPerform calculations
complexDataToolreadA tool that returns a complex JSON structure
complex_functionreadA function with complex nested parameters
echoToolreadA tool that echoes back the input message
gemini_code_review_streamreadStream code review results for local git diffs using Gemini models
get_weatherreadGet weather information
my-projectreadA TypeScript project
testFunctionreadA test function
test_functionreadTest function
tool1readFirst tool
tool2readSecond tool

Install

Package version 0.2.0 · audited commit c4ca84e

Read the findings first. The most severe is Information disclosure (medium) at src/services/mcp/McpClientService.ts.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.2.0. The audit covers commit c4ca84e only.

claude mcp add mcp-gemini-server --env GITHUB_API_TOKEN=${GITHUB_API_TOKEN} --env GOOGLE_GEMINI_API_KEY=${GOOGLE_GEMINI_API_KEY} --env MCP_CONNECTION_TOKEN=${MCP_CONNECTION_TOKEN} -- npx -y [email protected]

The command pins the package version recorded in the source (0.2.0); the audit covers commit c4ca84ee0d99. Transport: sse · stdio · streamable-http. Reads these environment variables: GITHUB_API_TOKEN, GOOGLE_GEMINI_API_KEY, MCP_CONNECTION_TOKEN. Give it the narrowest token it needs.

Audit history

  1. !CAUTION C 77 / 100

    First audit · c4ca84ee0d99

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/mcp/bsmi021/gemini-5/badge.svg)](https://modelsatlas.com/mcp/bsmi021/gemini-5/)

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 MCP server

What is the Gemini MCP server?
This project provides a dedicated MCP (Model Context Protocol) server that wraps the @google/genai SDK. It exposes Google's Gemini model capabilities as standard MCP tools, allowing other LLMs (like Cline) or MCP-compatible systems to leverage Gemini's features as a backend workhorse.
What tools does Gemini expose?
12 in total: 12 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Gemini safe to connect to an agent?
With care. The audit graded it C (77/100) and found 23 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Gemini need?
It reads GITHUB_API_TOKEN, GOOGLE_GEMINI_API_KEY and MCP_CONNECTION_TOKEN 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 run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as mcp-gemini-server at 0.2.0.
How current is this page?
The grade is for one exact copy of the source (c4ca84ee0d99), read on 2026-10-08. The repository is watched and re-audited when it changes.
Which Gemini MCP server is the right one?
rlabs-inc/gemini-mcp. 5 servers share the name; see the side-by-side comparison.

Sources

  • bsmi021/mcp-gemini-server on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit c4ca84ee0d99Observed · 8 Oct 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.