Google Drive Files MCP Server
by zayansalmanio.github.zayansalman/google-drive-files-mcpv0.3.0
Minimal MCP server for Google Drive file management and Google Sheets editing.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Google Drive Files MCP server
Install in Claude Code
claude mcp add google-drive-files -e GDRIVE_FILES_MCP_TOKEN='<gdrive-files-mcp-token>' -- uvx google-drive-files-mcp serveInstall in Cursor
{
"mcpServers": {
"google-drive-files": {
"command": "uvx",
"args": [
"google-drive-files-mcp",
"serve"
],
"env": {
"GDRIVE_FILES_MCP_TOKEN": "<gdrive-files-mcp-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"google-drive-files": {
"command": "uvx",
"args": [
"google-drive-files-mcp",
"serve"
],
"env": {
"GDRIVE_FILES_MCP_TOKEN": "<gdrive-files-mcp-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"google-drive-files": {
"type": "stdio",
"command": "uvx",
"args": [
"google-drive-files-mcp",
"serve"
],
"env": {
"GDRIVE_FILES_MCP_TOKEN": "<gdrive-files-mcp-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"google-drive-files": {
"command": "uvx",
"args": [
"google-drive-files-mcp",
"serve"
],
"env": {
"GDRIVE_FILES_MCP_TOKEN": "<gdrive-files-mcp-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GDRIVE_FILES_MCP_CREDENTIALS | — | — | Path to the Google OAuth client secret JSON. Default: $XDG_CONFIG_HOME/google-drive-files-mcp/credentials.json. |
| GDRIVE_FILES_MCP_TOKEN | — | yes | Path to the cached Google OAuth refresh token. Default: $XDG_CONFIG_HOME/google-drive-files-mcp/token.json. |
| GDRIVE_FILES_MCP_SCOPES | — | — | Comma-separated Google OAuth scopes. Default: https://www.googleapis.com/auth/drive (full, required to move files). |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-12 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-06-22 · 4mo ago · official registry · v0.3.0
FAQ
›How do I install the Google Drive Files MCP server in Claude Code?
Run: claude mcp add google-drive-files -e GDRIVE_FILES_MCP_TOKEN='<gdrive-files-mcp-token>' -- uvx google-drive-files-mcp serve. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Google Drive Files require an API key?
Yes. It expects GDRIVE_FILES_MCP_TOKEN, of which 1 is a secret.
›Can I use Google Drive Files as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Google Drive Files in the official MCP registry?
Yes, as io.github.zayansalman/google-drive-files-mcp.
Alternatives to Google Drive Files
Other productivity & office MCP servers.