Product

Google Drive and Docs

Google Drive files, labels and activity, plus Docs, Sheets, Slides, Forms and Books.

Install

gdrive is one plugin in the google-services-mcps marketplace, and it runs one MCP server with the same name. Install it for Claude Code with the command below. For Codex, OpenCode or Antigravity, change --agent; the product id stays the same.

Install for Claude Code

npx google-services-mcps install --agent claude --plugin gdrive

What it manages

The server carries 8 generated API bindings and 2 gateway APIs. Gateway APIs are reached through api_search, api_describe and api_call, which every product with gateway APIs lists.

Generated API bindings
APIVersion
booksv1
docsv1
drivev3
driveactivityv2
drivelabelsv2
formsv1
sheetsv4
slidesv1
Gateway APIs
APIVersion
drivev2
drivelabelsv2beta

Tools

The plugin's server registers 200 tools: 94 reads, 78 writes, 27 destructive actions and 1 dynamic tools. A read never asks. A write is listed only when Allow write tools is on, and asks before it runs. A destructive action asks twice. A dynamic tool decides per call.

Every tool name starts with mcp__plugin_gdrive_gdrive__, so a call traces back to this product. The table lists the tools this server registers, with the safety class from the plugin's tool map.

Registered tools
ToolClassWhat it does
account_removewriteRemove a signed-in account
account_set_defaultwriteSet the default account
accounts_listreadSigned-in accounts
api_calldynamicCall an API method
api_describereadDescribe an API method
api_methodsreadgdrive: API methods
api_searchreadSearch API methods
auth_loginwriteSign in to Google
auth_setup_clientwriteSave the Google OAuth client
auth_statusreadSign-in status
books_bookshelves_add_volumewritebooks.mylibrary.bookshelves.addVolume
books_bookshelves_clear_volumeswritebooks.mylibrary.bookshelves.clearVolumes
books_bookshelves_getreadbooks.bookshelves.get
books_bookshelves_listreadbooks.bookshelves.list
books_bookshelves_move_volumewritebooks.mylibrary.bookshelves.moveVolume
books_bookshelves_remove_volumewritebooks.mylibrary.bookshelves.removeVolume
books_bookshelves_volumes_listreadbooks.bookshelves.volumes.list
books_cloudloading_add_bookwritebooks.cloudloading.addBook
books_cloudloading_delete_bookwritebooks.cloudloading.deleteBook
books_cloudloading_update_bookwritebooks.cloudloading.updateBook
books_dictionary_list_offline_metareadbooks.dictionary.listOfflineMetadata
books_familysharing_get_family_inforeadbooks.familysharing.getFamilyInfo
books_familysharing_sharewritebooks.familysharing.share
books_familysharing_unsharewritebooks.familysharing.unshare
books_layers_annotation_data_getreadbooks.layers.annotationData.get
books_layers_annotation_data_listreadbooks.layers.annotationData.list
books_layers_getreadbooks.layers.get
books_layers_listreadbooks.layers.list
books_layers_volume_annotations_getreadbooks.layers.volumeAnnotations.get
books_layers_volume_annotations_listreadbooks.layers.volumeAnnotations.list
books_list_category_volumesreadbooks.onboarding.listCategoryVolumes
books_myconfig_get_user_settingsreadbooks.myconfig.getUserSettings
books_myconfig_request_accesswritebooks.myconfig.requestAccess
books_myconfig_sync_volume_licenseswritebooks.myconfig.syncVolumeLicenses
books_myconfig_update_user_settingswritebooks.myconfig.updateUserSettings
books_mylibrar_bookshelv_volumes_listreadbooks.mylibrary.bookshelves.volumes.list
books_mylibrary_annotations_deletedestructivebooks.mylibrary.annotations.delete
books_mylibrary_annotations_insertwritebooks.mylibrary.annotations.insert
books_mylibrary_annotations_listreadbooks.mylibrary.annotations.list
books_mylibrary_annotations_summarywritebooks.mylibrary.annotations.summary
books_mylibrary_annotations_updatewritebooks.mylibrary.annotations.update
books_mylibrary_bookshelves_getreadbooks.mylibrary.bookshelves.get
books_mylibrary_bookshelves_listreadbooks.mylibrary.bookshelves.list
books_mylibrary_readingpositions_getreadbooks.mylibrary.readingpositions.get
books_notification_getreadbooks.notification.get
books_onboarding_list_categoriesreadbooks.onboarding.listCategories
books_personalizedstream_getreadbooks.personalizedstream.get
books_promooffer_acceptwritebooks.promooffer.accept
books_promooffer_dismisswritebooks.promooffer.dismiss
books_promooffer_getreadbooks.promooffer.get
books_readingpositions_set_positionwritebooks.mylibrary.readingpositions.setPosition
books_release_download_accesswritebooks.myconfig.releaseDownloadAccess
books_series_getreadbooks.series.get
books_series_membership_getreadbooks.series.membership.get
books_volumes_associated_listreadbooks.volumes.associated.list
books_volumes_getreadbooks.volumes.get
books_volumes_listreadbooks.volumes.list
books_volumes_mybooks_listreadbooks.volumes.mybooks.list
books_volumes_recommended_listreadbooks.volumes.recommended.list
books_volumes_recommended_ratewritebooks.volumes.recommended.rate
books_volumes_useruploaded_listreadbooks.volumes.useruploaded.list
docs_documents_batch_updatedestructivedocs.documents.batchUpdate
docs_documents_createwritedocs.documents.create
docs_documents_getreaddocs.documents.get
dri_update_label_enabled_app_settingswritedrivelabels.labels.updateLabelEnabledAppSettings
drive_about_getreaddrive.about.get
drive_accessproposals_getreaddrive.accessproposals.get
drive_accessproposals_listreaddrive.accessproposals.list
drive_accessproposals_resolvewritedrive.accessproposals.resolve
drive_approvals_approvewritedrive.approvals.approve
drive_approvals_canceldestructivedrive.approvals.cancel
drive_approvals_commentwritedrive.approvals.comment
drive_approvals_declinewritedrive.approvals.decline
drive_approvals_getreaddrive.approvals.get
drive_approvals_listreaddrive.approvals.list
drive_approvals_reassignwritedrive.approvals.reassign
drive_approvals_startwritedrive.approvals.start
drive_apps_getreaddrive.apps.get
drive_apps_listreaddrive.apps.list
drive_changes_get_start_page_tokenreaddrive.changes.getStartPageToken
drive_changes_listreaddrive.changes.list
drive_changes_watchwritedrive.changes.watch
drive_channels_stopdestructivedrive.channels.stop
drive_comments_createwritedrive.comments.create
drive_comments_deletedestructivedrive.comments.delete
drive_comments_getreaddrive.comments.get
drive_comments_listreaddrive.comments.list
drive_comments_updatewritedrive.comments.update
drive_create_filewriteCreate or upload Drive file
drive_create_folderwriteCreate Drive folder
drive_create_text_filewriteCreate Drive text file
drive_downloadreadDownload Drive file
drive_drives_createwritedrive.drives.create
drive_drives_deletedestructivedrive.drives.delete
drive_drives_getreaddrive.drives.get
drive_drives_hidewritedrive.drives.hide
drive_drives_listreaddrive.drives.list
drive_drives_unhidewritedrive.drives.unhide
drive_drives_updatewritedrive.drives.update
drive_files_copywritedrive.files.copy
drive_files_deletedestructivedrive.files.delete
drive_files_downloadreaddrive.files.download
drive_files_empty_trashdestructivedrive.files.emptyTrash
drive_files_exportreaddrive.files.export
drive_files_generate_cse_tokenwritedrive.files.generateCseToken
drive_files_generate_idsreaddrive.files.generateIds
drive_files_getreaddrive.files.get
drive_files_listreaddrive.files.list
drive_files_list_labelsreaddrive.files.listLabels
drive_files_modify_labelswritedrive.files.modifyLabels
drive_files_watchwritedrive.files.watch
drive_get_filereadGet Drive file
drive_list_recentreadList recent Drive files
drive_operations_getreaddrive.operations.get
drive_permissions_createdestructivedrive.permissions.create
drive_permissions_deletedestructivedrive.permissions.delete
drive_permissions_getreaddrive.permissions.get
drive_permissions_listreaddrive.permissions.list
drive_permissions_updatedestructivedrive.permissions.update
drive_read_textreadRead Drive file as text
drive_replies_createwritedrive.replies.create
drive_replies_deletedestructivedrive.replies.delete
drive_replies_getreaddrive.replies.get
drive_replies_listreaddrive.replies.list
drive_replies_updatewritedrive.replies.update
drive_revisions_deletedestructivedrive.revisions.delete
drive_revisions_getreaddrive.revisions.get
drive_revisions_listreaddrive.revisions.list
drive_revisions_updatewritedrive.revisions.update
drive_searchreadSearch Drive
drive_teamdrives_createwritedrive.teamdrives.create
drive_teamdrives_deletedestructivedrive.teamdrives.delete
drive_teamdrives_getreaddrive.teamdrives.get
drive_teamdrives_listreaddrive.teamdrives.list
drive_teamdrives_updatewritedrive.teamdrives.update
drive_trash_filedestructiveTrash Drive file
drive_untrash_filewriteRestore Drive file from trash
drive_update_filewriteUpdate Drive file metadata
driveactiv_activity_queryreaddriveactivity.activity.query
drivelabe_labels_revisions_locks_listreaddrivelabels.labels.revisions.locks.list
drivelabel_labels_createwritedrivelabels.labels.create
drivelabel_labels_deletedestructivedrivelabels.labels.delete
drivelabel_labels_deltawritedrivelabels.labels.delta
drivelabel_labels_disabledestructivedrivelabels.labels.disable
drivelabel_labels_enablewritedrivelabels.labels.enable
drivelabel_labels_getreaddrivelabels.labels.get
drivelabel_labels_listreaddrivelabels.labels.list
drivelabel_labels_locks_listreaddrivelabels.labels.locks.list
drivelabel_labels_permissions_createwritedrivelabels.labels.permissions.create
drivelabel_labels_permissions_deletedestructivedrivelabels.labels.permissions.delete
drivelabel_labels_permissions_listreaddrivelabels.labels.permissions.list
drivelabel_labels_perms_batch_deletedestructivedrivelabels.labels.permissions.batchDelete
drivelabel_labels_perms_batch_updatewritedrivelabels.labels.permissions.batchUpdate
drivelabel_labels_publishwritedrivelabels.labels.publish
drivelabel_labels_revs_perms_createwritedrivelabels.labels.revisions.permissions.create
drivelabel_labels_revs_perms_deletedestructivedrivelabels.labels.revisions.permissions.delete
drivelabel_labels_revs_perms_listreaddrivelabels.labels.revisions.permissions.list
drivelabel_labels_revs_update_permswritedrivelabels.labels.revisions.updatePermissions
drivelabel_labels_update_permissionswritedrivelabels.labels.updatePermissions
drivelabel_limits_get_labelreaddrivelabels.limits.getLabel
drivelabel_revs_perms_batch_deletedestructivedrivelabels.labels.revisions.permissions.batchDelete
drivelabel_revs_perms_batch_updatewritedrivelabels.labels.revisions.permissions.batchUpdate
drivelabel_update_label_copy_modewritedrivelabels.labels.updateLabelCopyMode
drivelabel_users_get_capabilitiesreaddrivelabels.users.getCapabilities
forms_forms_batch_updatewriteforms.forms.batchUpdate
forms_forms_createwriteforms.forms.create
forms_forms_getreadforms.forms.get
forms_forms_responses_getreadforms.forms.responses.get
forms_forms_responses_listreadforms.forms.responses.list
forms_forms_set_publish_settingswriteforms.forms.setPublishSettings
forms_forms_watches_createwriteforms.forms.watches.create
forms_forms_watches_deletedestructiveforms.forms.watches.delete
forms_forms_watches_listreadforms.forms.watches.list
forms_forms_watches_renewwriteforms.forms.watches.renew
healthreadServer health
she_values_batch_clear_by_data_filterdestructivesheets.spreadsheets.values.batchClearByDataFilter
sheet_values_batch_get_by_data_filterreadsheets.spreadsheets.values.batchGetByDataFilter
sheets_batch_update_by_data_filterwritesheets.spreadsheets.values.batchUpdateByDataFilter
sheets_get_by_data_filterreadsheets.spreadsheets.getByDataFilter
sheets_get_valuesreadRead spreadsheet values
sheets_insert_rowswriteInsert spreadsheet rows or columns
sheets_spreadsheets_batch_updatedestructivesheets.spreadsheets.batchUpdate
sheets_spreadsheets_createwritesheets.spreadsheets.create
sheets_spreadsheets_getreadsheets.spreadsheets.get
sheets_spreadsheets_meta_getreadsheets.spreadsheets.developerMetadata.get
sheets_spreadsheets_meta_searchreadsheets.spreadsheets.developerMetadata.search
sheets_spreadsheets_sheets_copy_towritesheets.spreadsheets.sheets.copyTo
sheets_spreadsheets_values_appendwritesheets.spreadsheets.values.append
sheets_spreadsheets_values_batch_getreadsheets.spreadsheets.values.batchGet
sheets_spreadsheets_values_cleardestructivesheets.spreadsheets.values.clear
sheets_spreadsheets_values_getreadsheets.spreadsheets.values.get
sheets_spreadsheets_values_updatewritesheets.spreadsheets.values.update
sheets_values_batch_cleardestructivesheets.spreadsheets.values.batchClear
sheets_values_batch_updatewritesheets.spreadsheets.values.batchUpdate
sheets_write_valueswriteWrite spreadsheet values
slides_pages_get_thumbnailreadslides.presentations.pages.getThumbnail
slides_presentations_batch_updatedestructiveslides.presentations.batchUpdate
slides_presentations_createwriteslides.presentations.create
slides_presentations_getreadslides.presentations.get
slides_presentations_pages_getreadslides.presentations.pages.get

The plugin option toolset can list fewer tools. google lists 19 tools that do the same jobs as Google's official MCP server for this product; curated lists the hand-written and gateway tools; all is the default.

Sign-in

gdrive belongs to the workspace-user login group. Log in once for the group: create a Desktop OAuth client in a Google Cloud project, save its file with npx google-services-mcps setup-client, then run npx google-services-mcps login workspace-user. Products in this group share the one login.

The plugin's scope file lists 26 OAuth scopes for 1 APIs. A login asks only for the scopes of its profile: readonly (the default), readwrite, full, or an exact list.

OAuth scopes in the plugin's scope file
APIScope
gdrivehttps://www.googleapis.com/auth/books
gdrivehttps://www.googleapis.com/auth/documents
gdrivehttps://www.googleapis.com/auth/documents.readonly
gdrivehttps://www.googleapis.com/auth/drive
gdrivehttps://www.googleapis.com/auth/drive.activity
gdrivehttps://www.googleapis.com/auth/drive.activity.readonly
gdrivehttps://www.googleapis.com/auth/drive.admin.labels
gdrivehttps://www.googleapis.com/auth/drive.admin.labels.readonly
gdrivehttps://www.googleapis.com/auth/drive.appdata
gdrivehttps://www.googleapis.com/auth/drive.apps.readonly
gdrivehttps://www.googleapis.com/auth/drive.file
gdrivehttps://www.googleapis.com/auth/drive.labels
gdrivehttps://www.googleapis.com/auth/drive.labels.readonly
gdrivehttps://www.googleapis.com/auth/drive.meet.readonly
gdrivehttps://www.googleapis.com/auth/drive.metadata
gdrivehttps://www.googleapis.com/auth/drive.metadata.readonly
gdrivehttps://www.googleapis.com/auth/drive.photos.readonly
gdrivehttps://www.googleapis.com/auth/drive.readonly
gdrivehttps://www.googleapis.com/auth/drive.scripts
gdrivehttps://www.googleapis.com/auth/forms.body
gdrivehttps://www.googleapis.com/auth/forms.body.readonly
gdrivehttps://www.googleapis.com/auth/forms.responses.readonly
gdrivehttps://www.googleapis.com/auth/presentations
gdrivehttps://www.googleapis.com/auth/presentations.readonly
gdrivehttps://www.googleapis.com/auth/spreadsheets
gdrivehttps://www.googleapis.com/auth/spreadsheets.readonly

Plugin details

Plugin
gdrive
MCP server
gdrive
Display name
Google Drive and Docs
Version
2.17.0
Marketplace
google-services-mcps
Login group
workspace-user
Marketplace category
productivity
Plugin options
allow_writes, confirmation, token_dir, toolset
Server kind
curated+discovery