---
title: "Google Drive MCP Server Setup Guide and Schema"
slug: "google-drive"
category: "cloud-services"
package: "@modelcontextprotocol/server-gdrive"
transport: "stdio"
canonical: "https://mcp-codex.com/servers/google-drive"
source: "MCP Codex (https://mcp-codex.com)"
dateModified: "2026-09-28"
---

# Google Drive MCP Server

> Search, read, and manage Google Drive files and folders.

## Overview
Enable AI agents to search Google Drive, read file contents (Docs, Sheets, PDFs), list folders, and manage Drive organization. Uses OAuth 2.0 for secure access.

## Quick Install
```bash
npx -y @modelcontextprotocol/server-gdrive
```

## Client Configurations

### Claude Desktop (`claude_desktop_config.json`)
```json
{
  "mcpServers": {
    "google-drive": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gdrive"
      ]
    }
  }
}
```

### Cursor (`mcp.json`)
```json
{
  "mcpServers": {
    "google-drive": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gdrive"
      ]
    }
  }
}
```

### OpenAI Codex CLI (`~/.codex/config.toml`)
```toml
[mcp_servers.google-drive]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-gdrive"]
```

## Available Tools (3)

- `search_drive`
- `read_file`
- `list_files`

## Exposed Resources

- `gdrive:///`

## Documentation & Links
- Canonical Web Page: https://mcp-codex.com/servers/google-drive
- Weekly Protocol Changelog: https://mcp-codex.com#newsletter
- GitHub Repository: https://github.com/modelcontextprotocol/servers/tree/main/src/gdrive
- Setup Tutorial Guide: https://mcp-codex.com/articles/google-drive-mcp-server

