mcp-google-drive
Advanced MCP server for Google Drive integration with full CRUD operations, file management, search, sharing, and drive management capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-google-drivesearch for files with 'budget' in name"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Google Drive
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-driveEnvironment 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": ["mcp-google-drive@1.3.2"],
"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:
Restart Cursor after updating
mcp.jsonCheck MCP Status: Command Palette โ "MCP: Show Servers"
Verify Connection: Command Palette โ "MCP: Test Connection"
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 criteriaget_file- Get file metadata and contentcreate_file- Create new files and foldersupdate_file- Update file content and metadatadelete_file- Delete files and folderscopy_file- Copy files to new locationsmove_file- Move files between folders
Drive Management
get_drive_info- Get drive informationlist_shared_drives- List available shared drives
Sharing & Permissions
get_file_permissions- Get file sharing settingsshare_file- Share files with usersget_file_revisions- Get file version history
๐ Documentation
๐งช Development
Build
npm run buildDevelopment Mode
npm run devLinting
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
Issues: GitHub Issues
Discussions: GitHub Discussions
Documentation: README and Setup Guide
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Longtran2404/mcp-google-drive'
If you have feedback or need assistance with the MCP directory API, please join our Discord server