google-drive-mcp
Allows browsing and managing Google Drive, including searching files, reading Docs/Sheets content, moving/renaming files and folders, and creating folders.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@google-drive-mcpsearch for files named 'project plan'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
google-drive-mcp
MCP server to browse and manage Google Drive: search files, read Docs/Sheets content, move/rename files and folders.
Tools (9)
Tool | What it does |
| List the contents of a folder (root by default) |
| Search files by name, type or content |
| Metadata of a file (name, type, dates, owner) |
| Read a Google Doc's content as text |
| Read a Google Sheet as CSV |
| Full folder breadcrumb path to a file |
| Move a file to another folder |
| Rename a file or folder |
| Create a new folder |
Related MCP server: MCP Google Drive Server
Setup
Create a Google Cloud project (or reuse one) and enable the Google Drive API.
Create an OAuth 2.0 Client ID of type "Desktop app" and download it as
client_secret.json.If the app is in "Testing" mode, add your Google account(s) as test users.
Install dependencies:
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txtRun the OAuth flow once per account you want to expose:
CLIENT_SECRET_PATH=~/.config/google-drive-mcp/client_secret.json \ TOKEN_OUT=~/.config/google-drive-mcp/token.json \ python3 setup_auth.pyThis opens a browser — log in and grant access. Repeat with a different
TOKEN_OUTfor each additional account.
MCP client configuration
{
"mcpServers": {
"google-drive": {
"command": "/path/to/.venv/bin/python3",
"args": ["/path/to/google-drive-mcp/server.py"],
"env": {
"GOOGLE_DRIVE_TOKEN_PATH": "~/.config/google-drive-mcp/token.json"
}
}
}
}Env var | Default | Purpose |
|
| Path to the OAuth token for this account |
Notes
Scope used is
https://www.googleapis.com/auth/drive(read + write) — needed formove_file,rename_fileandcreate_folderto work. Adrive.readonlytoken will fail on those three.
License
MIT — see 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
- Alicense-qualityDmaintenanceEnables interaction with Google Drive files and Google Sheets through search, read, and write operations. Supports automatic conversion of Google Workspace files to readable formats and direct spreadsheet cell updates.Last updated7,774MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to interact with Google Drive, supporting file operations like list, search, read, create, update, delete, share, and manage permissions.Last updated73804MIT
- FlicenseAqualityCmaintenanceEnables AI assistants to interact with Google Drive, including reading, searching, listing folders, and uploading files.Last updated71
- Alicense-qualityDmaintenanceEnables AI assistants to securely access and manage Google Drive files and Google Sheets within a specified folder scope, with support for reading various file types including PDFs and Excel.Last updated171MIT
Related MCP Connectors
Search, browse, and read your Dropbox files. Find documents by name or content, list folders, and…
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Securely search and manage workspace context files for AI agents and teams.
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/YerayRodri/google-drive-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server