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

84,186

GitHub Stars

95,756

Installs

6,265

Weekly

353

Open Issues