Skip to main content
Glama

MCP-Gemini

MCP-双子座

适用于 Google Gemini Pro 的提示管理系统。

当前状态

实施的

  • ✅ 项目基础结构
  • ✅ 配置 Docker 和 Docker Compose
  • ✅ 标准化日志系统
  • ✅ 带有安全过滤器的指标系统
  • ✅ 单元测试:
    • ✅ GeminiClient
    • ✅ 文件系统服务
    • ✅ 搜索服务
    • 缓存服务
    • ✅ 日志系统
    • ✅ 指标体系
  • ✅ 主要服务:
    • 缓存系统
    • ✅ 搜索系统
    • ✅ 文件系统
    • ✅ 日志系统
    • ✅安全过滤系统
    • ✅ 指标体系

进行中

  • 🔄 与 Gemini API 集成
  • 🔄 快捷管理系统
  • 🔄 用户界面

耳环

  • ⏳ 身份验证系统
  • ⏳实时监控系统
  • ⏳ 完整文档
  • ⏳ 集成测试
  • ⏳ 性能测试
  • ⏳ 部署到生产环境

要求

  • Python 3.10+
  • Docker 和 Docker Compose
  • Google Gemini API 密钥

设施

  1. 克隆存储库:
git clone https://github.com/tu-usuario/mcp-gemini.git cd mcp-gemini
  1. 配置环境变量:
cp .env.example .env # Editar .env con tus credenciales
  1. 安装依赖项:
pip install -r requirements.txt
  1. 使用 Docker 运行:
docker-compose up -d

项目结构

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

使用

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

证据

# 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

贡献

  1. 分叉存储库
  2. 为你的功能创建一个分支( git checkout -b feature/amazing-feature
  3. 提交您的更改( git commit -m 'Add some amazing feature'
  4. 推送到分支( git push origin feature/amazing-feature
  5. 打开拉取请求

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

实现的功能

  • 具有文件轮换功能的日志系统
  • 指标和监控系统
  • 有害内容的安全过滤器
  • 异步请求处理
  • 核心服务的单元测试

正在开发中

  • 与 Gemini API 集成
  • 快捷管理系统
  • 用户界面

待处理任务

  • 实时监控系统
  • 认证授权系统
  • 性能测试与优化
  • API 文档

项目结构

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.

Google Gemini Pro 的提示管理系统,包括缓存、安全过滤、日志记录和指标收集。

  1. 当前状态
    1. 实施的
    2. 进行中
    3. 耳环
  2. 要求
    1. 设施
      1. 项目结构
        1. 使用
          1. 证据
            1. 贡献
              1. 执照
                1. 实现的功能
                  1. 正在开发中
                    1. 待处理任务
                      1. 项目结构

                        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

                        MCP directory API

                        We provide all the information about MCP servers via our MCP API.

                        curl -X GET 'https://glama.ai/api/mcp/v1/servers/hectorflores28/mcp-gemini'

                        If you have feedback or need assistance with the MCP directory API, please join our Discord server