Google Drive MCP Server

Filesystemstdio
Репозиторий

A Model Context Protocol server for Google Drive that lets AI assistants list, search, and read files stored in Drive, with automatic export of Google Docs, Sheets, Slides, and Drawings to readable formats. Authenticates via OAuth 2.0 and exposes Drive files as MCP resources so agents can ground their answers in your documents without copying data into chat first.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

{
  "mcpServers": {
    "google-drive": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gdrive"
      ],
      "env": {
        "GDRIVE_CREDENTIALS_PATH": "<YOUR_GDRIVE_CREDENTIALS_PATH>"
      }
    }
  }
}

Инструменты (2)

gdrive_search

Search for files in Google Drive matching a query string.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Full-text search query for Drive files"
    }
  }
}

gdrive_read_file

Read the contents of a Google Drive file, exporting Google-native formats to text.

{
  "type": "object",
  "required": [
    "file_id"
  ],
  "properties": {
    "file_id": {
      "type": "string",
      "description": "The Google Drive file ID to read"
    }
  }
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
Anthropic (@modelcontextprotocol)
Репозиторий
https://github.com/modelcontextprotocol/servers
Лицензия
MIT
Звёзды
0
Последнее обновление
12 июня 2026 г.