Drive
БесплатноНе проверенMCP server enabling file operations (list, search, read, rename, move) on Google Drive and OneDrive.
Описание
MCP server enabling file operations (list, search, read, rename, move) on Google Drive and OneDrive.
README
MCP server for Google Drive and OneDrive operations.
Tools
| Tool | Description |
|---|---|
gdrive_list_folder |
List files in a Google Drive folder by name |
gdrive_list_folder_recursive |
Recursively list files in a folder and subfolders |
gdrive_search |
Search Google Drive by filename |
gdrive_read_file |
Read file contents from Google Drive |
gdrive_rename |
Rename a Google Drive file |
gdrive_move |
Move a Google Drive file to another folder |
onedrive_list_root |
List items in OneDrive root |
onedrive_list_folder |
List items in a OneDrive folder by path |
onedrive_search |
Search OneDrive by filename |
onedrive_read_file |
Read file contents from OneDrive |
Setup
Prerequisites
- Python 3.10+
- Google account with Drive API enabled
- Microsoft account with Graph API access
Installation
git clone https://github.com/<your-user>/drive-mcp.git
cd drive-mcp
python3 -m venv venv
source venv/bin/activate
pip install -e .
Authentication
- Google Drive credentials: place OAuth desktop client JSON at
drive_credentials.json. - OneDrive credentials: defaults in
src/onedrive.pyuse a public device-flow app registration. - Bootstrap auth once:
source venv/bin/activate
python -c "from src import google_drive; google_drive.authenticate()"
python -c "from src import onedrive; onedrive.authenticate()"
Claude Code Configuration
Add to ~/.claude.json:
{
"mcpServers": {
"drive-mcp": {
"type": "stdio",
"command": "/path/to/drive-mcp/venv/bin/python",
"args": ["/path/to/drive-mcp/run_server.py"]
}
}
}
Development
source venv/bin/activate
python -c "from src.server import mcp; print([t.name for t in mcp._tool_manager._tools.values()])"
python run_server.py
License
MIT
Установка Drive
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/henrysouchien/drive-mcpFAQ
Drive MCP бесплатный?
Да, Drive MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Drive?
Нет, Drive работает без API-ключей и переменных окружения.
Drive — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Drive в Claude Desktop, Claude Code или Cursor?
Открой Drive на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Notion
Read and write pages in your workspace
автор: NotionLinear
Issues, cycles, triage — from Claude
автор: LinearGoogle Drive
Search and read your Drive files
автор: Googlemindsdb/mindsdb
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).
автор: mindsdbCompare Drive with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории productivity
