Google Drive server
@tonioshikanlu
About Google Drive server
Google Drive MCP server for integrating with Google Drive to allow listing, reading, and searching over files.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-gdrive-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount",
"type=bind,source=/path/to/gcp-oauth.keys.json,target=/gcp-oauth.keys.json",
"-v",
"mcp-gdrive:/gdrive-server",
"-e",
"GDRIVE_OAUTH_PATH=/gcp-oauth.keys.json",
"-e",
"GDRIVE_CREDENTIALS_PATH=/gdrive-server/credentials.json",
"-p",
"3000:3000",
"mcp/gdrive",
"auth"
]
}
}
}Tools
1Search for files in Google Drive
Overview
What is Google Drive server?
Google Drive server is an MCP (Model Context Protocol) server that integrates with Google Drive to list, read, and search files. It provides a tool for searching and a resource scheme for accessing file content, with automatic export of Google Workspace documents.
How to use Google Drive server?
After setting up a Google Cloud project, enabling the Drive API, and creating OAuth credentials saved as gcp-oauth.keys.json, run node ./dist auth (or the Docker equivalent) to authenticate via browser. Then add the server configuration (Docker or npx) to your MCP client’s mcpServers JSON.
Key features of Google Drive server
- Search files in Google Drive
- Access files via
gdrive:///<file_id>URI - Export Google Docs as Markdown, Sheets as CSV, Slides as plain text, Drawings as PNG
- Support all Google Drive file types
- Read-only access using OAuth 2.0
Use cases of Google Drive server
- Search and retrieve documents for automated processing
- Export Google Docs to Markdown for content management
- Access CSV data from Google Sheets for analysis
- Browse and download files programmatically from Drive
FAQ from Google Drive server
What Google Workspace export formats are supported?
Docs are exported as Markdown, Sheets as CSV, Presentations as plain text, and Drawings as PNG.
How do I authenticate the server?
After placing your OAuth keys file as gcp-oauth.keys.json, run node ./dist auth (or the Docker equivalent) to open a browser flow, then credentials are saved locally.
What OAuth scope is used?
The server uses the https://www.googleapis.com/auth/drive.readonly scope for read‑only access.
How do I configure the server with the Desktop App?
Add a gdrive entry under mcpServers using either the Docker or npx command shown in the README configuration examples.
Does the server support all file types?
Yes, all Google Drive file types are supported; Google Workspace files are auto‑exported, while other files are provided in their native format.
More Files & Storage MCP servers
Mcp Directory
chatmcpdirectory for Awesome MCP Servers
mcp-rquest
xxxbrianA MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
mcp-v8: V8 JavaScript MCP Server
r33drichardsMCP server that exposes a V8 JavaScript runtime as a tool for AI agents like Claude and Cursor. Supports persistent heap snapshots via S3 or local filesystem, and is ready for integration with modern AI development environments.
Sample S3 Model Context Protocol Server
aws-samplesMcp Filesystem
gabrielmaialva33A secure Model Context Protocol (MCP) server providing filesystem access within predefined directories
Comments