Google Drive server
@tonioshikanlu
关于 Google Drive server
Google Drive MCP server for integrating with Google Drive to allow listing, reading, and searching over files.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-gdrive-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount",
"type=bind,source=/path/to/gcp-oauth.keys.json,target=/gcp-oauth.keys.json",
"-v",
"mcp-gdrive:/gdrive-server",
"-e",
"GDRIVE_OAUTH_PATH=/gcp-oauth.keys.json",
"-e",
"GDRIVE_CREDENTIALS_PATH=/gdrive-server/credentials.json",
"-p",
"3000:3000",
"mcp/gdrive",
"auth"
]
}
}
}工具
1Search for files in Google Drive
概览
What is Google Drive server?
Google Drive server is an MCP (Model Context Protocol) server that integrates with Google Drive to list, read, and search files. It provides a tool for searching and a resource scheme for accessing file content, with automatic export of Google Workspace documents.
How to use Google Drive server?
After setting up a Google Cloud project, enabling the Drive API, and creating OAuth credentials saved as gcp-oauth.keys.json, run node ./dist auth (or the Docker equivalent) to authenticate via browser. Then add the server configuration (Docker or npx) to your MCP client’s mcpServers JSON.
Key features of Google Drive server
- Search files in Google Drive
- Access files via
gdrive:///<file_id>URI - Export Google Docs as Markdown, Sheets as CSV, Slides as plain text, Drawings as PNG
- Support all Google Drive file types
- Read-only access using OAuth 2.0
Use cases of Google Drive server
- Search and retrieve documents for automated processing
- Export Google Docs to Markdown for content management
- Access CSV data from Google Sheets for analysis
- Browse and download files programmatically from Drive
FAQ from Google Drive server
What Google Workspace export formats are supported?
Docs are exported as Markdown, Sheets as CSV, Presentations as plain text, and Drawings as PNG.
How do I authenticate the server?
After placing your OAuth keys file as gcp-oauth.keys.json, run node ./dist auth (or the Docker equivalent) to open a browser flow, then credentials are saved locally.
What OAuth scope is used?
The server uses the https://www.googleapis.com/auth/drive.readonly scope for read‑only access.
How do I configure the server with the Desktop App?
Add a gdrive entry under mcpServers using either the Docker or npx command shown in the README configuration examples.
Does the server support all file types?
Yes, all Google Drive file types are supported; Google Workspace files are auto‑exported, while other files are provided in their native format.
文件与存储 分类下的更多 MCP 服务器

Google Drive
modelcontextprotocolModel Context Protocol Servers
Filesystem
chrisdocManage your Hevy workouts, routines, folders, and exercise templates. Create and update sessions faster, organize plans, and search exercises to build workouts quickly. Stay synced with changes so your training log is always up to date.
Filesystem MCP Server (@shtse8/filesystem-mcp)
shtse8📁 Secure, efficient MCP filesystem server - token-saving batch operations with project root confinement
mcp-v8: V8 JavaScript MCP Server
r33drichardsMCP server that exposes a V8 JavaScript runtime as a tool for AI agents like Claude and Cursor. Supports persistent heap snapshots via S3 or local filesystem, and is ready for integration with modern AI development environments.
Google Drive server
isaacphiModel Context Protocol (MCP) Server for reading from Google Drive and editing Google Sheets
评论