Back to Home
kdoooh000h icon

gemini-daily-mcp-compressed

Verified Safe

by kdoooh000h

Overview

A token-optimized Model Context Protocol (MCP) server that wraps the Google Gemini CLI to provide AI assistance, focusing on reducing token overhead through a progressive disclosure strategy.

Installation

Run Command
node dist/index.js

Environment Variables

  • GOOGLE_API_KEY
  • GEMINI_ENABLED
  • SESSION_TTL_HOURS
  • MAX_SESSIONS
  • GEMINI_CLI_COMMAND
  • LOG_LEVEL
  • GEMINI_INCLUDE_DIRECTORIES

Security Notes

The server primarily functions as a wrapper around the external Google Gemini CLI. It utilizes `child_process.execFile` for command execution, which is generally safer than `exec` as it avoids spawning a shell by default, mitigating shell injection risks. Input arguments are validated by Zod schemas. No direct use of `eval` or hardcoded secrets were found in the provided source. The main indirect security consideration would be potential vulnerabilities within the Google Gemini CLI itself, or if an attacker could craft malicious prompts that exploit the underlying CLI. This risk is assumed to be managed by the Gemini CLI provider. The `GEMINI_INCLUDE_DIRECTORIES` environment variable, if improperly configured, could allow broader file access than intended during Gemini CLI operations.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens172
Stars0
Forks0
Last Update2025-12-08

Tags

mcpgeminitoken-optimizationclaudeai-cli