Google Drive MCP server
{
"mcpServers": {
"a1-x-tech-google-drive": {
"command": "npx",
"args": [
"-y",
"@a1-x-tech/mcp-google-drive@latest"
],
"env": {
"GOOGLE_DRIVE_CLIENT_ID": "<google_drive_client_id>",
"GOOGLE_DRIVE_CLIENT_SECRET": "<google_drive_client_secret>",
"GOOGLE_DRIVE_REFRESH_TOKEN": "<google_drive_refresh_token>",
"GOOGLE_DRIVE_ACCESS_TOKEN": "<google_drive_access_token>"
}
}
}
}{
"mcpServers": {
"a1-x-tech-google-drive": {
"command": "npx",
"args": [
"-y",
"@a1-x-tech/mcp-google-drive@latest"
],
"env": {
"GOOGLE_DRIVE_CLIENT_ID": "<google_drive_client_id>",
"GOOGLE_DRIVE_CLIENT_SECRET": "<google_drive_client_secret>",
"GOOGLE_DRIVE_REFRESH_TOKEN": "<google_drive_refresh_token>",
"GOOGLE_DRIVE_ACCESS_TOKEN": "<google_drive_access_token>"
}
}
}
}{
"mcpServers": {
"a1-x-tech-google-drive": {
"command": "npx",
"args": [
"-y",
"@a1-x-tech/mcp-google-drive@latest"
],
"env": {
"GOOGLE_DRIVE_CLIENT_ID": "<google_drive_client_id>",
"GOOGLE_DRIVE_CLIENT_SECRET": "<google_drive_client_secret>",
"GOOGLE_DRIVE_REFRESH_TOKEN": "<google_drive_refresh_token>",
"GOOGLE_DRIVE_ACCESS_TOKEN": "<google_drive_access_token>"
}
}
}
}{
"servers": {
"a1-x-tech-google-drive": {
"command": "npx",
"args": [
"-y",
"@a1-x-tech/mcp-google-drive@latest"
],
"env": {
"GOOGLE_DRIVE_CLIENT_ID": "${input:google_drive_client_id}",
"GOOGLE_DRIVE_CLIENT_SECRET": "${input:google_drive_client_secret}",
"GOOGLE_DRIVE_REFRESH_TOKEN": "${input:google_drive_refresh_token}",
"GOOGLE_DRIVE_ACCESS_TOKEN": "${input:google_drive_access_token}"
}
}
},
"inputs": [
{
"id": "google_drive_client_id",
"type": "promptString",
"description": "Google drive client id",
"password": true
},
{
"id": "google_drive_client_secret",
"type": "promptString",
"description": "Google drive client secret",
"password": true
},
{
"id": "google_drive_refresh_token",
"type": "promptString",
"description": "Google drive refresh token",
"password": true
},
{
"id": "google_drive_access_token",
"type": "promptString",
"description": "Google drive access token",
"password": true
}
]
}{
"mcpServers": {
"a1-x-tech-google-drive": {
"command": "npx",
"args": [
"-y",
"@a1-x-tech/mcp-google-drive@latest"
],
"env": {
"GOOGLE_DRIVE_CLIENT_ID": "<google_drive_client_id>",
"GOOGLE_DRIVE_CLIENT_SECRET": "<google_drive_client_secret>",
"GOOGLE_DRIVE_REFRESH_TOKEN": "<google_drive_refresh_token>",
"GOOGLE_DRIVE_ACCESS_TOKEN": "<google_drive_access_token>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y @a1-x-tech/mcp-google-driveversion 0.1.0
What it does
MCP server that integrates Google Drive with AI applications. It provides 15 tools for searching, uploading, downloading, organizing files, exporting Google Docs/Sheets/Slides, managing sharing and comments, and handling trash and permanent deletion.
- Search for a file in Google Drive and export a Google Doc to Markdown format for analysis
- List files in a folder sorted by modification date and move old files to an archive subfolder
- Upload files to Google Drive, organize them into folders, and share them with specific people
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.