Google Drive MCP Server
Googleドライブサーバー
この MCP サーバーは Google ドライブと統合されており、ファイルの一覧表示、読み取り、検索に加え、Google スプレッドシートの読み取りと書き込みも可能になります。
このプロジェクトには、もともと Anthropic, PBC によって開発され、このリポジトリから MIT ライセンスに基づいてライセンスされたコードが含まれています。
コンポーネント
ツール
gdrive_search
説明: Google ドライブ内のファイルを検索します。
入力:
query(文字列): 検索クエリ。pageToken(文字列、オプション): 次の結果ページのトークン。pageSize(数値、オプション): ページあたりの結果数 (最大 100)。
出力: 一致するファイルのファイル名と MIME タイプを返します。
gdrive_read_file
説明: Google ドライブからファイルの内容を読み取ります。
入力:
fileId(文字列): 読み取るファイルの ID。
出力: 指定されたファイルの内容を返します。
gsheets_read
説明: 範囲と書式設定の柔軟なオプションを使用して、Google スプレッドシートからデータを読み取ります。
入力:
spreadsheetId(文字列): 読み取るスプレッドシートの ID。ranges(文字列の配列、オプション):A1表記の範囲の配列(例:['Sheet1!A1:B10'])。指定されていない場合は、シート全体を読み取ります。sheetId(数値、オプション): 読み取るシートIDを指定します。範囲が指定されていない場合は、最初のシートを読み取ります。
出力: スプレッドシートから指定されたデータを返します。
gsheets_update_cell
説明: Google スプレッドシートのセルの値を更新します。
入力:
fileId(文字列): スプレッドシートの ID。range(文字列): A1 表記のセル範囲 (例:'Sheet1!A1')。value(文字列): 新しいセルの値。
出力: 指定されたセルの更新された値を確認します。
リソース
サーバーは Google ドライブ ファイルへのアクセスを提供します。
ファイル(
gdrive:///<file_id>)すべてのファイルタイプをサポート
Google Workspace ファイルは自動的にエクスポートされます。
ドキュメント → Markdown
スプレッドシート → CSV
プレゼンテーション → プレーンテキスト
図面 → PNG
その他のファイルはネイティブ形式で提供されます
Related MCP server: manus-mcp
はじめる
OAuth 同意画面を構成する(テストの場合は「内部」で問題ありません)
OAuth スコープ
https://www.googleapis.com/auth/spreadsheets追加しますhttps://www.googleapis.com/auth/drive.readonlyアプリケーションタイプ「デスクトップアプリ」のOAuth クライアント ID を作成します
クライアントのOAuthキーのJSONファイルをダウンロードします
キーファイルの名前を
gcp-oauth.keys.jsonに変更し、GDRIVE_CREDS_DIRで指定したパス (例:/Users/username/.config/mcp-gdrive) に配置します。OAuthクライアントIDとクライアントシークレットをメモしてください。これらは設定ディレクトリとともに環境変数として指定する必要があります。
必ずnpm run buildまたはnpm run watchのいずれかを使用してサーバーをビルドしてください。
Smithery経由でインストール
Smithery経由で Claude Desktop 用の drive-mcp を自動的にインストールするには:
npx -y @smithery/cli install @rishipradeep-think41/drive-mcp --client claude認証
Google API にリクエストを行う前に、ブラウザで認証を求められます。Google Cloud プロジェクトと同じ組織のアカウントで認証する必要があります。
OAuth トークンは、 GDRIVE_CREDS_DIR環境変数で指定されたディレクトリに保存されます。
デスクトップアプリでの使用
このサーバーをデスクトップ アプリと統合するには、アプリのサーバー構成に以下を追加します。
{
"mcpServers": {
"gdrive": {
"command": "npx",
"args": [
"-y",
"@isaacphi/mcp-gdrive"
],
"env": {
"CLIENT_ID": "<CLIENT_ID>",
"CLIENT_SECRET": "<CLIENT_SECRET>",
"GDRIVE_CREDS_DIR": "/path/to/config/directory"
}
}
}
}ライセンス
このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
This server cannot be installed
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 Servers
- -licenseNot gradedqualityAmaintenanceThis MCP server integrates with Google Drive to allow listing, reading, and searching over files.4,90789,748MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that enables interaction with Google Drive through the Google Cloud API. It allows users to list, read, and upload files directly from MCP-compatible clients like manus.im or Cursor.
- AlicenseBqualityDmaintenanceMCP server for Google Drive integration with file management, search, sharing, and full CRUD operations.155192MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with Google Sheets, providing tools to list sheets, read data from cell ranges, and write data to cell ranges.3MIT
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
MCP server for Google search results via SERP API
A MCP server built for developers enabling Git based project management with project and personal…
Appeared in Searches
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/rishipradeep-think41/drive-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server