Google Drive
Google Drive: поиск, чтение, создание и раздача прав на файлы через MCP
Что умеет
- Искать файлы по имени, типу, папке, дате и содержимому
- Читать содержимое файлов и экспортировать документы 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
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить Google Drive к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://google-drive--node2flow.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить Google Drive к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://google-drive--node2flow.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (23)
Технические названия из tools/list. Нужны только разработчикам.
| gd_search_files | Search 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_file | Get detailed metadata for a specific file or folder by ID. Returns all available metadata fields including size, owners, permissions, timestamps, and links. |
| gd_read_file | Read/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_file | Create 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_file | Update file metadata — rename, change description, star/unstar, move between folders, or trash/untrash. Use add_parents/remove_parents to move files. |
| gd_copy_file | Create a copy of a file. Optionally specify a new name, destination folder, or description for the copy. |
| gd_delete_file | Permanently 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_file | Export 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_folder | Create a new folder in Google Drive. Optionally specify a parent folder to create it as a subfolder. |
| gd_empty_trash | Permanently delete ALL files in the trash. This action is irreversible. All trashed files for the authenticated user will be permanently removed. |
| gd_list_permissions | List 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_file | Share 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_file | Remove 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_comments | List comments on a file. Returns comment text, author, timestamps, resolved status, and inline replies. |
| gd_create_comment | Add a comment to a file. The comment will be attributed to the authenticated user. |
| gd_delete_comment | Delete a comment from a file. Only the comment author or file owner can delete comments. |
| gd_list_replies | List replies to a specific comment on a file. |
| gd_create_reply | Reply to a comment on a file. Optionally resolve the comment thread with action="resolve". |
| gd_list_drives | List shared drives (formerly Team Drives) that the user has access to. Supports search query for filtering by name. |
| gd_create_drive | Create a new shared drive (requires Google Workspace account). The authenticated user becomes the organizer. |
| gd_delete_drive | Permanently delete a shared drive. The drive must be empty (no files) before it can be deleted. This action is irreversible. |
| gd_list_revisions | List revision history for a file. Shows who modified the file, when, file size at each revision, and checksums. |
| gd_about | Get information about the authenticated user and their Google Drive — storage quota, import/export formats, and capabilities. |