gemini-file-search-mcp-server
Verified Safeby ryo-aien
Overview
Provides a Model Context Protocol (MCP) server exposing Google Gemini API's File Search capabilities for Retrieval-Augmented Generation (RAG).
Installation
docker run -p 8080:8080 -e GEMINI_API_KEY=your_api_key gemini-file-search-mcpEnvironment Variables
- GEMINI_API_KEY
- MCP_AUTH_TOKENS (optional, highly recommended for production)
- LOG_LEVEL (optional, default: INFO)
- PORT (optional, default: 8080, for HTTP mode)
- MCP_TRANSPORT (optional, default: stdio)
Security Notes
No hardcoded secrets or 'eval' usage were found in the provided source code. Authentication via Bearer Token is supported and strongly recommended for production, with a clear warning logged if disabled. File uploads are handled securely using temporary files. Good practices for environment variable usage and token management are outlined in the README. The Cloud Run deployment example, while initially 'allow-unauthenticated', strongly emphasizes setting authentication tokens for production.
Similar Servers
kreuzberg
Extracts text, tables, images, and metadata from 56 file formats including PDF, Office documents, and images. Supports multiple OCR backends, extensible plugins, and is designed for data preprocessing in AI/ML workflows.
GeminiMCP
Integrate Google's Gemini API for AI-powered tasks and search with Model Control Protocol (MCP) clients, focusing on developer-centric features like code analysis and context handling.
gemini-research-mcp
An AI-powered research server utilizing Gemini models for both quick web searches with citations and comprehensive multi-step deep research, including query clarification and follow-up capabilities.
mcp
A framework for building and deploying self-contained, searchable Model Context Protocol (MCP) servers for technical documentation, leveraging hybrid semantic and keyword search.