multi-drive-mcp
Connects one Google Drive account per server instance, with tools to search files, list folders, read metadata, and read Google Docs (as Markdown), Sheets (as CSV), Slides and text files/images. Also provides write operations to create and update files, create Google Docs/Sheets from Markdown/CSV, create and move folders, and move files to trash. Supports optional read-only mode per account.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
multi-drive-mcp
Connect several Google Drive accounts to Claude — work, personal, games — without mixing them.
Most Google Drive connectors only handle one Google account at a time. multi-drive-mcp is a small MCP server you run once per account. Each account shows up as its own connector (drive-work, drive-personal, drive-games...), so you choose which Drive a conversation can see, and the assistant always knows which account it's touching.
Claude ──┬── drive-work → work@company.com
├── drive-personal → me@gmail.com (read-only)
└── drive-games → gamer@gmail.com🔒 Separated by design: one process and one login per account. Tools never cross accounts.
🔑 Your own Google credentials: you create the OAuth client, and logins stay on your computer. No third-party server is involved.
👀 Optional read-only mode per account.
🗑️ No permanent deletes: "delete" only moves files to the trash.
Tools
Tool | What it does |
| Which Google account this connector uses, plus storage usage |
| Search by name/content, type or folder |
| List a folder (default: My Drive root) |
| Name, type, size, dates, owners, link |
| Docs → Markdown, Sheets → CSV, Slides → text, text files, images |
| Plain file, or a new Google Doc (from Markdown) / Sheet (from CSV) |
| Replace contents and/or rename |
| New folder |
| Move to another folder |
| Move to trash (restorable for 30 days) |
Write tools are hidden when the account is read-only.
Related MCP server: Google Drive MCP Server
Setup
You need Node.js 18 or newer.
1. Google Cloud setup (one time, about 5 minutes)
You create your own OAuth client so the logins belong to you. It's free.
Open console.cloud.google.com and create a project (any name, e.g.
my-drive-mcp).Go to APIs & Services → Library, search Google Drive API and click Enable.
Go to Google Auth Platform (OAuth consent screen) → Get started:
App name: anything. Support email: yours.
Audience: External.
Under Audience, either:
Publish app (recommended): logins don't expire. When you sign in, Google warns that the app is unverified. It's your own app, so click Advanced → Go to … (unsafe). Or:
keep it in Testing and add each of your Google accounts as a test user. Note that in Testing mode logins expire every 7 days, and you'll need to run
authagain.
Under Clients, choose Create client → Application type: Desktop app, then Download JSON.
Save that file as
credentials.jsonin the config folder:macOS / Linux:
~/.config/multi-drive-mcp/credentials.jsonWindows:
%APPDATA%\multi-drive-mcp\credentials.json
(Run
npx -y multi-drive-mcp pathsto see the exact location.)
All your Google accounts can share this one credentials.json.
2. Sign in to each account
Pick a short alias for each account and sign in. A browser window opens, and you choose the matching Google account:
npx -y multi-drive-mcp auth work
npx -y multi-drive-mcp auth personal --read-only
npx -y multi-drive-mcp auth games
npx -y multi-drive-mcp accounts # checkTip: if your browser is signed in to several Google accounts, use --email you@gmail.com to preselect the right one.
3. Add them to your MCP client
Claude Desktop: go to Settings → Developer → Edit Config and edit claude_desktop_config.json:
{
"mcpServers": {
"drive-work": {
"command": "npx",
"args": ["-y", "multi-drive-mcp", "--account", "work"]
},
"drive-personal": {
"command": "npx",
"args": ["-y", "multi-drive-mcp", "--account", "personal"]
},
"drive-games": {
"command": "npx",
"args": ["-y", "multi-drive-mcp", "--account", "games"]
}
}
}Restart Claude Desktop. Each Drive appears separately in the connectors menu, so you can turn on only the ones a conversation needs.
On Windows, if
npxisn't found, use"command": "cmd"and"args": ["/c", "npx", "-y", "multi-drive-mcp", "--account", "work"].
Claude Code:
claude mcp add drive-work -- npx -y multi-drive-mcp --account work
claude mcp add drive-personal -- npx -y multi-drive-mcp --account personalOther MCP clients: run npx -y multi-drive-mcp --account <alias> as a stdio server.
Commands
multi-drive-mcp auth <alias> [--read-only] [--email you@x.com] sign in and save an account
multi-drive-mcp accounts list saved accounts
multi-drive-mcp logout <alias> revoke access and delete the login
multi-drive-mcp --account <alias> [--read-only] run the MCP server
multi-drive-mcp paths show config locationsEnvironment variables:
MULTI_DRIVE_MCP_HOME: config folder (default~/.config/multi-drive-mcp)MULTI_DRIVE_MCP_CREDENTIALS: path to the OAuth client JSON
Security & privacy
Logins (refresh tokens) are stored only on your computer, in
accounts/<alias>.json, readable only by your user (mode 600). Treat that folder like a password.Each account is served by its own process with only its own token, so one connector can't read another account's files.
The default scope is full Drive access, so the assistant can edit and organize files. Use
--read-onlyat login for accounts that should only be read.trash_filenever deletes permanently.To disconnect, run
multi-drive-mcp logout <alias>, or remove access at myaccount.google.com/permissions.
Troubleshooting
Problem | Fix |
| Save the Desktop-app JSON as |
| Run |
| Add the account as a test user, or publish the app |
| Enable the Drive API (step 1.2) |
Wrong account got connected |
|
Development
git clone <this repo> && cd multi-drive-mcp
npm install && npm run build
node dist/cli.js --helpLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Notes, files, GitHub, and Drive through one MCP connection.
Notes, files, GitHub, and Drive through one MCP connection.
Notes, files, GitHub, and Drive through one MCP connection.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA read-only Google Drive MCP server that allows searching files, reading file content (with auto-export for Google Docs, Sheets, Slides), and retrieving file metadata via OAuth authentication.13 npm2-
- AlicenseAqualityCmaintenanceMCP server for interacting with Google Drive using a service account, restricted to a specific root folder. Supports file operations like search, list, create, update, and read.427 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables reading and searching Google Drive files, Google Docs, and Google Sheets via a CLI or MCP server, with support for section-based content extraction and Markdown import.1MIT
- AlicenseNot gradedqualityDmaintenanceA local, read-only MCP server for searching your Google Drive.26 npmMIT