MCP server to search, read, and update Google Drive files and Google Sheets with OAuth authentication.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Gdrive.
DescriptionSearch for files in Google Drive.
OutputReturns file names and MIME types of matching files.
This MCP server integrates with Google Drive to allow listing, reading, and searching files, as well as the ability to read and write to Google Sheets.
This project includes code originally developed by Anthropic, PBC, licensed under the MIT License from this repo.
gdrive_search
query (string): Search query.pageToken (string, optional): Token for the next page of results.pageSize (number, optional): Number of results per page (max 100).gdrive_read_file
fileId (string): ID of the file to read.gsheets_read
spreadsheetId (string): The ID of the spreadsheet to read.ranges (array of strings, optional): Optional array of A1 notation ranges (e.g., ['Sheet1!A1:B10']). If not provided, reads the entire sheet.sheetId (number, optional): Specific sheet ID to read. If not provided with ranges, reads the first sheet.gsheets_update_cell
fileId (string): ID of the spreadsheet.range (string): Cell range in A1 notation (e.g., 'Sheet1!A1').value (string): New cell value.The server provides access to Google Drive files:
gdrive:///<file_id>)
https://www.googleapis.com/auth/drive.readonly, https://www.googleapis.com/auth/spreadsheetsgcp-oauth.keys.json and place into the path you specify with GDRIVE_CREDS_DIR (i.e. /Users/username/.config/mcp-gdrive)Make sure to build the server with either npm run build or npm run watch.
Next you will need to run node ./dist/index.js to trigger the authentication step
You will be prompted to authenticate with your browser. You must authenticate with an account in the same organization as your Google Cloud project.
Your OAuth token is saved in the directory specified by the GDRIVE_CREDS_DIR environment variable.

To integrate this server with the desktop app, add the following to your app's server configuration:
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/isaacphi-mcp-gdrive)<a href="https://allmcps.com/mcp/isaacphi-mcp-gdrive"><img src="https://allmcps.com/api/badge/isaacphi-mcp-gdrive?style=directory" alt="MCP Gdrive on AllMCPs" /></a>