Google Drive MCP Server
@felores
About Google Drive MCP Server
Efficient implementation of the Google Drive MCP server
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"gdrive-mcp-server-felores": {
"command": "node",
"args": [
"dist/index.js",
"auth"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Google Drive MCP Server?
A Model Context Protocol (MCP) server that integrates with Google Drive, enabling AI models to search, list, and read files from Google Drive. It is intended for developers building AI applications that need to access Google Drive content.
How to use Google Drive MCP Server?
Install dependencies, build the project, then set up Google Cloud credentials and run node dist/index.js auth to authenticate via OAuth. Start the server with node dist/index.js. For integration with a desktop MCP app, add a JSON configuration block specifying the command, arguments, and environment variables for the OAuth key files.
Key features of Google Drive MCP Server
- Two tools:
gdrive_search(file search) andgdrive_read_file(read file contents by ID) - Automatic format conversion for Google Workspace files (Docs to Markdown, Sheets to CSV, etc.)
- Read-only access to Google Drive via OAuth 2.0
- Credentials stored in a local
credentialsdirectory - Works with Node.js v16 or higher and npm/yarn
Use cases of Google Drive MCP Server
- Search for files in Google Drive using full-text queries
- Read file contents directly by providing a Google Drive file ID
- Automatically convert Google Docs, Sheets, and Presentations into plain text formats for AI consumption
- Integrate Google Drive file access into MCP‑compatible desktop applications
FAQ from Google Drive MCP Server
What are the prerequisites for using this server?
You need Node.js v16 or higher, npm or yarn, a Google Cloud Project with the Google Drive API enabled, and a Google Workspace or personal Google account.
How do I authenticate with Google Drive?
After placing your downloaded OAuth client JSON file in credentials/gcp-oauth.keys.json, run node dist/index.js auth and complete the OAuth flow in your browser. Credentials are saved to credentials/.gdrive-server-credentials.json.
What permissions does the server request?
The server requests read‑only access to Google Drive (scope https://www.googleapis.com/auth/drive.readonly).
How are credentials stored and managed?
All sensitive credentials are stored in the credentials directory, which is excluded from version control. The OAuth keys and token files are kept locally.
What file types are supported and how are they converted?
Google Docs become Markdown, Google Sheets become CSV, Google Presentations become plain text, Google Drawings become PNG, text/JSON files are returned as UTF‑8 text, and other files are Base64 encoded.
More Files & Storage MCP servers
File Context Server
bsmi021A Model Context Protocol (MCP) server that provides file system context to Large Language Models (LLMs). This server enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.
WORK IN PROGRESS - USE WITH CAUTION - Windows:
hanwegMCP server for working with PDF files
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.
box-mcp-server
hmkA Box model context protocol server to search, read and access files
Claude Document MCP Server
alejandroBallesterosCA lightweight MCP server for processing, editing, and interacting with PDF, Word, Excel, and CSV documents.
Comments