MCP Google Drive Server
Provides tools for interacting with Google Drive, including listing, searching, reading, creating, updating, deleting, moving, copying, renaming, sharing files and folders, managing permissions, and viewing storage quota.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Google Drive Serverlist files in my 'Projects' folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🚀 MCP Google Drive Server
Kết nối AI Assistant với Google Drive của bạn thông qua Model Context Protocol (MCP)
Connect your AI Assistant to Google Drive via Model Context Protocol (MCP)
📖 Hướng dẫn Tiếng Việt
MCP Google Drive là gì?
MCP Google Drive là một server tuân theo chuẩn Model Context Protocol (MCP) — giao thức cho phép các AI Assistant (như Antigravity IDE, Claude Code, Claude Desktop) đọc, ghi, tìm kiếm và quản lý file trên Google Drive của bạn trực tiếp qua chat.
Sau khi cài đặt, bạn có thể nói chuyện với AI như:
"Hãy tạo file tóm tắt cuộc họp hôm nay và lưu vào thư mục 'Work' trên Drive của tôi" "Đọc nội dung file report.txt trong Drive và phân tích giúp tôi" "Tìm tất cả file Excel trong Drive có tên chứa 'báo cáo'"
✨ Tính năng
Tool | Mô tả |
| Liệt kê file/folder trong thư mục bất kỳ |
| Tạo thư mục mới |
| Đọc nội dung file (hỗ trợ Google Docs, Sheets, CSV, text) |
| Tạo file mới với nội dung |
| Cập nhật nội dung file có sẵn |
| Xóa file/folder (chuyển vào thùng rác hoặc xóa vĩnh viễn) |
| Tìm kiếm file theo tên, loại, v.v. |
📋 Yêu cầu trước khi cài đặt
Node.js v18 trở lên
Tài khoản Google
Đã cài Antigravity IDE hoặc Claude Code / Claude Desktop
🔧 Bước 1: Lấy Google OAuth Credentials
Đây là bước quan trọng nhất. Bạn cần tạo thông tin xác thực OAuth 2.0 từ Google Cloud Console.
1.1. Vào Google Cloud Console
Truy cập https://console.cloud.google.com
Đăng nhập bằng tài khoản Google của bạn
Tạo Project mới hoặc chọn project hiện có
1.2. Bật Google Drive API
Trong menu bên trái, chọn "APIs & Services" → "Library"
Tìm kiếm "Google Drive API"
Click vào kết quả và nhấn "Enable" (Bật)
1.3. Tạo OAuth 2.0 Credentials
Vào "APIs & Services" → "Credentials"
Click "+ Create Credentials" → "OAuth client ID"
Nếu được yêu cầu cấu hình OAuth consent screen:
Chọn "External" → "Create"
Điền tên app (bất kỳ, ví dụ: "My MCP Drive")
Thêm email của bạn vào "Test users"
Lưu lại
Quay lại tạo credentials:
Application type: chọn "Desktop app"
Name: đặt tên bất kỳ (ví dụ: "MCP Drive Desktop")
Click "Create"
Nhấn "Download JSON" để tải file credentials
1.4. Lưu file credentials
Đặt file vừa tải về vào thư mục dự án và đổi tên thành credentials.json
⚠️ Quan trọng: KHÔNG chia sẻ file
credentials.jsonvàtoken.jsonvới bất kỳ ai!
📥 Bước 2: Cài đặt MCP Google Drive
# Clone repository
git clone https://github.com/mrbit-dev/mcp-google-driver.git
cd mcp-google-driver
# Cài đặt dependencies
npm install
# Build TypeScript
npm run build🔑 Bước 3: Xác thực Google Drive (Lần đầu tiên)
npm run authChương trình sẽ:
Hiển thị một đường link Google OAuth
Mở link đó trong trình duyệt, đăng nhập và cấp quyền
Sau khi xác nhận, bạn sẽ được chuyển hướng (trang có thể báo lỗi kết nối — điều đó bình thường)
Copy toàn bộ URL trên thanh địa chỉ trình duyệt và dán vào terminal
File
token.jsonsẽ được tạo tự động — xác thực thành công!
⚙️ Bước 4: Cài đặt vào AI Assistant
🤖 Antigravity IDE
Mở Antigravity IDE
Vào Settings → MCP Servers
Thêm cấu hình sau:
{
"mcpServers": {
"google-drive": {
"command": "node",
"args": ["C:/ĐƯỜNG_DẪN_ĐẾN_THƯ_MỤC/mcp-google-driver/dist/index.js"],
"env": {
"CREDENTIALS_PATH": "C:/ĐƯỜNG_DẪN_ĐẾN_THƯ_MỤC/mcp-google-driver/credentials.json",
"TOKEN_PATH": "C:/ĐƯỜNG_DẪN_ĐẾN_THƯ_MỤC/mcp-google-driver/token.json"
}
}
}
}💡 Thay
C:/ĐƯỜNG_DẪN_ĐẾN_THƯ_MỤCbằng đường dẫn thực tế trên máy bạn.Ví dụ Windows:
C:/Users/TenUser/Documents/mcp-google-driverVí dụ macOS/Linux:/home/user/mcp-google-driver
Restart Antigravity IDE
Kiểm tra: Chat với AI và hỏi "Liệt kê file trong Google Drive của tôi"
🖥️ Claude Code (CLI)
Thêm vào file cấu hình MCP của Claude Code:
# Mở file cấu hình (tạo nếu chưa có)
# Windows: %APPDATA%\Claude\claude_desktop_config.json
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Linux: ~/.config/Claude/claude_desktop_config.jsonNội dung file cấu hình:
{
"mcpServers": {
"google-drive": {
"command": "node",
"args": ["/ĐƯỜNG_DẪN_THỰC_TẾ/mcp-google-driver/dist/index.js"],
"env": {
"CREDENTIALS_PATH": "/ĐƯỜNG_DẪN_THỰC_TẾ/mcp-google-driver/credentials.json",
"TOKEN_PATH": "/ĐƯỜNG_DẪN_THỰC_TẾ/mcp-google-driver/token.json"
}
}
}
}🖥️ Claude Desktop
Mở Claude Desktop
Vào Settings → Developer → Edit Config
Thêm cấu hình tương tự như Claude Code ở trên
Restart Claude Desktop
🎯 Ví dụ sử dụng
Sau khi cài xong, bạn có thể ra lệnh cho AI bằng ngôn ngữ tự nhiên:
📂 "Liệt kê tất cả file trong thư mục gốc Drive của tôi"
📖 "Đọc nội dung của file có ID: 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms"
✍️ "Tạo file text tên 'notes.txt' với nội dung 'Ghi chú quan trọng hôm nay'"
📁 "Tạo thư mục tên 'Dự án 2025' trong Drive"
🔍 "Tìm tất cả file PDF trong Drive"
🗑️ "Chuyển file ID abc123 vào thùng rác"❓ Xử lý lỗi thường gặp
Lỗi | Nguyên nhân | Giải pháp |
| Chưa đặt file credentials | Đặt |
| Chưa xác thực | Chạy |
| Token hết hạn | Chạy lại |
| Chưa bật Drive API | Bật Google Drive API trong Google Cloud Console |
Related MCP server: Google Docs MCP Server
📖 English Guide
What is MCP Google Drive?
MCP Google Drive is a server implementing the Model Context Protocol (MCP) — a standard that allows AI Assistants (Antigravity IDE, Claude Code, Claude Desktop) to read, write, search and manage files on your Google Drive directly through chat.
✨ Features
Tool | Description |
| List files/folders in any directory |
| Create a new folder |
| Read file content (supports Google Docs, Sheets, CSV, text) |
| Create a new file with content |
| Update existing file content |
| Delete file/folder (trash or permanent) |
| Search files by name, type, etc. |
📋 Prerequisites
Node.js v18 or higher
A Google Account
Antigravity IDE, Claude Code, or Claude Desktop installed
🔧 Step 1: Get Google OAuth Credentials
1.1. Go to Google Cloud Console
Sign in with your Google account
Create a new project or select an existing one
1.2. Enable Google Drive API
Navigate to "APIs & Services" → "Library"
Search for "Google Drive API"
Click the result and press "Enable"
1.3. Create OAuth 2.0 Credentials
Go to "APIs & Services" → "Credentials"
Click "+ Create Credentials" → "OAuth client ID"
If prompted to configure OAuth consent screen:
Choose "External" → "Create"
Fill in app name (any name, e.g., "My MCP Drive")
Add your email to "Test users"
Save
Back to creating credentials:
Application type: select "Desktop app"
Name: any name (e.g., "MCP Drive Desktop")
Click "Create"
Click "Download JSON" to download credentials
1.4. Save credentials file
Place the downloaded file in your project directory and rename it to credentials.json
⚠️ Important: NEVER share
credentials.jsonortoken.jsonwith anyone!
📥 Step 2: Install MCP Google Drive
# Clone repository
git clone https://github.com/mrbit-dev/mcp-google-driver.git
cd mcp-google-driver
# Install dependencies
npm install
# Build TypeScript
npm run build🔑 Step 3: Authenticate with Google Drive (First time only)
npm run authThe program will:
Display a Google OAuth link
Open that link in your browser, sign in and grant permissions
After confirmation, you'll be redirected (the page may show a connection error — that's normal)
Copy the full URL from the browser address bar and paste it into the terminal
token.jsonwill be created automatically — authentication successful!
⚙️ Step 4: Configure your AI Assistant
🤖 Antigravity IDE
Open Antigravity IDE
Go to Settings → MCP Servers
Add the following configuration:
{
"mcpServers": {
"google-drive": {
"command": "node",
"args": ["C:/PATH_TO_FOLDER/mcp-google-driver/dist/index.js"],
"env": {
"CREDENTIALS_PATH": "C:/PATH_TO_FOLDER/mcp-google-driver/credentials.json",
"TOKEN_PATH": "C:/PATH_TO_FOLDER/mcp-google-driver/token.json"
}
}
}
}💡 Replace
C:/PATH_TO_FOLDERwith the actual path on your machine.Windows example:
C:/Users/YourName/Documents/mcp-google-drivermacOS/Linux example:/home/user/mcp-google-driver
Restart Antigravity IDE
Test: Chat with AI and ask "List files in my Google Drive"
🖥️ Claude Code (CLI)
Add to your Claude Code MCP configuration file:
# Config file location:
# Windows: %APPDATA%\Claude\claude_desktop_config.json
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Linux: ~/.config/Claude/claude_desktop_config.jsonConfig content:
{
"mcpServers": {
"google-drive": {
"command": "node",
"args": ["/ACTUAL_PATH/mcp-google-driver/dist/index.js"],
"env": {
"CREDENTIALS_PATH": "/ACTUAL_PATH/mcp-google-driver/credentials.json",
"TOKEN_PATH": "/ACTUAL_PATH/mcp-google-driver/token.json"
}
}
}
}🖥️ Claude Desktop
Open Claude Desktop
Go to Settings → Developer → Edit Config
Add the same configuration as Claude Code above
Restart Claude Desktop
❓ Common Error Troubleshooting
Error | Cause | Solution |
| Credentials file missing | Place |
| Not authenticated yet | Run |
| Token has expired | Run |
| Drive API not enabled | Enable Google Drive API in Google Cloud Console |
🛡️ Security / Bảo mật
credentials.jsonvàtoken.jsonkhông được commit lên Git (đã có trong.gitignore)Chỉ cấp quyền tối thiểu cần thiết cho Google Drive API
Token được tự động làm mới khi hết hạn
📄 License
MIT License — Xem file LICENSE để biết thêm chi tiết.
Available Tools
7 toolsgdrive_create_folderC
Create a new folder in Google Drive
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the new folder | |
| parentId | No | The ID of the parent folder where the new folder will be created. Defaults to 'root'. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, and the description does not disclose behavioral traits such as permissions required, behavior on duplicate folder names, error handling for invalid parentId, or whether the folder is created immediately. The description only states the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, which is concise and front-loaded. However, it could be slightly restructured to include key details like default parent behavior or return value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and no annotations, the description lacks completeness. It does not explain what the tool returns (e.g., folder ID), error scenarios, or behavior when parentId is omitted. This leaves the agent with insufficient context to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Both parameters have descriptive names and descriptions in the input schema, so the tool description adds no additional meaning beyond the schema. Baseline score of 3 is appropriate as it neither harms nor significantly helps parameter understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (Create) and resource (a new folder in Google Drive). It is specific and distinguishable from sibling tools like gdrive_delete_file or gdrive_list, though it does not explicitly differentiate from file creation tools like gdrive_write_file.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. For example, it does not mention prerequisites like parent folder existence or when to use gdrive_write_file instead for creating a file.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gdrive_delete_fileA
Move a file or folder to trash or delete it permanently
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The ID of the file or folder to delete | |
| useTrash | No | If true, moves to trash instead of permanent deletion. Recommended. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description must disclose behavioral traits. It only mentions the two disposal modes (trash vs permanent) but omits details about permissions, irreversibility of permanent deletion, or effects on shared files. This is minimal coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that clearly communicates the tool's purpose. Every word earns its place with no superfluous information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description adequately covers the basic action and parameter choice, but it lacks context on recursive deletion for folders, potential error states, or return behavior. Given the tool's simplicity (2 params, no output schema), it is minimally viable but has gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema covers both parameters (fileId, useTrash) with descriptions, achieving 100% coverage. The description adds no extra meaning beyond the schema, meeting the baseline expectation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's action: moving a file or folder to trash or permanent deletion. It uses specific verbs and resources, distinguishing it from sibling tools that perform create, list, read, search, update, and write operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when deletion is needed but lacks explicit guidance on when to use this tool versus others. While the 'useTrash' parameter includes a recommendation, there is no direct comparison with alternative actions or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gdrive_listB
List files and folders in a specific directory or root folder
| Name | Required | Description | Default |
|---|---|---|---|
| parentId | No | The ID of the parent folder. Use 'root' for the top level directory. | root |
| pageSize | No | Maximum number of files to return |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Without annotations, the description only states 'List files and folders', implying a read-only operation. It does not explicitly disclose whether it modifies data, rate limits, or permission requirements. The behavior is clear but not fully detailed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that immediately conveys the tool's purpose without unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description does not explain the return format (e.g., file/folder metadata, pagination) or error conditions. Given no output schema, this leaves the agent lacking critical information for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so parameters are well-documented in the schema. The description adds no additional meaning beyond what the schema provides (e.g., parentId and pageSize descriptions already exist).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool lists files and folders in a specific directory or root folder, matching the verb 'list' and resource 'files and folders'. It distinguishes itself from siblings like gdrive_search (which searches across drives) and gdrive_read_file (which reads a single file).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives (e.g., gdrive_search). The description lacks context about prerequisites or decision criteria for selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gdrive_read_fileA
Read the content of a Google Drive file as text
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The unique ID of the file to read |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description must disclose traits. It says 'as text' implying a limitation, but no mention of permissions, size limits, or binary handling. Minimal beyond 'read'.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence with no wasted words, perfectly front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read tool with one parameter and no output schema, the description is mostly sufficient. Could hint at return value format, but acceptable.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for fileId with a clear description. The tool description adds the context that output is text, which is not in schema, but does not elaborate on the parameter itself.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Read' and the resource 'a Google Drive file as text', distinguishing it from sibling tools like gdrive_write_file and gdrive_delete_file.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Implicitly, use when needing file content. No explicit when-not or alternative guidance, such as preferring gdrive_list for metadata.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gdrive_searchB
Search for files and folders using Google Drive Query syntax
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query, e.g. "name contains 'contract'" or "mimeType = 'application/vnd.google-apps.folder'" | |
| pageSize | No | Maximum number of results to return |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description bears full responsibility for behavioral disclosure. It only states the search action but fails to mention that it is read-only, how pagination works, error handling for invalid syntax, or that it returns metadata only.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence (9 words) that front-loads the core action. No unnecessary words or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is minimally adequate for a simple search tool but omits important details like return format, default ordering, handling of large result sets (despite pageSize), and behavior on invalid queries. Given no output schema and no annotations, these gaps reduce completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema describes both parameters fully (100% coverage), so baseline is 3. The tool description adds context about 'Google Drive Query syntax', reinforcing the query parameter format, but provides no additional detail beyond the schema examples.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it searches for files and folders using Google Drive Query syntax, specifying the verb, resource, and method. However, it does not differentiate from the sibling tool 'gdrive_list', which could be used for simpler listing without queries.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like 'gdrive_list'. The description does not mention prerequisites, exclusions, or typical use cases, leaving the agent without context for selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gdrive_update_fileC
Update the content of an existing text file in Google Drive
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The ID of the file to update | |
| content | Yes | The new text content to write into the file |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Description lacks details about behavior: whether it replaces content entirely, what happens if file doesn't exist, permissions needed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, no fluff, but could include more useful information without becoming verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Lacks details about constraints (e.g., only text files), return value, and error handling; minimal for a mutation tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers all parameters with descriptions; tool description adds no additional semantic value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states it updates an existing text file's content, but does not differentiate from sibling tool 'gdrive_write_file' which may have similar functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like gdrive_write_file or gdrive_read_file.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gdrive_write_fileC
Create a new text file or overwrite an existing file with content
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the file to create | |
| content | Yes | The text content of the file | |
| parentId | No | The ID of the parent folder. Defaults to 'root'. | |
| mimeType | No | Mime type of the file. Defaults to 'text/plain'. For Google Doc use 'application/vnd.google-apps.document'. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavioral traits. It mentions overwriting existing files but omits details like destructive nature, permission requirements, error conditions, or behavior with different mime types (e.g., Google Docs).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that is front-loaded with the key action. It is efficient but could incorporate important behavioral details without losing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (4 parameters, 2 required, no output schema) and the absence of annotations, the description is incomplete. It does not mention default values for parentId and mimeType, return values, or error handling, leaving significant gaps for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds minimal value beyond the schema, only loosely referencing 'text content' and not explaining parameter interactions (e.g., content for non-text mime types).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool creates or overwrites a file with content. It identifies the verb (create/overwrite) and resource (file), but lacks distinction from the sibling gdrive_update_file tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like gdrive_update_file. The description does not specify prerequisites, context, or when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
7 tool updates
v1.0.0- First observed
gdrive_create_folder - First observed
gdrive_delete_file - First observed
gdrive_list - First observed
gdrive_read_file - First observed
gdrive_search - First observed
gdrive_update_file - First observed
gdrive_write_file
TDQS
Each tool targets a distinct operation (create folder, delete, list, read, search, update, write) with clear boundaries. Even the write and update tools are differentiated by context (new/overwrite vs. existing).
All tools follow the consistent pattern 'gdrive_verb_noun' (e.g., gdrive_create_folder, gdrive_read_file). The naming is uniform and predictable.
With 7 tools, the set is well-scoped for a Google Drive server covering essential file and folder operations without being excessive or too sparse.
The set covers core CRUD operations (create, read, update, delete, list, search). However, it lacks support for binary files, file/folder moves, renaming, and permission management, which are minor gaps.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Give Claude only the Google Drive files you choose. Every action logged.
Create and manage documents, spreadsheets, and presentations from your AI assistant.
Permissioned access to Gmail, Drive and Calendar via the user's own Google account
Connect AI assistants to Google Sheets through controlled tools for reading and updating rows.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive interaction with Google Docs and Google Drive through AI assistants, supporting document reading/writing, rich formatting, table/image insertion, comment management, and complete file/folder operations with secure OAuth authentication.11MIT
- FlicenseBqualityDmaintenanceEnables AI assistants to create, read, edit, and manage Google Docs and Drive files with support for formatting, comments, tables, images, and bulk operations.571-
- FlicenseAqualityCmaintenanceEnables AI assistants to interact with Google Drive, including reading, searching, listing folders, and uploading files.71-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create, read, and modify Google Slides, Sheets, Docs, and Drive documents programmatically. Supports file management, content editing, and version history retrieval.1,8951MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrbit-dev/mcp-google-driver'
If you have feedback or need assistance with the MCP directory API, please join our Discord server