ej-mcp-server-gdrive

ej-mcp-server-gdrive

0

The Google Drive server is an MCP server that provides seamless integration with Google Drive, allowing users to list, read, and search files. It supports automatic export of Google Workspace files and offers various methods for integration with desktop apps and development environments like VS Code.

Google Drive Server

This MCP server integrates with Google Drive to allow listing, reading, and searching over files.

Components

Tools

  • search
    • Search for files in Google Drive
    • Returns file names and MIME types of matching files

Resources

  • Files (gdrive:///<file_id>)
    • Supports all file types
    • Google Workspace files are automatically exported (Docs to Markdown, Sheets to CSV, Presentations to plain text, Drawings to PNG).

Getting Started

  1. Create a new Google Cloud project.
  2. Enable the Google Drive API.
  3. Configure an OAuth consent screen.
  4. Add OAuth scope https://www.googleapis.com/auth/drive.readonly.
  5. Create an OAuth Client ID for application type "Desktop App".
  6. Download and configure the JSON key file.

Authentication

Run the server with the auth argument and complete the browser-based authentication flow.

Usage with Desktop App

Integrate with the desktop app using Docker or NPX.

Usage with VS Code

Use one-click install buttons or modify the User Settings JSON for setup.

License

This MCP server is licensed under the MIT License.