loading…
Search for a command to run...
loading…
Enables Claude to perform comprehensive read and write operations on Google Docs, Sheets, and Drive folders. It supports file management, content searching, and
Enables Claude to perform comprehensive read and write operations on Google Docs, Sheets, and Drive folders. It supports file management, content searching, and provides resource access via custom URI schemes for seamless project context integration.
MCP server for Google Drive read/write operations. Enables Claude to use Google Docs as project context files.
Works with: Claude Desktop (stdio) AND Claude Browser (HTTP/SSE)
[email protected])Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"gdrive": {
"command": "npx",
"args": ["-y", "tsx", "https://raw.githubusercontent.com/shaikh3/gdrive-mcp-server/main/src/index.ts"],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "{...your key...}"
}
}
}
}
For Claude browser, you need to deploy the server publicly.
npm i -g vercel
vercel
GOOGLE_SERVICE_ACCOUNT_KEY = your JSON key contentMCP_TRANSPORT = httphttps://your-app.vercel.appIn Claude browser (claude.ai), you need an MCP client that connects to your deployed endpoint. Configure it with:
Server URL: https://your-app.vercel.app/sse
Or if using a custom MCP client:
{
"mcpServers": {
"gdrive": {
"url": "https://your-app.vercel.app/sse"
}
}
}
| Variable | Required | Description |
|---|---|---|
GOOGLE_SERVICE_ACCOUNT_KEY |
Yes* | JSON content of service account key |
GOOGLE_SERVICE_ACCOUNT_PATH |
Alt* | Path to JSON key file |
MCP_TRANSPORT |
No | stdio (default) or http |
PORT |
No | HTTP port (default: 3000) |
*One of KEY or PATH is required
gdrive_doc_readRead a Google Doc as text/markdown.
{
"fileId": "1ABC123...",
"format": "markdown"
}
gdrive_doc_writeWrite/replace content in a Google Doc.
{
"fileId": "1ABC123...",
"content": "# Project Context\n\nUpdated from chat...",
"mode": "replace"
}
gdrive_doc_createCreate a new Google Doc.
{
"title": "Claude Project - Context",
"folderId": "1FolderID...",
"content": "Initial project context..."
}
gdrive_sheet_readRead range from Google Sheet.
{
"spreadsheetId": "1SheetID...",
"range": "Sheet1!A1:D10"
}
gdrive_sheet_writeWrite to range in Google Sheet.
{
"spreadsheetId": "1SheetID...",
"range": "Sheet1!A1",
"values": [["Name", "Status"], ["Task 1", "Done"]]
}
gdrive_folder_createCreate a new folder.
{
"name": "Claude Projects",
"parentId": "root"
}
gdrive_searchSearch for files/folders.
{
"query": "name contains 'Project' and mimeType = 'application/vnd.google-apps.document'"
}
# Install dependencies
npm install
# Build
npm run build
# Run locally (stdio mode - for Claude Desktop)
npm start
# Run in HTTP mode (for Claude Browser)
MCP_TRANSPORT=http npm start
# Dev mode
npm run dev
Claude Desktop:
You: "Update my project context doc with what we just discussed"
Claude: *calls gdrive_doc_write on your context file*
Claude Browser:
You: "Read the project context from gdrive://doc/1ABC123..."
Claude: *fetches and reads via deployed MCP server*
The doc updates in real-time - accessible from any chat, any device.
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"gdrive-mcp-server": {
"command": "npx",
"args": []
}
}
}Read and write pages in your workspace
Issues, cycles, triage — from Claude
Search and read your Drive files
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).