Skip to main content
Glama
asamiile

google-drive-rag-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TARGET_FOLDER_IDSYesComma-separated list of Google Drive folder IDs to scope access to.
GOOGLE_APPLICATION_CREDENTIALSYesPath to the Google service account JSON key file.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
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

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

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