@node2flow/google-drive-mcp
Exports and converts Google Docs documents to text, HTML, PDF, or DOCX via gd_export_file, and can create Google Workspace documents.
Core integration: 23 tools for searching files with Drive query syntax, reading, creating, updating, copying, deleting and trashing files, exporting Google Workspace files, managing folders and trash, sharing and listing permissions, commenting and replying on files, listing shared drives, and listing revisions or account/storage info.
Exports Google Sheets spreadsheets to CSV, PDF, or XLSX via gd_export_file.
Exports Google Slides presentations to PDF, plain text, or PPTX via gd_export_file.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@node2flow/google-drive-mcp
MCP server for Google Drive — search, read, create, share, comment, and manage files through 23 tools via the Model Context Protocol.
Quick Start
Claude Desktop / Cursor
Add to your MCP config:
{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": ["-y", "@node2flow/google-drive-mcp"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id",
"GOOGLE_CLIENT_SECRET": "your-client-secret",
"GOOGLE_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}HTTP Mode
GOOGLE_CLIENT_ID=xxx GOOGLE_CLIENT_SECRET=xxx GOOGLE_REFRESH_TOKEN=xxx npx @node2flow/google-drive-mcp --httpMCP endpoint: http://localhost:3000/mcp
Cloudflare Worker
Available at: https://google-drive-mcp-community.node2flow.net/mcp
POST https://google-drive-mcp-community.node2flow.net/mcp?GOOGLE_CLIENT_ID=xxx&GOOGLE_CLIENT_SECRET=xxx&GOOGLE_REFRESH_TOKEN=xxxRelated MCP server: aegea-drive-mcp
Tools (23)
Files (10)
Tool | Description |
| Search/list files with powerful query syntax (name, type, folder, date) |
| Get detailed metadata for a file or folder |
| Read/download file content (text files) |
| Create a new file or Google Workspace document |
| Update metadata — rename, move, star, trash/untrash |
| Copy a file to a new location |
| Permanently delete a file (irreversible) |
| Export Google Workspace files (Docs→text, Sheets→csv, etc.) |
| Create a new folder |
| Permanently delete all trashed files |
Permissions (3)
Tool | Description |
| List who has access to a file |
| Share with user, group, domain, or anyone |
| Remove access for a user or group |
Comments (3)
Tool | Description |
| List comments on a file |
| Add a comment to a file |
| Delete a comment |
Replies (2)
Tool | Description |
| List replies to a comment |
| Reply to a comment (optionally resolve thread) |
Shared Drives (3)
Tool | Description |
| List shared drives |
| Create a shared drive (Workspace only) |
| Delete an empty shared drive |
Revisions (1)
Tool | Description |
| List revision history for a file |
About (1)
Tool | Description |
| Get user info, storage quota, and Drive capabilities |
Search Query Syntax
The q parameter in gd_search_files supports powerful queries:
# By name
name = 'exact-name.txt'
name contains 'report'
# By type
mimeType = 'application/vnd.google-apps.folder'
mimeType = 'application/vnd.google-apps.document'
mimeType = 'application/pdf'
# By location
'folderId' in parents
# By status
trashed = false
starred = true
# By date
modifiedTime > '2024-01-01'
createdTime > '2024-06-01T00:00:00'
# Full-text search
fullText contains 'quarterly report'
# Combine with and/or
name contains 'report' and mimeType = 'application/pdf'
trashed = false and modifiedTime > '2024-01-01'Export Formats
Use gd_export_file to convert Google Workspace files:
Source | Export To |
Google Docs |
|
Google Sheets |
|
Google Slides |
|
Google Drawings |
|
Configuration
Parameter | Required | Description |
| Yes | OAuth 2.0 Client ID from Google Cloud Console |
| Yes | OAuth 2.0 Client Secret |
| Yes | Refresh token (obtained via OAuth consent flow) |
Getting Your Credentials
Go to Google Cloud Console
Create a project → Enable Google Drive API
Create OAuth 2.0 Client ID (Desktop app type)
Use the OAuth Playground or your app to get a refresh token with scope
https://www.googleapis.com/auth/drive
OAuth Scopes
Scope | Access |
| Full access (read/write/delete) |
| Read-only access |
| Only files created by or explicitly granted to the app |
License
MIT License - see LICENSE
Copyright (c) 2026 Node2Flow
Links
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read and edit GA4, Search Console and Google Tag Manager from any MCP client. 29 tools.
Hosted MCP for Google Workspace, Atlassian and Notion: one OAuth, per-user accounts, write access.
Permissioned access to Gmail, Drive and Calendar via the user's own Google account
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables comprehensive Google Drive integration through MCP, supporting file management, content operations, permission handling, commenting, version control, and shared drive management through natural language interactions.-
- AlicenseNot gradedqualityDmaintenanceEnables management of Google Drive files, Docs, Sheets, and Slides through natural language using MCP, with support for file operations, search, and shared drives.13 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides complete Google Drive v3 API coverage through 66 MCP tools, enabling file management, permissions, comments, revisions, shared drives, change tracking, and content transfers over Streamable HTTP.MIT
- AlicenseNot gradedqualityFmaintenanceEnables MCP-compliant agents such as Antigravity to create, read, update, and search Google Drive files and Google Docs, Sheets, Slides, and Forms through OAuth-authenticated tools.MIT