Install google-drive for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"us-all-google-drive-mcp-server": {
"command": "npx",
"args": [
"-y",
"@us-all/google-drive-mcp@1.15.8"
],
"env": {
"GOOGLE_CLIENT_ID": "YOUR_GOOGLE_CLIENT_ID",
"GOOGLE_CLIENT_SECRET": "YOUR_GOOGLE_CLIENT_SECRET",
"GOOGLE_REFRESH_TOKEN": "YOUR_GOOGLE_REFRESH_TOKEN",
"GOOGLE_APPLICATION_CREDENTIALS": "",
"GOOGLE_SERVICE_ACCOUNT_KEY_PATH": "",
"GOOGLE_IMPERSONATE_USER": "",
"GOOGLE_DRIVE_SCOPES": "",
"GOOGLE_DRIVE_ALLOW_WRITE": "false",
"GD_TOOLS": "",
"GD_DISABLE": ""
}
}
}
}