Home › File Systems › Google Drive MCP
Google Drive MCP
MCP server for the Google Drive API: search, upload, download, organize and share files.
TypeScript
Cloud
★ 0 stars
Last pushed 2026-10-04
License: MIT
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.0.0)
npx -y @a1-x-tech/[email protected]
Or add to your MCP client config:
{
"mcpServers": {
"mcp-google-drive": {
"command": "npx",
"args": [
"-y",
"@a1-x-tech/[email protected]"
],
"env": {
"GOOGLE_DRIVE_CLIENT_ID": "<YOUR_VALUE>",
"GOOGLE_DRIVE_CLIENT_SECRET": "<YOUR_VALUE>",
"GOOGLE_DRIVE_REFRESH_TOKEN": "<YOUR_VALUE>",
"GOOGLE_DRIVE_ACCESS_TOKEN": "<YOUR_VALUE>",
"GOOGLE_DRIVE_OAUTH_PORT": "<YOUR_VALUE>",
"GOOGLE_DRIVE_API_BASE": "<YOUR_VALUE>",
"GOOGLE_DRIVE_TIMEOUT_MS": "<YOUR_VALUE>",
"GOOGLE_DRIVE_MAX_RETRIES": "<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
M
markitdown
File Systems
Convert many file formats, local or remote, to Markdown for LLMs using MarkItDown.
★ 189,962
MCP Server
S
servers
File Systems
Direct local file system access.
★ 91,215
MCP Server
F
filestash
File Systems
Remote storage access: SFTP, S3, FTP, SMB, NFS, WebDAV, Git, FTPS, Google Cloud, Azure Blob, SharePoint and more.
★ 14,790
MCP Server
M
mcp-filesystem-server
File Systems
Local file system access.
★ 694
MCP Server
M
mcp-everything-search
File Systems
Windows file search using the Everything SDK.
★ 365
MCP Server
L
llm-context.py
File Systems
Share code context with LLMs via MCP or the clipboard.
★ 307
MCP Server
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry