MCP-Gemini

MCP-Gemini

Prompt management system for Google Gemini Pro.

Current State

Implemented

  • ✅ Base structure of the project
  • ✅ Configuring Docker and Docker Compose
  • ✅ Standardized log system
  • ✅ Metrics system with security filters
  • ✅ Unit tests for:
    • ✅ GeminiClient
    • ✅ FileSystemService
    • ✅ SearchService
    • ✅ CacheService
    • ✅ Log system
    • ✅ Metrics system
  • ✅ Main services:
    • ✅ Cache system
    • ✅ Search system
    • ✅ File system
    • ✅ Log system
    • ✅ Safety filter system
    • ✅ Metrics system

In Progress

  • 🔄 Integration with Gemini API
  • 🔄 Prompt management system
  • 🔄 User interface

Earring

  • ⏳ Authentication system
  • ⏳ Real-time monitoring system
  • ⏳ Complete documentation
  • ⏳ Integration testing
  • ⏳ Performance tests
  • ⏳ Deployment to production

Requirements

  • Python 3.10+
  • Docker and Docker Compose
  • Google Gemini API Key

Facility

  1. Clone the repository:
git clone https://github.com/tu-usuario/mcp-gemini.git cd mcp-gemini
  1. Configure environment variables:
cp .env.example .env # Editar .env con tus credenciales
  1. Install dependencies:
pip install -r requirements.txt
  1. Run with Docker:
docker-compose up -d

Project Structure

mcp-gemini/ ├── app/ │ ├── api/ │ ├── core/ │ │ ├── config/ │ │ ├── logging/ │ │ └── security/ │ ├── models/ │ ├── services/ │ └── utils/ ├── data/ │ ├── prompts/ │ ├── cache/ │ └── metrics/ ├── docs/ ├── logs/ │ ├── app/ │ ├── access/ │ ├── error/ │ └── safety/ ├── tests/ │ ├── unit/ │ ├── integration/ │ └── e2e/ ├── .env.example ├── docker-compose.yml ├── Dockerfile └── requirements.txt

Use

from app.services.gemini_client import GeminiClient client = GeminiClient(api_key="tu-api-key") response = client.generate("Tu prompt aquí") print(response)

Evidence

# Ejecutar todas las pruebas pytest # Ejecutar pruebas unitarias pytest tests/unit # Ejecutar pruebas de integración pytest tests/integration # Ejecutar pruebas e2e pytest tests/e2e

Contribution

  1. Fork the repository
  2. Create a branch for your feature ( git checkout -b feature/amazing-feature )
  3. Commit your changes ( git commit -m 'Add some amazing feature' )
  4. Push to branch ( git push origin feature/amazing-feature )
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Implemented Features

  • Logging system with file rotation
  • Metrics and monitoring system
  • Security filters for harmful content
  • Asynchronous request processing
  • Unit tests for core services

In Development

  • Integration with Gemini API
  • Prompt management system
  • User interface

Pending Tasks

  • Real-time monitoring system
  • Authentication and authorization system
  • Performance testing and optimization
  • API Documentation

Project Structure

mcp-gemini/ ├── app/ │ ├── api/ # Endpoints de la API │ ├── core/ # Funcionalidad central │ │ ├── logging/ # Sistema de logging │ │ └── config/ # Configuración │ ├── services/ # Servicios de la aplicación │ │ ├── metrics.py # Servicio de métricas │ │ └── async_processor.py # Procesamiento asíncrono │ └── utils/ # Utilidades ├── data/ │ ├── metrics/ # Datos de métricas │ └── cache/ # Caché de respuestas ├── logs/ # Archivos de log │ ├── app/ │ ├── access/ │ └── error/ ├── tests/ # Pruebas │ ├── unit/ │ └── integration/ ├── requirements.txt # Dependencias └── README.md
-
security - not tested
-
license - not tested
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A prompt management system for Google Gemini Pro that includes caching, security filtering, logging, and metrics collection.

  1. Current State
    1. Implemented
    2. In Progress
    3. Earring
  2. Requirements
    1. Facility
      1. Project Structure
        1. Use
          1. Evidence
            1. Contribution
              1. License
                1. Implemented Features
                  1. In Development
                    1. Pending Tasks
                      1. Project Structure

                        Related MCP Servers

                        • A
                          security
                          A
                          license
                          A
                          quality
                          Utilizes Gemini API and Google Search to generate answers based on the latest information for user queries.
                          Last updated -
                          3
                          21
                          JavaScript
                          MIT License
                        • -
                          security
                          A
                          license
                          -
                          quality
                          The ultimate Gemini API interface for MCP hosts, intelligently selecting models for the task at hand—delivering optimal performance, minimal token cost, and seamless integration.
                          Last updated -
                          6
                          TypeScript
                          MIT License
                        • -
                          security
                          F
                          license
                          -
                          quality
                          A Model Context Protocol server that enables Claude Desktop to interact with Google's Gemini 2.5 Pro Experimental AI model, with features like Google Search integration and token usage reporting.
                          Last updated -
                          JavaScript
                        • -
                          security
                          F
                          license
                          -
                          quality
                          A server that provides access to Google Gemini AI capabilities including text generation, image analysis, YouTube video analysis, and web search functionality through the MCP protocol.
                          Last updated -
                          2
                          TypeScript
                          • Apple

                        View all related MCP servers

                        ID: ig4cmtoj8w