google-drive-rag-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TARGET_FOLDER_IDS | Yes | Comma-separated list of Google Drive folder IDs to scope access to. | |
| GOOGLE_APPLICATION_CREDENTIALS | Yes | Path to the Google service account JSON key file. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_filesA | List files in the target Google Drive folders. Use this to discover files before reading them. Returns a JSON array of objects with 'id', 'name', and 'mimeType'. Pass the 'id' to read_file to retrieve file contents. |
| list_foldersA | List subfolders within the target Google Drive folders. Use this before list_files when you need to scope a search to a specific subfolder. Returns a JSON array of objects with 'id' and 'name'. Pass a folder 'id' to list_files as folder_id to narrow the search scope. |
| read_fileA | Read and return the full text content of a file in the target Google Drive folder. Typical workflow: call list_files to find the file and obtain its 'id', then pass that id here. |
| search_contentA | Search for a keyword or phrase within the content of files in the target Google Drive folders. Unlike list_files (which filters by filename), this tool searches inside file contents and returns matching files with a surrounding context snippet. Typical workflow: use this to find which files mention a topic, then call read_file on specific files for the full content. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/asamiile/google-drive-rag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server