Skip to main content
Glama

g-command

Obsidian用のGoogle Driveブラウザ兼同期ツール、およびClaude Code用のMCPサーバー。

1つのパッケージに2つのコンポーネント:

  1. Obsidianプラグイン — サイドバーのDriveブラウザで、ドキュメント(→Markdown)やスプレッドシート(→CSV)などのファイルをボールトに同期します。

  2. MCPサーバー — Claude CodeがDriveの検索、ボールトの読み取り、Driveファイルのボールトへの取り込みを可能にします。

ローカルマウント上のGoogle Driveファイル(.gdoc.gsheet)はJSONポインタです。実際のコンテンツはAPIの背後にあります。両コンポーネントはrcloneを使用してこのギャップを埋めます。

機能

  • 検索 Drive(ファイル名)、ボールト(あいまい検索)、またはその両方

  • 読み取り Driveファイルまたはボールトのメモをgdrive://およびvault://リソースで読み取ります。

  • 取り込み Driveファイルをボールトに取り込みます — ダウンロード、変換(ドキュメント→Markdown、スプレッドシート→CSV)、同期状態の更新を1回の呼び出しで行います。

  • セクションフィルター — 見出し名またはインデックスで特定のドキュメントセクションを抽出します。

  • ボールトの検出 — マシンに登録されているすべてのObsidianボールトを自動検出します。

  • スコープ: drive.readonly — Google Driveへの書き込みアクセスはありません。

Related MCP server: manus-mcp

前提条件

  • Node.js 18+

  • rclone(GCP OAuth設定の代わり)

  • Claude Code

セットアップ

Obsidianプラグイン

  1. rcloneをインストールします(macOSの場合はbrew install rclone)。

  2. Obsidianにプラグインをインストールします。

  3. g-commandの設定タブを開き、接続をクリックします。

  4. 開いたブラウザウィンドウでGoogleにサインインします。

以上です。プラグインは読み取り専用のrcloneリモートを作成し、接続を確認します。

MCPサーバー(Claude Code用)

./setup.sh

このスクリプトはMCPサーバーをビルドし、Claude Codeに登録します。rcloneがまだ設定されていない場合は、認証手順を案内します。

rcloneリモートの名前がすでにgdrive以外になっている場合:

GDRIVE_RCLONE_REMOTE=my-remote ./setup.sh

手動MCPセットアップ

  1. brew install rclone(インストールされていない場合)

  2. cd src/gdrive && npm install && npm run build

  3. claude mcp add vault node /absolute/path/to/src/gdrive/dist/index.js

確認

Claude Codeで/mcpを実行します — vaultが接続済みとして表示されます。その後、ファイル名でドキュメントを検索してみてください。

セキュリティメモ

  • このサーバーは認証情報を保存しません — 認証はすべてrcloneによって管理されます。

  • rcloneトークンは~/.config/rclone/rclone.confに保存されます。

  • drive.readonlyスコープにより、トークンが漏洩した場合の影響範囲を制限します。

  • サーバーは監査可能な単一のTypeScriptファイルです。

設定

環境変数

デフォルト

目的

GDRIVE_RCLONE_REMOTE

gdrive

使用するrcloneリモート名

参考

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Augments MCP Server - A comprehensive framework documentation provider for Claude Code

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

View all MCP Connectors

Latest Blog Posts

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/robotpony/warped-gdrive'

If you have feedback or need assistance with the MCP directory API, please join our Discord server