Overview
Access, search, and manage Google Drive files, folders, and shared documents.
Setup
Run with npx:
npx -y @modelcontextprotocol/server-google-driveConfiguration
GOOGLE_APPLICATION_CREDENTIALS path to OAuth credentials JSONDocumentation
Google Drive MCP (Enhanced)
Overview
Google Drive MCP provides access to Google Drive for file management, search, and collaboration.
Features
- File upload and download
- Folder management
- File search
- Sharing and permissions
- Real-time collaboration
Installation
npx -y @modelcontextprotocol/server-google-drive
Configuration
Set up OAuth credentials:
export GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials.json
Get your credentials from Google Cloud Console.
Available Operations
| Operation | Description |
|---|---|
| List | Browse files and folders |
| Search | Find files by name or content |
| Read | Download file contents |
| Write | Upload new files |
| Share | Manage file permissions |
Usage Examples
List Files
{
"action": "list",
"query": "mimeType='application/vnd.google-apps.folder'"
}
Search Files
{
"action": "search",
"query": "name contains 'report' and trashed=false"
}
Read File
{
"action": "read",
"file_id": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
}
Pros
- ✅ Native Google integration
- ✅ Real-time collaboration
- ✅ Version history
- ✅ Large storage capacity
Cons
- ❌ Requires OAuth setup
- ❌ Google ecosystem dependency
- ❌ Rate limits on API calls
