Back to Home
08car1118 icon

gemini-file-search-mcp

Verified Safe

by 08car1118

Overview

Provides RAG search capabilities using the Gemini File Search API for AI assistants to manage and query documents.

Installation

Run Command
uv run --directory /app/gemini-file-search-mcp file-search-mcp

Environment Variables

  • GEMINI_API_KEY
  • GEMINI_MODEL

Security Notes

The `gemini_upload_file` tool takes a `file_path` parameter, which the server reads from the local filesystem. While the `_validate_file` method performs checks for existence, size, and MIME type, exposing this tool to untrusted users could potentially allow attempts at path traversal or access to unintended local files. However, within the context of an MCP server where the caller is a trusted AI assistant, this is a standard and expected pattern for file processing. No direct `eval` calls or unsanitized shell commands were found. API keys are managed via environment variables.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1200
Stars0
Forks0
Last Update2025-12-02

Tags

GeminiRAGFile SearchMCPAI AssistantDocument Management