Google Drive MCP Server

Search, read, create, and govern Drive files through one MCP interface.

Drive is the connective tissue of Google Workspace, and this service treats it that way: search_drive_files speaks the full Drive query syntax, get_drive_file_content reads native Google formats and uploaded Office files alike, and the import trio — import_to_google_doc, import_to_google_sheets, import_to_google_slides — converts Markdown, DOCX, XLSX, CSV, and PPTX files into their editable Google equivalents.

A full permissions toolkit — manage_drive_access, set_drive_file_permissions, check_drive_file_public_access — means an assistant can not only find and create files but audit and fix how they are shared.

What you can ask

  • “Find the latest version of the Q3 budget deck and share it with the finance group as viewer”
  • “Convert this Markdown report into a Google Doc in the Projects folder”
  • “Check whether anything in the Client Deliverables folder is publicly accessible”

All 16 Google Drive MCP tools

Expand any tool for its full parameter list. Tiers control how many tools the server registers: start lean with --tool-tier core and step up to extended or complete when a workflow needs more.

search_drive_files Core Search Drive files and folders. 5
ParameterDescription
query requiredThe search query string. Supports Google Drive search operators.
page_size The maximum number of files to return. Defaults to 10.
page_token Page token from a previous response's nextPageToken.
drive_id ID of the shared drive to search.
file_type Restrict results to specific file type (e.g., 'folder', 'document', 'pdf').
get_drive_file_content Core Read file content with export support. 1
ParameterDescription
file_id requiredDrive file ID.
get_drive_file_download_url Core Download Drive files via local path or HTTP attachment URL. 2
ParameterDescription
file_id requiredThe Google Drive file ID to download.
export_format Optional export format for Google native files.
create_drive_file Core Create files from inline content or source URLs. 8
ParameterDescription
file_name requiredThe name for the new file.
content Text content to write to the file.
folder_id The ID of the parent folder. Defaults to 'root'.
mime_type The MIME type of the file. Defaults to 'text/plain'.
fileUrl If provided, fetches file content from this URL (file://, http://, https://).
base64_content Standard base64-encoded file bytes. Mutually exclusive with content and fileUrl.
content_mime_type MIME type for base64_content uploads. Required when using base64_content.
base64_sha256 Expected SHA-256 hex digest of the decoded payload for integrity verification.
create_drive_folder Core Create folders in My Drive or shared drives. 2
ParameterDescription
folder_name requiredThe name for the new folder.
parent_folder_id The ID of the parent folder. Defaults to 'root'.
import_to_google_doc Core Import files (Markdown, DOCX, HTML, etc.) into Google Docs. 7
ParameterDescription
file_name requiredThe name for the new Google Doc (extension will be ignored).
content Text content for text-based formats (MD, TXT, HTML).
file_path Local file path for binary formats (DOCX, ODT).
file_url Remote URL to fetch the file from (http/https).
source_format Source format hint ('md', 'markdown', 'docx', 'txt', 'html', 'rtf', 'odt').
base64_content Standard base64-encoded file bytes for binary uploads. Mutually exclusive with content, file_path, and file_url.
base64_sha256 Expected SHA-256 hex digest of the decoded payload for integrity verification.
import_to_google_slides Core Import presentation files (PPTX, PPT, ODP) as Google Slides. 7
ParameterDescription
file_name requiredThe name for the new Google Slides presentation.
file_path Local file path to the presentation file.
file_url Remote URL to fetch the file from (http/https).
source_format Source format hint ('pptx', 'ppt', 'odp').
folder_id Destination folder ID. Defaults to 'root'.
base64_content Standard base64-encoded file bytes for binary uploads. Mutually exclusive with file_path and file_url.
base64_sha256 Expected SHA-256 hex digest of the decoded payload for integrity verification.
import_to_google_sheets Core Import spreadsheet files (XLSX, CSV, TSV, etc.) as Google Sheets. 8
ParameterDescription
file_name requiredThe name for the new Google Sheet.
content Inline text content for text-based formats (CSV, TSV).
file_path Local file path for binary formats (XLSX, ODS).
file_url Remote URL to fetch the file from (http/https).
source_format Source format hint ('xlsx', 'csv', 'tsv', 'ods').
folder_id Destination folder ID. Defaults to 'root'.
base64_content Standard base64-encoded file bytes for binary uploads. Mutually exclusive with content, file_path, and file_url.
base64_sha256 Expected SHA-256 hex digest of the decoded payload for integrity verification.
get_drive_shareable_link Core Generate shareable links for files. 1
ParameterDescription
file_id requiredThe ID of the file or folder to get the shareable link for.
list_drive_items Extended List folder contents or shared drives. 6
ParameterDescription
folder_id The ID of the Google Drive folder. Defaults to 'root'.
page_size The maximum number of items to return. Defaults to 100.
page_token Page token for pagination.
drive_id Shared drive ID to list from.
resource_type `items` (default) or `drives` to list shared drives.
file_type Restrict results to specific file type.
copy_drive_file Extended Copy existing Drive files with optional renaming. 3
ParameterDescription
file_id requiredThe ID of the file to copy.
new_name New name for the copied file. If not provided, uses "Copy of [original name]".
parent_folder_id The ID of the folder where the copy should be created. Defaults to 'root'.
update_drive_file Extended Update metadata, move files, or replace/append to Google Apps content in place. 12
ParameterDescription
file_id requiredThe ID of the file to update.
name New name for the file.
description New description for the file.
add_parents Comma-separated folder IDs to add as parents.
remove_parents Comma-separated folder IDs to remove from parents.
starred Star or unstar the file.
trashed Move the file to or from the trash.
content Replacement text content (Markdown, TXT, HTML), preserving the file ID.
file_path Local file path for binary replacement content (DOCX, ODT, etc.).
file_url Remote URL to fetch replacement content from.
source_format Format hint for replacement content ('md', 'docx', 'txt', 'html', 'rtf', 'odt').
mode 'replace' (default), 'append', or 'prepend'. Append/prepend splice `content` onto the existing text server-side, so only the new text has to be sent.
manage_drive_access Extended Grant, update, revoke permissions, and transfer ownership. 5
ParameterDescription
file_id requiredThe ID of the file or folder.
action requiredThe access management action to perform ('grant', 'revoke', 'update', 'transfer_ownership').
share_with Email address (user/group) or domain name.
role Permission role ('reader', 'writer', 'commenter', 'owner').
permission_id Permission ID for revoke/update actions.
set_drive_file_permissions Extended Configure link sharing and file-level sharing. 3
ParameterDescription
file_id requiredThe ID of the file or folder.
link_sharing Control "anyone with the link" access for the file.
writers_can_share Whether editors can change permissions and share.
get_drive_file_permissions Complete Get file metadata, parents, and detailed permission entries. 1
ParameterDescription
file_id requiredThe ID of the file to check permissions for.
check_drive_file_public_access Complete Check whether a file is publicly accessible. 1
ParameterDescription
file_name requiredThe name of the file to check.

Every service in one reference: full API documentation →

OAuth scopes

The server requests only the scopes for the services you enable. In read-only mode it requests just the readonly variants and skips registering write tools entirely.

  • drive.readonly search, list, and read files
  • drive.file create and edit files the app owns
  • drive full access including permission management (implies both)

Google Drive MCP questions

Can it read Microsoft Office files stored in Drive?
Yes. get_drive_file_content has export support, so .docx, .xlsx, and .pptx files uploaded to Drive are readable alongside native Google formats — no manual conversion step.
Does it work with shared drives or only My Drive?
Both. Search, folder creation, and listing all support shared drives, so team content is reachable the same way personal content is.
Can an assistant audit file sharing?
That is what the Complete tier adds: get_drive_file_permissions returns the actual permission entries on a file, and check_drive_file_public_access answers the specific question security teams ask most.
How does Markdown get into Google Docs?
import_to_google_doc accepts Markdown, DOCX, or HTML — from inline content or a URL — and produces a real, editable Google Doc rather than a stored blob. The same pattern extends to spreadsheets and decks: import_to_google_sheets converts XLSX and CSV files, and import_to_google_slides converts PPTX presentations.