# google-drive-comments-mcp [Health: Active]

**Category:** 📂 File Systems  
**Repository:** https://github.com/zayansalman/google-drive-comments-mcp  
**GitHub Stars:** 0  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/google-drive-comments-mcp

## Description
Minimal MCP server for reading comments on Google Drive files (Docs, Sheets, Slides). Read-only.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "google-drive-comments-mcp": {
    "command": "uvx",
    "args": ["google-drive-comments-mcp"]
  }
}
```

## Documentation

## What google-drive-comments-mcp does

google-drive-comments-mcp provides a narrow MCP interface for locating Google Drive files and inspecting their comments. It supports Google Docs, Sheets, and Slides through the Drive API. The server is read-only: it can retrieve file metadata and comment data, but it cannot edit files, add comments, resolve threads, or delete content.

Comment results include the thread author, comment text, the document text quoted by the comment, open or resolved status, creation and modification times, and replies. Reply records can also include resolve or reopen actions. Resolved comments are returned by default, with an option to exclude them.

## How it works

The server runs locally and authenticates to the Google account selected during OAuth setup. It uses an OAuth client created in the developer's own Google Cloud project and caches the resulting refresh token on the local machine. Drive data is not sent to a hosted service.

The `drive_search_files` tool accepts either a plain search string or raw Google Drive query syntax. Plain strings are treated as filename searches. The `drive_get_comments` tool accepts a Google Docs, Sheets, or Slides URL, or a bare Drive file ID, and returns the file information together with its comment counts and threads.

## Setup and configuration

Install the package with pip or uv, then create a Google Cloud project, enable the Drive API, configure the OAuth consent screen, and create a Desktop OAuth client. Import the downloaded client-secret JSON with the setup command. A browser-based consent flow creates a local token at `~/.config/google-drive-comments-mcp/token.json` by default.

google-drive-comments-mcp uses `DRIVE_MCP_CREDENTIALS` for the OAuth client JSON, `DRIVE_MCP_TOKEN` for the cached token, and `DRIVE_MCP_SCOPES` for comma-separated OAuth scopes. The default scope is `https://www.googleapis.com/auth/drive.readonly`; `XDG_CONFIG_HOME` can change the base configuration directory. These settings can also point multiple Google MCP tools at shared credential and token files when their combined scopes are authorized.

## Tools and capabilities

- `drive_search_files(query, max_results=10)` searches Drive and returns file IDs, names, MIME types, modification times, owners, and web links.
- `drive_get_comments(file, include_resolved=true)` reads comment threads for a file URL or ID.
- The standalone CLI supports file search, comment retrieval, status checks, and an open-comments-only option.
- Comment output preserves anchored quoted text and replies, providing context for review discussions.

## Limitations and notes

google-drive-comments-mcp requires a Google account that can access the target file and a locally created OAuth client. The default `drive.readonly` scope covers all readable Drive files for that account, not only the queried file, so the cached token should be protected like a password. The token is written with restrictive permissions by default.

There is no hosted or SaaS deployment described; the server runs on the user's machine. It reads comments only, and suggestions are not returned as comments. If comments appear empty, verify the authorized account, file access, and whether the file contains comments rather than suggestions.

_Full upstream README: https://allmcps.com/mcp/google-drive-comments-mcp/readme_

