google drive for VS Code
io.github.us-all/google-drive
Google Drive + Workspace MCP — Docs, Sheets, Slides, Shared Drives, Labels, Approvals, DWD
client:VS Code
transport:stdio
runtime:npm
Install google drive in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "google-client-id",
"description": "GOOGLE_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "google-client-secret",
"description": "GOOGLE_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "google-refresh-token",
"description": "GOOGLE_REFRESH_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "google-application-credentials",
"description": "GOOGLE_APPLICATION_CREDENTIALS",
"password": true
},
{
"type": "promptString",
"id": "google-service-account-key-path",
"description": "GOOGLE_SERVICE_ACCOUNT_KEY_PATH",
"password": true
},
{
"type": "promptString",
"id": "google-impersonate-user",
"description": "GOOGLE_IMPERSONATE_USER",
"password": true
},
{
"type": "promptString",
"id": "google-drive-scopes",
"description": "GOOGLE_DRIVE_SCOPES",
"password": true
},
{
"type": "promptString",
"id": "google-drive-allow-write",
"description": "GOOGLE_DRIVE_ALLOW_WRITE",
"password": true
},
{
"type": "promptString",
"id": "gd-tools",
"description": "GD_TOOLS",
"password": true
},
{
"type": "promptString",
"id": "gd-disable",
"description": "GD_DISABLE",
"password": true
}
],
"servers": {
"google-drive": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@us-all/google-drive-mcp"
],
"env": {
"GOOGLE_CLIENT_ID": "${input:google-client-id}",
"GOOGLE_CLIENT_SECRET": "${input:google-client-secret}",
"GOOGLE_REFRESH_TOKEN": "${input:google-refresh-token}",
"GOOGLE_APPLICATION_CREDENTIALS": "${input:google-application-credentials}",
"GOOGLE_SERVICE_ACCOUNT_KEY_PATH": "${input:google-service-account-key-path}",
"GOOGLE_IMPERSONATE_USER": "${input:google-impersonate-user}",
"GOOGLE_DRIVE_SCOPES": "${input:google-drive-scopes}",
"GOOGLE_DRIVE_ALLOW_WRITE": "${input:google-drive-allow-write}",
"GD_TOOLS": "${input:gd-tools}",
"GD_DISABLE": "${input:gd-disable}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs