Feedback

Google Drive server MCP Server — by ejoyee

@ejoyee Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
ejoyee
Submitted by
Community
Quality
10

About Google Drive server MCP Server

> **Notice**

Google Drive server is a MCP server in the Files & Storage category listed in the AddMCP.net directory, published by ejoyee. Supported transport: stdio. Runtime: node. License: MIT. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "ej-mcp-server-gdrive": {
            "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"
            ]
        }
    }
}

Google Drive server MCP Server — by ejoyee config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "ej-mcp-server-gdrive": {
            "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"
            ]
        }
    }
}

Google Drive server MCP Server — by ejoyee tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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 server?

Google Drive server is a Model Context Protocol (MCP) server that integrates with Google Drive to allow listing, reading, and searching files. It supports all file types and automatically exports Google Workspace files (Docs, Sheets, Presentations, Drawings) to standard formats.

How to use Google Drive server?

Set up a Google Cloud project, enable the Drive API, configure OAuth consent, create an OAuth client ID for a desktop app, and place the key file as gcp-oauth.keys.json in the project root. Build with npm run build or npm run watch. Authenticate by running node ./dist auth and completing the browser flow. Then configure the server in your MCP client—supports NPX (@modelcontextprotocol/server-gdrive) or Docker (mcp/gdrive).

Key features of Google Drive server

  • Search for files in Google Drive by query.
  • Access files via URI scheme gdrive:///<file_id>.
  • Automatic export of Google Docs to Markdown.
  • Automatic export of Google Sheets to CSV.
  • Automatic export of Presentations to plain text.
  • Automatic export of Drawings to PNG.

Use cases of Google Drive server

  • Search and retrieve documents for analysis by an AI assistant.
  • Read Google Drive files in their native or exported format.
  • Integrate file discovery into automated workflows.
  • Access Drive content from within a VS Code environment.

Frequently asked questions

1 How do I authenticate Google Drive server?

Run the server with the auth argument: node ./dist auth. This opens an authentication flow in your system browser. Credentials are saved to servers/.gdrive-server-credentials.json.

2 What file formats are supported?

All Google Workspace files are automatically exported: Docs → Markdown, Sheets → CSV, Presentations → plain text, Drawings → PNG. Other file types are provided in their native format.

3 What are the runtime requirements?

Node.js is required to build and run the server. Alternatively, Docker can be used for containerized deployment. Google Cloud project with Drive API enabled and OAuth 2.0 credentials are mandatory.

4 How do I configure Google Drive server with VS Code?

Add a JSON block to User Settings or .vscode/mcp.json. For NPX, set the command to npx -y @modelcontextprotocol/server-gdrive with environment variable GDRIVE_CREDENTIALS_PATH. For Docker, use the mcp/gdrive image with the mcp-gdrive volume and GDRIVE_CREDENTIALS_PATH environment variable.

5 Where are credentials stored after authentication?

Credentials are saved in the file servers/.gdrive-server-credentials.json after running the auth flow. This path can be overridden via the environment variable GDRIVE_CREDENTIALS_PATH.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬