Google Drive for VS Code
io.github.mcp-z/mcp-drive
Google Drive integration with file operations, folder navigation, search, and sharing
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-service-account-key-file",
"description": "GOOGLE_SERVICE_ACCOUNT_KEY_FILE",
"password": true
},
{
"type": "promptString",
"id": "auth-mode",
"description": "AUTH_MODE",
"password": true
},
{
"type": "promptString",
"id": "headless",
"description": "HEADLESS",
"password": true
},
{
"type": "promptString",
"id": "redirect-uri",
"description": "REDIRECT_URI",
"password": true
},
{
"type": "promptString",
"id": "resource-store-uri",
"description": "RESOURCE_STORE_URI",
"password": true
},
{
"type": "promptString",
"id": "port",
"description": "PORT",
"password": true
},
{
"type": "promptString",
"id": "base-url",
"description": "BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "log-level",
"description": "LOG_LEVEL",
"password": true
}
],
"servers": {
"mcp-drive": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-drive"
],
"env": {
"GOOGLE_CLIENT_ID": "${input:google-client-id}",
"GOOGLE_CLIENT_SECRET": "${input:google-client-secret}",
"GOOGLE_SERVICE_ACCOUNT_KEY_FILE": "${input:google-service-account-key-file}",
"AUTH_MODE": "${input:auth-mode}",
"HEADLESS": "${input:headless}",
"REDIRECT_URI": "${input:redirect-uri}",
"RESOURCE_STORE_URI": "${input:resource-store-uri}",
"PORT": "${input:port}",
"BASE_URL": "${input:base-url}",
"LOG_LEVEL": "${input:log-level}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs