Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Google Drive

БесплатноНе проверен

MCP server for Google Drive integration with file management, search, sharing, and full CRUD operations.

GitHubEmbed

Описание

MCP server for Google Drive integration with file management, search, sharing, and full CRUD operations.

README

Advanced MCP server for Google Drive integration with full CRUD operations, file management, and sharing capabilities.

✨ Features

  • File Management: Create, read, update, delete files and folders
  • Search & Discovery: Advanced search with multiple criteria
  • Sharing & Permissions: Manage file sharing and access control
  • Content Operations: Upload, download, and modify file content
  • Drive Operations: List drives, manage shared drives
  • Type Safety: Full TypeScript support with Zod validation
  • Error Handling: Comprehensive error handling and logging

🚀 Quick Setup

Prerequisites

  • Node.js 18+
  • Google Service Account with Drive API enabled
  • Service Account JSON key file

Installation

npm install mcp-google-drive

Environment Setup

Set your Google Service Account credentials:

export GOOGLE_SERVICE_ACCOUNT_KEY='{"type":"service_account",...}'

🔧 Cursor MCP Integration

Automatic Integration

The MCP server is designed to work seamlessly with Cursor. Add this configuration to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "mcp-google-drive": {
      "command": "npx",
      "args": ["[email protected]"],
      "env": {
        "GOOGLE_SERVICE_ACCOUNT_KEY": "your-service-account-json",
        "MCP_MODE": "stdio",
        "LOG_LEVEL": "info",
        "DISABLE_CONSOLE_OUTPUT": "false"
      },
      "cwd": "/path/to/your/project"
    }
  }
}

Troubleshooting Cursor Integration

If MCP tools are not working in Cursor:

  1. Restart Cursor after updating mcp.json
  2. Check MCP Status: Command Palette → "MCP: Show Servers"
  3. Verify Connection: Command Palette → "MCP: Test Connection"
  4. Check Logs: Look for MCP server startup messages

Manual Server Start

If automatic integration fails, you can start the server manually:

# In your project directory
npm run start

# Or globally
npx mcp-google-drive

🛠️ Available Tools

File Operations

  • search_files - Search files with advanced criteria
  • get_file - Get file metadata and content
  • create_file - Create new files and folders
  • update_file - Update file content and metadata
  • delete_file - Delete files and folders
  • copy_file - Copy files to new locations
  • move_file - Move files between folders

Drive Management

  • get_drive_info - Get drive information
  • list_shared_drives - List available shared drives

Sharing & Permissions

  • get_file_permissions - Get file sharing settings
  • share_file - Share files with users
  • get_file_revisions - Get file version history

📚 Documentation

🧪 Development

Build

npm run build

Development Mode

npm run dev

Linting

npm run lint
npm run lint:fix

📄 License

MIT License - see LICENSE for details.

🤝 Contributing

Contributions welcome! Please read our contributing guidelines and submit pull requests.

📞 Support

from github.com/Longtran2404/mcp-google-drive

Установить Google Drive в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install mcp-google-drive

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add mcp-google-drive -- npx -y mcp-google-drive

FAQ

Google Drive MCP бесплатный?

Да, Google Drive MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Google Drive?

Нет, Google Drive работает без API-ключей и переменных окружения.

Google Drive — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Google Drive в Claude Desktop, Claude Code или Cursor?

Открой Google Drive на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Google Drive with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории productivity