MCP-Gemini-FileSearch
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | Yes | Google AI Studio에서 발급받은 무료 Gemini API 키 | |
| GEMINI_FILESTORE_NAME | Yes | 원하는 스토어 이름 (예: "my-research", "논문모음", "technical-docs"). 같은 이름을 사용하면 이전에 업로드한 문서들을 계속 사용할 수 있습니다. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_file_storeA | Create a new Gemini File Search Store. You must create a File Store before uploading documents. The Store ID can be reused across sessions to maintain document collections. |
| add_documentA | Upload and index a document from local path or URL. Supports automatic URL download and SHA-256 deduplication. |
| searchA | Search indexed documents with natural language query. Returns snippets with relevance scores, page ranges, and document metadata. |
| get_passagesA | Retrieve full text content of specific page ranges from a document for citation verification. |
| list_documentsA | List all indexed documents with pagination and optional filters. Returns document metadata including title, authors, year, and tags. |
| delete_documentB | Remove a document from the file store by its document identifier. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool maps to a distinct resource+action: store lifecycle (create_file_store), document lifecycle (add/list/delete), retrieval (search for snippets, get_passages for full-text citation verification). The search vs get_passages boundary is explicitly clarified in the descriptions (snippets with relevance scores vs full text for page ranges), so an agent can select correctly.
All names are snake_case verb_noun, which is consistent and readable. Minor deviations: 'search' is a bare verb with no object, and 'add_document' vs 'create_file_store' use slightly different verbs for the same create semantics.
Six tools is well-scoped for a document indexing/search server: one store-create, three document lifecycle tools, and two retrieval tools. Nothing appears redundant or pad.
Document lifecycle (add, list, delete, retrieve passages, search) is well covered, but store coverage is asymmetric: create_file_store has no list_file_stores or delete_file_store counterpart, and there is no update/re-index operation. These are minor gaps agents can work around by reusing the store ID.