horison-ai/google-drive-mcp
3.1
If you are the rightful owner of google-drive-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
Comprehensive Model Context Protocol server for Google Drive integration.
Google Drive MCP Server
Comprehensive Model Context Protocol server for Google Drive integration.
Features
This MCP server provides complete Google Drive functionality with 18+ operations:
File Operations
drive_list_files- List files with filters and paginationdrive_get_file- Get file metadatadrive_read_file- Download and read file contentdrive_create_file- Create a new filedrive_update_file- Update file contentdrive_delete_file- Move file to trashdrive_copy_file- Create a copy of a filedrive_export_file- Export Google Docs to PDF, DOCX, etc.
Folder Operations
drive_create_folder- Create a new folderdrive_move_file- Move file or folder to another parentdrive_list_folder_contents- List all files in a folder
Search
drive_search- Advanced search with query filters
Sharing & Permissions
drive_share_file- Share file with users or groupsdrive_list_permissions- List all permissions for a filedrive_remove_permission- Remove a permission
Comments
drive_add_comment- Add a comment to a filedrive_list_comments- List all comments on a filedrive_resolve_comment- Mark comment as resolved
Metadata
drive_update_metadata- Update file name, description, etc.
Installation
pip install -e .
Usage
Configure as MCP server in claude_desktop_config.json:
{
"mcpServers": {
"google-drive": {
"command": "python",
"args": ["/path/to/google-drive-mcp/server.py"],
"env": {
"CONNECTIVITY_SERVICE_URL": "http://localhost:8001",
"CONNECTIVITY_SERVICE_API_KEY": "your-api-key"
}
}
}
}
Architecture
This server fetches OAuth credentials from the connectivity-service, then uses the Google Drive API directly for all operations. It does not store credentials locally.