Gemini MCP Server
Give Claude superpowers with Gemini's massive context window. Analyze entire codebases, search the web, process images, and brainstorm ideas—all through MCP.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y @tuannvm/[email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add tuannvm-gemini-mcp-server -- npx -y @tuannvm/gemini-mcp-server@1.1.2在終端機中執行。
{ "mcpServers": { "tuannvm-gemini-mcp-server": { "command": "npx", "args": [ "-y", "@tuannvm/[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
graph LR
A[Claude Code] --> B[Gemini MCP Server]
B --> C[gemini]
B --> S[web-search]
B --> M[analyze-media]
B --> SH[shell]
B --> D[brainstorm]
C --> H[Gemini CLI]
S --> H
M --> H
SH --> H
D --> H
H --> E[Extensions]
E --> W[Google Workspace]
E --> X[Custom Extensions]
style A fill:#FF6B35
style B fill:#4A90E2
style C fill:#00D4AA
style S fill:#00D4AA
style M fill:#00D4AA
style SH fill:#00D4AA
style D fill:#00D4AA
style H fill:#4285F4
style E fill:#FBBC05
style W fill:#34A853
style X fill:#EA4335
npm install -g @google/gemini-cligemini and login with Google (free: 60 req/min, 1000 req/day)export GEMINI_MODEL="gemini-3-pro-preview"# Claude Code
claude mcp add gemini-cli -- npx -y @tuannvm/gemini-mcp-server
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"gemini-cli": {
"command": "npx",
"args": ["-y", "@tuannvm/gemini-mcp-server"]
}
}
}
Enable access to Gmail, Drive, Sheets, Docs, Calendar, and more through Gemini CLI extensions.
# Install the Google Workspace extension
gemini extensions install https://github.com/gemini-cli-extensions/workspace
Then use with yolo: true to auto-approve extension tool calls:
# Search your Google Drive
Use gemini with yolo=true to search my Google Drive for Q4 reports
# Read a Google Sheet
Use gemini with yolo=true to read the first sheet from "Budget 2025"
# Access Gmail
Use gemini with yolo=true to summarize my last 10 unread emails
Note: Any Gemini CLI extension can be used. Pass the full GitHub URL or local path to
gemini extensions install.
# Analyze an entire codebase
Use gemini to analyze @. and provide an architecture overview
# Compare files
Use gemini to compare @src/old.ts and @src/new.ts
# Search the web
Use web-search to find the latest React 19 features
# Analyze a screenshot
Use analyze-media with filePath "@error.png" and prompt "what's this error?"
# Brainstorm ideas
Use brainstorm with methodology "design-thinking" to improve user onboarding
npm install # Install dependencies
npm run dev # Development mode
npm run build # Build
npm test # Run tests
Inspired by gemini-mcp-tool.
MIT — This is an unofficial tool, not affiliated with Google.
{ "mcpServers": { "tuannvm-gemini-mcp-server": { "command": "npx", "args": [ "-y", "@tuannvm/[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
@tuannvm/gemini 透過 stdio 在本機執行。
上次檢查時間:2026-11-16。 MCP server for Gemini CLI integration