home / mcp / google drive mcp server
Provides multi-account Google Drive read-only access with file listing, search, and content retrieval via MCP.
Configuration
View docs{
"mcpServers": {
"andresfrei-mcp-google-drive-server": {
"url": "http://localhost:3001/mcp",
"headers": {
"LOG_LEVEL": "info",
"MCP_API_KEY": "tu_api_key_seguro_aqui",
"MCP_DRIVE_HOST": "0.0.0.0",
"MCP_DRIVE_PORT": "3001",
"DRIVES_CONFIG_PATH": "./drives-config.json"
}
}
}
}List all Google Drive accounts configured in the server.
Add a new Google Drive account to the configuration by providing a driveId, name, description, and path to the service account JSON.
Remove a configured Google Drive account by driveId.
List files in a specified drive, with optional filters like folderId, modifiedAfter, mimeType, and pageSize.
Get the content of a file from Drive, supporting export for Docs/Sheets and text files.
Search for files by name within a specific drive.
Recursively list files and folders from a root folder with optional filters and depth control.