mcp-gemini-server (bsmi021/mcp-gemini-server) is an MCP server listed on the M8ven Trust Index. It scores 53 out of 100, grade D. It declares 6 tools. No publisher has claimed this listing.
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.
Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
bsmi021
Source: mcp.so · also listed on github_topic
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
When Vitest UI server is listening, arbitrary file can be read and executed
@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided
ALLOWED_OUTPUT_PATHS"": "/var/opt/mcp-gemini-server/outputs,/tmp/mcp-gemini-outputs" // Optional: Comma-separated list of allowed output directories for mcpCallServerTool and writeToFileToolEXAMPLE_ENABLE_LOGSEXAMPLE_GREETINGGEMINI_SAFE_FILE_BASE_DIRGITHUB_API_TOKENPersonal Access Token for GitHub API access (required for GitHub code review features). For public repos, token needs 'public_repo' and 'read:user' scopes. For private repos, token needs 'repo' scope.GOOGLE_GEMINI_API_KEY"": "YOUR_API_KEY",GOOGLE_GEMINI_CODE_MODELSGOOGLE_GEMINI_DEFAULT_MODELGOOGLE_GEMINI_DEFAULT_THINKING_BUDGETDefault thinking budget in tokens (0-24576) for controlling model reasoningGOOGLE_GEMINI_ENABLE_URL_CONTEXTEnable URL context features (options: true, false; default: false)GOOGLE_GEMINI_IMAGE_MODELSGOOGLE_GEMINI_IMAGE_RESOLUTIONGOOGLE_GEMINI_MAX_IMAGE_SIZE_MBGOOGLE_GEMINI_MODEL"": "gemini-1.5-flash", // Optional: Set a default modelGOOGLE_GEMINI_MODELSGOOGLE_GEMINI_ROUTING_PREFER_COSTGOOGLE_GEMINI_ROUTING_PREFER_QUALITYGOOGLE_GEMINI_ROUTING_PREFER_SPEEDGOOGLE_GEMINI_SUPPORTED_IMAGE_FORMATSGOOGLE_GEMINI_URL_ALLOWED_DOMAINSComma-separated list or JSON array of allowed domains (default: for all domains)GOOGLE_GEMINI_URL_BLOCKLISTComma-separated list or JSON array of blocked domains (default: empty)GOOGLE_GEMINI_URL_CONVERT_TO_MARKDOWNConvert HTML content to markdown (options: true, false; default: true)GOOGLE_GEMINI_URL_ENABLE_CACHINGEnable URL content caching (options: true, false; default: true)GOOGLE_GEMINI_URL_FETCH_TIMEOUT_MSFetch timeout per URL in milliseconds (default: 10000)GOOGLE_GEMINI_URL_INCLUDE_METADATAInclude URL metadata in context (options: true, false; default: true)GOOGLE_GEMINI_URL_MAX_CONTENT_KBMaximum content size per URL in KB (default: 100)GOOGLE_GEMINI_URL_MAX_COUNTMaximum URLs per request (default: 20)GOOGLE_GEMINI_URL_USER_AGENTCustom User-Agent header for URL requests (default: MCP-Gemini-Server/1.0)HEALTH_CHECK_PORTPort for health check HTTP server (default: 3000)MCP_CLIENT_IDDefault client ID used when this server acts as a client to other MCP servers (defaults to "gemini-sdk-client")MCP_CONNECTION_TOKEN"": "YOUR_GENERATED_CONNECTION_TOKEN", // Required: Use the token from step 4MCP_ENABLE_STREAMINGEnable SSE streaming for HTTP transport (options: true, false; default: false)MCP_LOG_LEVELLog level for MCP operations (options: debug, info, warn, error; default: info)MCP_SERVER_HOST"": "localhost", // Required: Server hostMCP_SERVER_PORT"": "8080", // Required: Server portMCP_SESSION_TIMEOUTSession timeout in seconds for HTTP transport (default: 3600 = 1 hour)MCP_TRANSPORTTransport to use for MCP server (options: stdio, sse, streamable, http; default: stdio)MCP_TRANSPORT_TYPEDeprecated - Use MCP_TRANSPORT insteadMCP_WS_PORTDeprecated - Use MCP_SERVER_PORT insteadSESSION_STORE_TYPESession storage backend (memory or sqlite; default: memory)SQLITE_DB_PATHPath to SQLite database file when using sqlite store (default: ./data/sessions.db)Tool annotations
No tools have read-only/destructive annotations
Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.
All four hints declared on every tool
6/6 tools missing one or more hints — gemini_cache (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); gemini_chat (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); gemini_generate_content (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +3 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Shell command execution
1 child_process/subprocess call in production code — runs shell commands (src/services/mcp/McpClientService.ts:560)
Prefer library functions over shell-outs. If you must shell out, ensure all inputs are properly escaped.
Production dependencies are patched
0 critical, 3 high severity in production deps — @modelcontextprotocol/sdk@1.11.5 (high), @modelcontextprotocol/sdk@1.11.5 (high)
Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.
Dev dependencies
1 critical/high in dev-only deps (does not ship to users)
Upgrade dev dependencies when convenient.
Dependency freshness
2/19 production deps stale: gitdiff-parser@2023-03-14 (3.4y), node-fetch@2023-11-30 (2.7y)
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/bsmi021/mcp-gemini-server)?variant=verified from the URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check