Google Drive MCP for Cursor
io.github.a1-x-tech/mcp-google-drive
MCP server for the Google Drive API: search, upload, download, organize and share files.
client:Cursor
transport:stdio
runtime:npm
Install Google Drive MCP in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"mcp-google-drive": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@a1-x-tech/mcp-google-drive"
],
"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>",
"GOOGLE_DRIVE_OAUTH_PORT": "<GOOGLE_DRIVE_OAUTH_PORT>",
"GOOGLE_DRIVE_API_BASE": "<GOOGLE_DRIVE_API_BASE>",
"GOOGLE_DRIVE_TIMEOUT_MS": "<GOOGLE_DRIVE_TIMEOUT_MS>",
"GOOGLE_DRIVE_MAX_RETRIES": "<GOOGLE_DRIVE_MAX_RETRIES>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs