Skip to Content

My Drive

My Drive MCP lets Agent Chat browse, search, read, and delete files and folders stored in the user’s My Drive.

Basic Information

Authentication

No authentication required. QueryPie AIP automatically uses the current user’s My Drive permissions.

Availability

My Drive MCP is available only in Agent Chat MCP. It cannot be used in MCP Presets for regular Chat. Tools that access My Drive are not Presets; they are a regular Chat feature. In regular Chat, use the file attachment feature in the chat input to select files from My Drive.

Key Features

  • List files and folders in My Drive
  • Search files and folders by filename keyword
  • Read text-based file contents
  • Delete files or folders
  • Pass aip-drive:// URIs to other tools for file usage

Supported MCP Tools

list_my_drive

Lists files and folders in the user’s My Drive. Specify parent_uri to browse inside a specific folder, or omit it to list the root folder.

Input Parameters:

  • parent_uri (optional): aip-drive:// URI of the folder to list

search_my_drive

Searches files and folders in My Drive by filename keyword. The search performs a case-insensitive partial match.

Input Parameters:

  • query (required): Filename or folder name keyword to search

read_my_drive_file

Reads the contents of a text-based file stored in My Drive.

Input Parameters:

  • file_uri (required): aip-drive:// URI of the file to read

delete_my_drive_file

Deletes a file or folder from My Drive. If the target is a folder, all items inside the folder are deleted as well.

Input Parameters:

  • file_uri (required): aip-drive:// URI of the file or folder to delete

Usage Examples

  • A user enters “Find the April settlement report in My Drive and summarize it” in Agent Chat.
  • The LLM calls the search_my_drive tool via MCP to find related files.
  • If the file is text-based, it calls read_my_drive_file to read and summarize the content.

Other usage examples:

  • “Show me the files in the My Drive root folder”
  • “Find the project plan file”
  • “Read this aip-drive:// file”

Notes

  • This MCP is available only in Agent Chat. It cannot be used in MCP Presets for regular Chat.
  • To use My Drive files in regular Chat, use the My Drive feature from the chat input’s file attachment flow, not an MCP Preset.
  • read_my_drive_file is suitable for text-based files. For binary or non-text files, pass the aip-drive:// URI to another tool.
  • delete_my_drive_file is irreversible and requires user confirmation before deletion.
Last updated on