Google Drive
CommunityMCP server by mcp-z · updated · 386 downloads a week
Google Drive integration with file operations, folder navigation, search, and sharing Google Drive is a community project by mcp-z, not verified by a company domain.
No licence found, so reuse rights are unclear
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
GOOGLE_CLIENT_IDEnvironment variable | Required | Google OAuth client ID (required for OAuth authentication modes) |
GOOGLE_CLIENT_SECRETEnvironment variable, secret | Optional | Google OAuth client secret (optional for public clients) |
GOOGLE_SERVICE_ACCOUNT_KEY_FILEEnvironment variable | Optional | Path to service account JSON key file (required for service-account auth mode) |
AUTH_MODEEnvironment variable | Optional | Authentication mode |
HEADLESSEnvironment variable | Optional | Disable browser auto-open, return auth URL instead (true/false) Default: false |
REDIRECT_URIEnvironment variable | Optional | OAuth redirect URI (optional, default: ephemeral loopback) |
RESOURCE_STORE_URIEnvironment variable | Optional | Resource store URI for exported files (file://) |
PORTEnvironment variable | Optional | HTTP server port (overrides --port) |
BASE_URLEnvironment variable | Optional | Base URL for HTTP transport (used for OAuth/DCR endpoints and file links) |
LOG_LEVELEnvironment variable | Optional | Logging level |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install Google Drive
Built from the published package, never by AIclaude mcp add google-drive -e GOOGLE_CLIENT_ID=123456789-abcdefghijk.apps.googleusercontent.com -- npx -y @mcp-z/mcp-driveRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-drive"
],
"env": {
"GOOGLE_CLIENT_ID": "123456789-abcdefghijk.apps.googleusercontent.com"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-drive"
],
"env": {
"GOOGLE_CLIENT_ID": "123456789-abcdefghijk.apps.googleusercontent.com"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"google-drive": {
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-drive"
],
"env": {
"GOOGLE_CLIENT_ID": "123456789-abcdefghijk.apps.googleusercontent.com"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add google-drive --env GOOGLE_CLIENT_ID=123456789-abcdefghijk.apps.googleusercontent.com -- npx -y @mcp-z/mcp-drive{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-drive"
],
"env": {
"GOOGLE_CLIENT_ID": "123456789-abcdefghijk.apps.googleusercontent.com"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add google-drive npx -y @mcp-z/mcp-driveGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-drive block.
Alternatives to Google Drive
All alternatives →Connect AI agents to Exa for web search, content fetching, and multi-step research.
Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.
Visit https://brave.com/search/api/ for a free API key. Search the web, local businesses, images,…
Connect to Atlassian Jira, Confluence, Loom, and more to search, create, and manage your work.
Search, read, annotate, and add to your Zotero research library, local or web.
Digital asset manager - upload, organize, search, and generate on-brand images and videos
Google Drive: common questions
How do I install Google Drive?
In Claude Code run claude mcp add google-drive -e GOOGLE_CLIENT_ID=123456789-abcdefghijk.apps.googleusercontent.com -- npx -y @mcp-z/mcp-drive. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Google Drive the official server?
Google Drive is a community project by mcp-z, not verified by a company domain.
Is Google Drive free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is Google Drive safe to use?
It scores 44 of 100. Grades: licence F, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Google Drive?
Similar MCP servers: exa, Agent Skills Search Server, brave, Atlassian Rovo MCP Server.
Does Google Drive work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.