Google Drive MCP Server
@hxie-pallas
Google Drive MCP Server について
A google drive mcp servers based on Python
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"gdrive-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Google Drive MCP Server?
A server that provides an MCP (Model Context Protocol) interface to interact with Google Drive files and folders. It supports searching files, retrieving file content and metadata, and uses OAuth authentication with token persistence. Designed for developers integrating Google Drive into MCP-compatible AI assistants and clients.
How to use Google Drive MCP Server?
Install the package after creating a Python 3.12+ virtual environment. Obtain Google Drive API credentials (OAuth client ID for Desktop app) from the Google Cloud Console and save as credentials.json. Run the authentication setup script (python -m gdrive_mcp_server.auth_setup --credentials /path/to/credentials.json --token /path/to/tokens.json) to generate a token file. Then start the server with gdrive-mcp (stdio mode) or gdrive-mcp --http (HTTP mode). For Claude Desktop integration, add the command and token path to claude_desktop_config.json.
Key features of Google Drive MCP Server
- Search for files in Google Drive
- Get file content and metadata
- OAuth authentication with token persistence
- HTTP and stdio transport modes
- Python 3.12+ support
Use cases of Google Drive MCP Server
- Integrate Google Drive file search into AI assistants
- Retrieve file contents for processing or summarization
- Automate document metadata extraction
- Build custom MCP clients with Drive access
FAQ from Google Drive MCP Server
What are the runtime requirements?
Python 3.12 or higher and valid Google Drive API credentials (OAuth client ID for Desktop app).
How does authentication work?
Uses OAuth with token persistence. You run the auth_setup script with your downloaded credentials.json to generate a tokens.json file that authenticates future sessions.
What transport modes are available?
Two modes: stdio (default) and HTTP (using the --http flag). stdio is used for local integration; HTTP enables remote or web‑based MCP clients.
Where are user tokens stored?
In a tokens.json file specified during the authentication setup. The path is provided via the --token argument and reused when starting the server.
How do I integrate this server with Claude Desktop?
Add an entry to the mcpServers section of claude_desktop_config.json, setting the command to the full path of the gdrive-mcp executable and the args to include --token and the path to your tokens.json file.
「ファイルとストレージ」の他のコンテンツ
PDF Reader MCP Server (@sylphlab/pdf-reader-mcp)
sylphlab📄 The PDF intelligence layer for AI agents — Agent Document Twin, evidence-first extraction, visual crops, OCR provenance, trust reports, and benchmark-gated releases. MCP server for Claude, Cursor, VS Code, and any MCP client.
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.
Sample S3 Model Context Protocol Server
aws-samplesRust MCP Filesystem
rust-mcp-stackBlazing-fast, asynchronous MCP server for seamless filesystem operations.
PDF Reader MCP Server (@shtse8/pdf-reader-mcp)
shtse8📄 The PDF intelligence layer for AI agents — Agent Document Twin, evidence-first extraction, visual crops, OCR provenance, trust reports, and benchmark-gated releases. MCP server for Claude, Cursor, VS Code, and any MCP client.
コメント