Google Drive Server
by isaacphi
This MCP server integrates with Google Drive to allow listing, reading, and searching files. It also provides the ability to read and write to Google Sheets.
Last updated: N/A
What is Google Drive Server?
This is an MCP server that provides tools to interact with Google Drive and Google Sheets. It allows searching, reading, and writing files and spreadsheets directly from the server.
How to use Google Drive Server?
To use this server, you need to create a Google Cloud project, enable the Google Drive and Google Sheets APIs, configure an OAuth consent screen, create an OAuth Client ID, and set up environment variables for authentication. After building the server, run it to trigger the authentication step and then configure your desktop app to use the server.
Key features of Google Drive Server
Search for files in Google Drive
Read contents of files from Google Drive
Read data from Google Spreadsheets
Update cell values in Google Spreadsheets
Automatic export of Google Workspace files to Markdown, CSV, Plain Text, and PNG
Use cases of Google Drive Server
Accessing and manipulating Google Drive files programmatically
Integrating Google Sheets data into applications
Automating file management tasks in Google Drive
Building workflows that involve reading and writing to Google Drive and Sheets
FAQ from Google Drive Server
What scopes are required for OAuth?
What scopes are required for OAuth?
You need to add OAuth scopes https://www.googleapis.com/auth/drive.readonly
, https://www.googleapis.com/auth/spreadsheets
.
What file types are supported?
What file types are supported?
The server supports all file types in Google Drive. Google Workspace files are automatically exported to Markdown, CSV, Plain Text, and PNG.
How do I authenticate with Google Drive?
How do I authenticate with Google Drive?
You need to create a Google Cloud project, enable the APIs, configure OAuth, and provide the necessary credentials as environment variables.
Where is the OAuth token saved?
Where is the OAuth token saved?
Your OAuth token is saved in the directory specified by the GDRIVE_CREDS_DIR
environment variable.
How do I integrate this server with the desktop app?
How do I integrate this server with the desktop app?
Add the provided JSON configuration to your app's server configuration, ensuring you provide the correct environment variables for authentication.