gdrive-mcp-server
32
This project is a Model Context Protocol server for Google Drive, allowing AI models to access, search, and read Google Drive files with easy integration. It features automated file conversion and requires a Google Cloud setup.
Google Drive MCP Server
A powerful Model Context Protocol (MCP) server for Google Drive, enabling AI models to search, list, and read files from Google Drive.
🚀 Features
Tools
- GDrive Search: Full-text search for files.
- GDrive Read File: Read file contents using a Google Drive file ID.
Automatic File Format Handling
- Converts Google Workspace files to appropriate formats like Markdown or CSV.
🛠️ Getting Started
Prerequisites
- Node.js (v16+), npm or yarn, Google Cloud Project, Google account.
- Detailed setup instructions in the Google Cloud Console.
Installation
- Clone repository and install dependencies.
- Perform OAuth authentication and configure credentials.
🔧 Usage
- Start the server via command line.
- Integration example for desktop apps.
🔒 Security
- Secure OAuth 2.0 flow with read-only access to Google Drive.
🤝 Contributing
Contributions are welcome via Pull Request.
📝 License
Licensed under the MIT License.
🔍 Troubleshooting
- Verify Google Cloud setup and OAuth configuration.