3D MCP Cursor Visualization
Google Drive MCP Logo - AI-Powered Development Tool for Cursor IDE

Google Drive MCP

Model Context Protocol Integration

Overview

An MCP server that integrates with Google Drive to enable file listing, reading, and searching capabilities. Supports automatic file format conversion for Google Workspace files and provides seamless access to Drive contents.

Google Drive Features

  • File search capabilities
  • Automatic file format conversion
  • Google Workspace integration
  • File content access
  • Directory listing
  • OAuth authentication
  • Multiple file type support

Google Drive Setup & Configuration

Requirements

  • Google Cloud project
  • Google Drive API enabled
  • OAuth 2.0 credentials
  • Docker or Node.js
  • Claude Desktop

Installation Instructions

# Initial Setup
1. Create Google Cloud project
2. Enable Google Drive API
3. Configure OAuth consent screen
4. Create OAuth Client ID (Desktop App)
5. Download and rename key file to gcp-oauth.keys.json

# Authentication
docker run -i --rm \
  --mount type=bind,source=/path/to/gcp-oauth.keys.json,target=/gcp-oauth.keys.json \
  -v mcp-gdrive:/gdrive-server \
  -e GDRIVE_OAUTH_PATH=/gcp-oauth.keys.json \
  -e "GDRIVE_CREDENTIALS_PATH=/gdrive-server/credentials.json" \
  -p 3000:3000 mcp/gdrive auth

Configuration

# Docker Configuration
{
  "mcpServers": {
    "gdrive": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "mcp-gdrive:/gdrive-server",
        "-e",
        "GDRIVE_CREDENTIALS_PATH=/gdrive-server/credentials.json",
        "mcp/gdrive"
      ]
    }
  }
}

# NPX Configuration
{
  "mcpServers": {
    "gdrive": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gdrive"
      ]
    }
  }
}

Google Drive Available Tools

  • search

Google Drive Required Inputs

query

Type
string
Description
Search query for files
Required
Yes

Google Drive Use Cases

  • File search and discovery
  • Document content access
  • Google Workspace integration
  • File format conversion
  • Content organization
  • Document management
  • Team collaboration

Frequently Asked Questions

An MCP server that integrates with Google Drive to enable file listing, reading, and searching capabilities. Supports automatic file format conversion for Google Workspace files and provides seamless access to Drive contents.
Google Cloud project, Google Drive API enabled, OAuth 2.0 credentials, Docker or Node.js, Claude DesktopView detailed requirements
Follow the installation instructions in the setup section above.View installation guide

Google Drive MCP provides the following tools:

  • search