# Google Drive MCP

> Google Drive MCP is an open-source MCP server for files and documents. Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/piotr-agier/google-drive-mcp
- **MCP Registry name:** io.github.piotr-agier/google-drive-mcp
- **Categories:** files and documents
- **Listing updated:** 2026-11-13

## About

Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP.

## Install

### Claude Code (Terminal)

```sh
claude mcp add google-drive-mcp --env GOOGLE_DRIVE_OAUTH_CREDENTIALS='<GOOGLE_DRIVE_OAUTH_CREDENTIALS>' -- npx -y @piotr-agier/google-drive-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "google-drive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@piotr-agier/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "google-drive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@piotr-agier/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "google-drive-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@piotr-agier/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "google-drive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@piotr-agier/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "google-drive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@piotr-agier/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
      }
    }
  }
}
```

## FAQ

### Is Google Drive MCP free?

Yes. Google Drive MCP is open source, so you can use and self-host it for free.

### How do I add Google Drive MCP to Claude Code?

Run this command in your terminal: claude mcp add google-drive-mcp --env GOOGLE_DRIVE_OAUTH_CREDENTIALS='<GOOGLE_DRIVE_OAUTH_CREDENTIALS>' -- npx -y @piotr-agier/google-drive-mcp

### What are the best alternatives to Google Drive MCP?

The closest alternatives to Google Drive MCP are ASTra, CARTESIAN ECU, Invoices, SigPen and ConvertAudioToText.

## Alternatives

- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [CARTESIAN ECU](https://ai-powered.com/mcp/cartesian-ecu): CARTESIAN ECU is a paid MCP server for files and documents.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [ConvertAudioToText](https://ai-powered.com/mcp/convertaudiototext): ConvertAudioToText is a freemium MCP server for design and media.
- [WhoScribe](https://ai-powered.com/mcp/whoscribe): WhoScribe is a freemium MCP server for design and media.
- [filex](https://ai-powered.com/mcp/filex): filex is an open-source MCP server for files and documents.
- [DocJacket](https://ai-powered.com/mcp/docjacket): DocJacket is a freemium MCP server for productivity.

---
Source: https://ai-powered.com/mcp/google-drive-mcp-3
