A Model Context Protocol (MCP) server that provides secure integration with Google Drive, Docs, Sheets, Slides and Calendar. It allows Claude Desktop and other MCP clients to manage files in Google Drive through a standardized interface.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.GOOGLE_APPLICATION_CREDENTIALS— Set the standard environment variable to point to a service account JSON key file. Best for server-to-server, CI/CD, and container deployments.GOOGLE_CLIENT_SECRET_PATH— Legacy credentials path - use GOOGLE_DRIVE_OAUTH_CREDENTIALS insteadGOOGLE_DRIVE_MCP_ACCESS_TOKEN— Provide a pre-obtained OAuth access token via . This is useful when an external service handles the OAuth flow (e.g., a web app that obtains tokens on behalf of the user).GOOGLE_DRIVE_MCP_API_TIMEOUTGOOGLE_DRIVE_MCP_AUTH_PORT— export =3100GOOGLE_DRIVE_MCP_CLIENT_ID— "": "123456789.apps.googleusercontent.com",GOOGLE_DRIVE_MCP_CLIENT_SECRET— "": "GOCSPX-..."GOOGLE_DRIVE_MCP_DISABLE_RESOURCESGOOGLE_DRIVE_MCP_REFRESH_TOKEN— "": "1//0dx...",GOOGLE_DRIVE_MCP_RETRY_BASE_DELAYGOOGLE_DRIVE_MCP_RETRY_MAXGOOGLE_DRIVE_MCP_SCOPES— export ="drive.readonly,documents,spreadsheets"GOOGLE_DRIVE_MCP_SUBJECT— "": "user@your-domain.com"GOOGLE_DRIVE_MCP_TOKEN_PATH— "": "$HOME/.config/google-drive-mcp/tokens.json"GOOGLE_DRIVE_OAUTH_CREDENTIALS— "": "$HOME/gcp-oauth.keys.json",GOOGLE_TOKEN_PATH— Legacy token path - use GOOGLE_DRIVE_MCP_TOKEN_PATH insteadMCP_HTTP_HOST— MCP_TRANSPORT=http MCP_HTTP_PORT=3100 =127.0.0.1 google-drive-mcp startMCP_HTTP_PORT— MCP_TRANSPORT=http =3100 MCP_HTTP_HOST=127.0.0.1 google-drive-mcp startMCP_TESTINGMCP_TRANSPORT— http MCP_HTTP_PORT=3100 MCP_HTTP_HOST=127.0.0.1 google-drive-mcp startXDG_CONFIG_HOME— 2 XDG Config $/google-drive-mcp/tokens.json[](https://m8ven.ai/mcp/piotr-agier-google-drive-mcp-c01lsc)