gemini-embedding-2-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FOLDER_PATH | Yes | Path to the local folder to index | |
| GEMINI_API_KEY | Yes | Your Gemini API key for embedding |
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 | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| index_directoryB | Scans a local directory, extracts text from files (PDF, DOCX, TXT, MD) AND raw video/audio/image bytes, generates semantic embeddings using Gemini 2 and stores them for searching. Args: directory_path: Absolute path to the directory. ignore: Optional list of glob patterns to ignore (e.g., [".log", "drafts", "temp"]). |
| search_my_documentsB | Performs a semantic search over your previously indexed local documents AND images using the Gemini 2 Embedding model. |
| list_indexed_directoriesB | Lists all the file paths that have been indexed in the database. |
| remove_directory_from_indexC | Removes all documents and images belonging to a specific directory path from the index. |
| sync_indexed_directoriesA | Auto-updates existing folders. It finds all unique parent directories of currently indexed files and re-indexes them to capture new or modified files. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_database_stats | Returns the scale and health of the ChromaDB index for Gemini. |
TDQS
Scored across 5 tools
Each tool has a distinct purpose without overlap: indexing directories, listing indexed paths, removing directories, searching, and syncing. No confusion between tools.
All tool names follow a consistent snake_case verb_noun pattern (e.g., index_directory, search_my_documents), making it easy to infer functionality.
Five tools is an appropriate scope for a document embedding server, covering core operations without unnecessary bloat.
The set covers add, list, remove, search, and sync operations. Minor gaps like clearing the entire index or adding individual files are absent but not critical for the domain.