Atlas / MCP servers / aliargun / Gemini

GeminiSAFE

mcp/aliargun/gemini-1

MCP server implementation for Google's Gemini API

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
17 17r · 0w · 0d
Transport
—
License
MIT
Stars
261
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://smithery.ai/server/mcp-server-gemini) [](https://www.npmjs.com/package/mcp-server-gemini) [](https://opensource.org/licenses/MIT) [](https://www.typescriptlang.org/) [](https://modelcontextprotocol.io/)

A powerful MCP (Model Context Protocol) server that brings Google's latest Gemini AI models to your favorite development environment. Access Gemini 2.5's thinking capabilities, vision analysis, embeddings, and more through a seamless integration.

🚀 Works with: Claude Desktop, Cursor, Windsurf, and any MCP-compatible client 🎯 Why use this: Get Gemini's cutting-edge AI features directly in your IDE with full parameter control 📚 Self-documenting: Built-in help system means you never need to leave your editor

Features

  • 6 Powerful Tools: Text generation, image analysis, token counting, model listing, embeddings, and self-documenting help
  • Latest Gemini Models: Support for Gemini 2.5 series with thinking capabilities
  • Advanced Features: JSON mode, Google Search grounding, system instructions, conversation memory
  • Full MCP Protocol: Standard stdio communication for seamless integration with any MCP client
  • Self-Documenting: Built-in help system - no external docs needed
  • TypeScript & ESM: Modern, type-safe implementation

Supported Models

Read from source at commit ad33058d6ccdOBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mcp-server-gemini --env GEMINI_API_KEY=${GEMINI_API_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-server-gemini": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GEMINI_API_KEY": "${GEMINI_API_KEY}"
      }
    }
  }
}
03

Exposed tools (17)

17 read · 0 write · 0 destructive.

ToolRiskDescription
ExamplesreadExample usage patterns for common tasks
analyze_imagereadAnalyze images using Gemini vision capabilities
codereadCode to review
code_reviewreadComprehensive code review with Gemini 2.5 Pro
count_tokensreadCount tokens for a given text with a specific model
creative_writingreadCreative writing with style control
embed_textreadGenerate embeddings for text using Gemini embedding models
explain_with_thinkingreadDeep explanation using Gemini 2.5 thinking capabilities
generate_textreadGenerate text using Google Gemini with advanced features
get_helpreadGet help and usage information for the Gemini MCP server
languagereadProgramming language
lengthreadDesired length
levelreadExplanation level (beginner/intermediate/expert)
list_modelsreadList all available Gemini models and their capabilities
promptreadWriting prompt
stylereadWriting style
topicreadTopic to explain
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@google/genai, @types/jest, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint, jest, prettier
Why it matters. 10 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha ad33058d6ccdfull audit observations/trust-audit/mcp-server/aliargun__gemini-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06ad33058d6ccdSAFEB89first audit
06

Questions

What is the Gemini MCP server?

MCP server implementation for Google's Gemini API

What tools does Gemini expose?

17 in total: 17 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?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Gemini need?

It reads GEMINI_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 current is this page?

The grade is for one exact copy of the source (ad33058d6ccd), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement