G

Google Drive MCP Server

Verified

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

open-source 70/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

18,500

GitHub Stars

9,200

Installs

680

Weekly

10

Open Issues