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-rquest
xxxbrianA MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
Mcp Google Sheets
xing5This MCP server integrates with your Google Drive and Google Sheets, to enable creating and modifying spreadsheets.
Sample S3 Model Context Protocol Server
aws-samplesmd-pdf-mcp (Markdown to PDF MCP Server)
seanivoreMarkdown To PDF Conversion MCP
MCP Filesystem Server
mark3labsGo server implementing Model Context Protocol (MCP) for filesystem operations.
コメント