vault

vault

An MCP server that lets Claude Code search Google Drive, read vault notes, and pull Drive files into the vault using rclone authentication. It operates with read-only scope and supports document section filtering.

Category
Visit Server

README

g-command

Google Drive browser and sync for Obsidian, plus an MCP server for Claude Code.

Two components in one package:

  1. Obsidian plugin — sidebar Drive browser that syncs Docs (→ markdown), Sheets (→ CSV), and other files into your vault
  2. MCP server — lets Claude Code search Drive, read vault notes, and pull Drive files into the vault

Google Drive files on a local mount (.gdoc, .gsheet) are JSON pointers — the actual content lives behind the API. Both components bridge that gap using rclone.

What it does

  • Search Drive by filename, vault by content (fuzzy), or both
  • Read any Drive file or vault note via gdrive:// and vault:// resources
  • Pull Drive files into the vault — download, convert (Docs → markdown, Sheets → CSV), and update sync state in one call
  • Section filter — extract specific document sections by heading name or index
  • Discover vaults — auto-detects all Obsidian vaults registered on the machine
  • Scope: drive.readonly — no write access to Google Drive

Prerequisites

  • Node.js 18+
  • rclone (replaces GCP OAuth setup)
  • Claude Code

Setup

Obsidian plugin

  1. Install rclone (brew install rclone on macOS)
  2. Install the plugin in Obsidian
  3. Open the g-command settings tab and click Connect
  4. Sign in with Google in the browser window that opens

That's it. The plugin creates a read-only rclone remote and verifies the connection.

MCP server (for Claude Code)

./setup.sh

The script builds the MCP server and registers it with Claude Code. If rclone isn't configured yet, it walks you through authentication.

If your rclone remote is already named something other than gdrive:

GDRIVE_RCLONE_REMOTE=my-remote ./setup.sh

Manual MCP setup

  1. brew install rclone (if not installed)
  2. cd src/gdrive && npm install && npm run build
  3. claude mcp add vault node /absolute/path/to/src/gdrive/dist/index.js

Verify

Run /mcp in Claude Code — vault should appear as connected. Then try searching for a document by filename.

Security notes

  • No credentials are stored by this server — auth is managed entirely by rclone
  • rclone token is stored at ~/.config/rclone/rclone.conf
  • drive.readonly scope limits blast radius if the token is compromised
  • Server is a single auditable TypeScript file

Configuration

Env var Default Purpose
GDRIVE_RCLONE_REMOTE gdrive rclone remote name to use

References

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured