Skip to main content
Glama
phamviet86

gdrive-rag-mcp

by phamviet86

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoAPI key for the Gemini embedding provider.
OPENAI_API_KEYNoAPI key for OpenAI-compatible endpoints when GOOGLE_DRIVE_RAG_EMBED_API_KEY_ENV=OPENAI_API_KEY.
OPENROUTER_API_KEYNoAPI key for OpenRouter when using an OpenAI-compatible endpoint with that provider.
GOOGLE_DRIVE_FOLDER_IDYesRoot folder ID indexed by the worker; required to verify against the index and serve.
GOOGLE_DRIVE_RAG_DB_PATHNoPath to the shared SQLite index.data/index.db
GOOGLE_DRIVE_RAG_EMBED_MODELNoEmbedding model name; must match the indexed model.gemini-embedding-001
GOOGLE_DRIVE_SHARED_DRIVE_IDNoShared Drive ID when serving a Shared Drive corpus; still set GOOGLE_DRIVE_FOLDER_ID.
GOOGLE_DRIVE_RAG_EMBED_DEVICENoOptional device for Sentence Transformers.
GOOGLE_DRIVE_RAG_EMBED_BASE_URLNoBase URL for OpenAI-compatible /embeddings endpoints.
GOOGLE_DRIVE_RAG_EMBED_PROVIDERNoEmbedding provider used for query vectors.gemini
GOOGLE_DRIVE_RAG_EMBED_BATCH_SIZENoEmbedding batch size.32
GOOGLE_DRIVE_RAG_EMBED_DIMENSIONSNoEmbedding dimensions; must match the index.768
GOOGLE_DRIVE_RAG_EMBED_API_KEY_ENVNoName of the environment variable that holds the API key for the selected embedding provider.GEMINI_API_KEY
GOOGLE_DRIVE_RAG_EVIDENCE_THRESHOLDNoMinimum top score for sufficient evidence.0.35
GOOGLE_DRIVE_RAG_PATH_FILTER_ENABLEDNoEnable the fail-closed path filtering policy for this service instance.false
GOOGLE_DRIVE_RAG_EMBED_SEND_DIMENSIONSNoWhether to send the optional dimensions field to OpenAI-compatible endpoints.true
GOOGLE_DRIVE_RAG_EMBED_TIMEOUT_SECONDSNoHosted embedding request timeout in seconds.60
GOOGLE_DRIVE_RAG_EMBED_QUERY_INPUT_TYPENoOptional provider-specific query input type.
GOOGLE_DRIVE_RAG_PATH_ALLOW_PREFIXES_JSONNoJSON array of active Drive-relative folder prefixes.[]
GOOGLE_DRIVE_RAG_EMBED_DOCUMENT_INPUT_TYPENoOptional provider-specific document input type.
GOOGLE_DRIVE_RAG_PATH_EXCLUDE_PREFIXES_JSONNoJSON array of prefixes that override the allowlist.[]

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/phamviet86/google-drive-rag-mcp'

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