Google Drive · googledrive — Claude Code MCP server: setup
This MCP server lets an agent search Google Drive, handle files and folders, and change sharing permissions when those actions are needed.
no license 8,102 installs updated 2025-11-19
claude mcp add --transport http googledrive https://googledrive.run.toolsWhat Google Drive does
The server gives an agent tools for finding files across Google Drive, inspecting the drive tree, creating folders, renaming items, and moving them. It can fetch a file from a URL into Drive, download file content, and create a Google picker link so the user can grant access to selected files.
It also handles permissions. The agent can inspect individual users or groups, change link-sharing scope, grant access, revoke selected permissions, or remove collaborators. Large downloads use byte ranges. Google Workspace files cannot be uploaded through this server.
A full-drive search requires broad read access to the user’s files, which is the main access consideration before connecting it. Shared-drive operations use file IDs or shared_drive_id. The endpoint is https://googledrive.run.tools.
What it helps with
- search files across Google Drive
- create folders and reorganize Drive items
- upload a file from a URL
- inspect or change file permissions
- download a large file in chunks
Example prompts for the agent
- Search Google Drive for project reports and list the matching files.
- Create a folder named
Release, movebuild.zipinto it, and rename it torelease.zip. - Check who can access
budget.xlsxand revoke the selected user’s access.
How to install Google Drive
Platform CLI: remote server
claude mcp add --transport http googledrive https://googledrive.run.toolsPlatform CLI: remote server
codex mcp add googledrive-google-drive --url https://googledrive.run.toolsConfig file
{
"mcpServers": {
"googledrive-google-drive": {
"url": "https://googledrive.run.tools"
}
}
}Config file
{
"servers": {
"googledrive-google-drive": {
"type": "http",
"url": "https://googledrive.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http googledrive-google-drive https://googledrive.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Google Drive
How do I install Google Drive in Claude Code?
Run these commands in order: claude mcp add --transport http googledrive https://googledrive.run.tools, then claude mcp add --transport http googledrive-google-drive https://googledrive.run.tools.
What does the Google Drive MCP server do?
It lets an agent search, upload, and download files, create folders, move items, rename them, and manage file and folder permissions.
Can this server upload Google Docs, Sheets, or Slides?
No. Google Workspace files cannot be uploaded through this server. Large file downloads use separate byte ranges.
Similar MCP servers
All MCP servers for Office documents →Google Drive by other authors comes first.