Google Drive

Google Drive: поиск, чтение, создание и раздача прав на файлы через MCP

От сообщества: Добавлен пользователем или импортирован; проверьте владельца перед подключениемРаботаетНужен API-ключГлобальныйБесплатноМожет изменять данные

Что умеет

  • Искать файлы по имени, типу, папке, дате и содержимому
  • Читать содержимое файлов и экспортировать документы Google Workspace
  • Создавать, копировать, перемещать и удалять файлы и папки
  • Раздавать и отзывать права доступа для пользователей и групп
  • Вести комментарии и обсуждения на файлах

Какие данные видит

Ассистент работает с Google Drive от имени пользователя через OAuth-токен с доступом к scope drive — видит и изменяет файлы в рамках выданных прав.

Нужен ли аккаунт

Нужен API-ключ из настроек сервиса

MCP-сервер оборачивает Google Drive API v3 и даёт ассистенту доступ к файлам и папкам аккаунта. Можно искать документы по имени, типу и содержимому, читать текстовые файлы и экспортировать Google Docs, Sheets и Slides, создавать и копировать файлы, настраивать доступ и комментарии. Подключение через OAuth 2.0 с refresh-токеном на нужные scope.

Как подключить

Как подключить Google Drive к Claude

Адрес сервера, который нужно вставить в настройках Claude:

https://google-drive--node2flow.run.tools

  1. Откройте Claude (сайт claude.ai или приложение для компьютера).
  2. Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
  3. Нажмите Добавить пользовательский коннектор (Add custom connector).
  4. Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
  5. В чате нажмите + → Коннекторы и включите новый коннектор.

Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.

Авторизация

После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.

Как подключить Google Drive к ChatGPT

Адрес сервера, который нужно вставить в настройках ChatGPT:

https://google-drive--node2flow.run.tools

  1. Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
  2. Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
  3. Откройте Настройки → Коннекторы и нажмите Создать (Create).
  4. Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
  5. В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
  6. В новом чате откройте + → Приложения/Коннекторы и включите коннектор.

Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.

Авторизация

При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.

Как подключить Google Drive к Cursor

Адрес сервера, который нужно вставить в настройках Cursor:

https://google-drive--node2flow.run.tools

Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.

Вручную:

  1. В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
  2. Вставьте JSON, скопированный ниже, в открывшийся файл ~/.cursor/mcp.json (для одного проекта: .cursor/mcp.json в корне проекта).
  3. Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.

Авторизация

Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.

Список инструментов сервера (23)

Технические названия из tools/list. Нужны только разработчикам.

gd_search_filesSearch and list files in Google Drive. Use the q parameter for powerful search queries: name contains, mimeType, parent folder, trashed status, date filters. Returns file metadata with pagination support.
gd_get_fileGet detailed metadata for a specific file or folder by ID. Returns all available metadata fields including size, owners, permissions, timestamps, and links.
gd_read_fileRead/download file content. Returns text content for text-based files (txt, csv, json, html, xml, code). For binary files, returns file info. For Google Workspace files (Docs, Sheets, Slides), use gd_export_file instead.
gd_create_fileCreate a new file or Google Workspace document (metadata only, no content upload). To create a folder, use gd_create_folder. For Google Docs, set mimeType to "application/vnd.google-apps.document".
gd_update_fileUpdate file metadata — rename, change description, star/unstar, move between folders, or trash/untrash. Use add_parents/remove_parents to move files.
gd_copy_fileCreate a copy of a file. Optionally specify a new name, destination folder, or description for the copy.
gd_delete_filePermanently delete a file or folder. This action is irreversible — the file will NOT go to trash. Use gd_update_file with trashed=true to move to trash instead.
gd_export_fileExport a Google Workspace file (Docs, Sheets, Slides, Drawings) to a standard format. Use this for Google-native files; use gd_read_file for regular files. Supported exports: Docs→text/plain,text/html,application/pdf; Sheets→text/csv,application/pdf; Slides→application/pdf,text/plain.
gd_create_folderCreate a new folder in Google Drive. Optionally specify a parent folder to create it as a subfolder.
gd_empty_trashPermanently delete ALL files in the trash. This action is irreversible. All trashed files for the authenticated user will be permanently removed.
gd_list_permissionsList all permissions (sharing settings) for a file or folder. Shows who has access, their role (owner, writer, commenter, reader), and sharing type (user, group, domain, anyone).
gd_share_fileShare a file or folder by creating a permission. Share with a specific user (email), domain, or make public (anyone). Set role to control access level.
gd_unshare_fileRemove a permission from a file or folder, revoking access for a user, group, or domain. Use gd_list_permissions to find the permission_id first.
gd_list_commentsList comments on a file. Returns comment text, author, timestamps, resolved status, and inline replies.
gd_create_commentAdd a comment to a file. The comment will be attributed to the authenticated user.
gd_delete_commentDelete a comment from a file. Only the comment author or file owner can delete comments.
gd_list_repliesList replies to a specific comment on a file.
gd_create_replyReply to a comment on a file. Optionally resolve the comment thread with action="resolve".
gd_list_drivesList shared drives (formerly Team Drives) that the user has access to. Supports search query for filtering by name.
gd_create_driveCreate a new shared drive (requires Google Workspace account). The authenticated user becomes the organizer.
gd_delete_drivePermanently delete a shared drive. The drive must be empty (no files) before it can be deleted. This action is irreversible.
gd_list_revisionsList revision history for a file. Shows who modified the file, when, file size at each revision, and checksums.
gd_aboutGet information about the authenticated user and their Google Drive — storage quota, import/export formats, and capabilities.