G

Google Drive MCP Server

Verified

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

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

91,509

GitHub Stars

230,186

Installs

2,904

Weekly

136

Open Issues