Home › File Systems › a1-x-tech/mcp-google-drive
a1-x-tech/mcp-google-drive
MCP server for the Google Drive API: search, upload, download, organize and share files.
Topics: File Systems
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 1.1.2)
npx -y @a1-x-tech/mcp-google-drive@1.1.2
Or add to your MCP client config:
{
"mcpServers": {
"mcp-google-drive": {
"command": "npx",
"args": [
"-y",
"@a1-x-tech/mcp-google-drive@1.1.2"
],
"env": {
"GOOGLE_DRIVE_CLIENT_SECRET": "<YOUR_VALUE>",
"GOOGLE_DRIVE_REFRESH_TOKEN": "<YOUR_VALUE>",
"GOOGLE_DRIVE_ACCESS_TOKEN": "<YOUR_VALUE>"
}
}
}
}
GOOGLE_DRIVE_CLIENT_ID— Google OAuth2 client id (refresh-token flow).GOOGLE_DRIVE_CLIENT_SECRETsecret — Google OAuth2 client secret (refresh-token flow). Treat it as a secret.GOOGLE_DRIVE_REFRESH_TOKENsecret — Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.GOOGLE_DRIVE_ACCESS_TOKENsecret — Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.GOOGLE_DRIVE_OAUTH_PORT— Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.GOOGLE_DRIVE_API_BASE— API root override.GOOGLE_DRIVE_TIMEOUT_MS— Per-request timeout in milliseconds.GOOGLE_DRIVE_MAX_RETRIES— Retries on transient errors (429 always; 5xx/network for reads).
Related servers
markitdown
Convert many file formats, local or remote, to Markdown for LLMs using MarkItDown.
modelcontextprotocol/servers
Direct local file system access.
filestash
Remote storage access: SFTP, S3, FTP, SMB, NFS, WebDAV, Git, FTPS, Google Cloud, Azure Blob, SharePoint and more.
mcp-filesystem-server
Local file system access.
Everything Search
Fast file search: Everything SDK on Windows, Spotlight (mdfind) on macOS, locate/plocate on Linux.
llm-context.py
Share code context with LLMs via MCP or the clipboard.
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry