G

Google Drive MCP Server

Verified

Search, read, and manage Google Drive files from AI agents.

open-source 90/100 Files & Storage google-drive cloud-storage documents google files

A Model Context Protocol server for Google Drive. Enables AI agents to search for files, read file contents, and list files in Google Drive.

Supports Google Docs, Sheets, and other file types. Requires OAuth2 credentials for Google API access.

Install

npx -y @modelcontextprotocol/server-gdrive

MCP Client Config

{
  "mcpServers": {
    "gdrive": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gdrive"
      ],
      "env": {
        "GDRIVE_CREDENTIALS_PATH": "<path-to-credentials.json>"
      }
    }
  }
}

Required Environment Variables

  • GDRIVE_CREDENTIALS_PATH

Capabilities

Tools

search_filesread_file

Resources

gdrive://

Compatible With

Claude Desktop Claude Code Cursor

Metrics

87,950

GitHub Stars

158,747

Installs

6,652

Weekly

617

Open Issues