Feedback

Google Drive & Sheets MCP Server — by isaacphi

@isaacphi Claim

Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
isaacphi
Submitted by
Community
Quality
50
Stars
283

About Google Drive & Sheets MCP Server

Integrate Google Sheets API and Google Drive for seamless file operations and spreadsheet data manipulation via the Google Spreadsheet API.

Google Drive & Sheets is a MCP server in the Productivity category listed in the AddMCP.net directory, published by isaacphi. It exposes 4 tools, including gdrive_search, gdrive_read_file, gsheets_update_cell, gsheets_read. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 283 GitHub stars. Source code is hosted on github.com. Related topics: cloud-storage, community, file-management, file-systems, Google Drive.

Setup

{
    "mcpServers": {
        "gdrive": {
            "command": "npx",
            "args": [
                "-y",
                "@isaacphi/mcp-gdrive"
            ],
            "env": {
                "CLIENT_ID": "<CLIENT_ID>",
                "CLIENT_SECRET": "<CLIENT_SECRET>",
                "GDRIVE_CREDS_DIR": "/path/to/config/directory"
            }
        }
    }
}

Google Drive & Sheets MCP Server — by isaacphi config

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

{
    "mcpServers": {
        "gdrive": {
            "command": "npx",
            "args": [
                "-y",
                "@isaacphi/mcp-gdrive"
            ],
            "env": {
                "CLIENT_ID": "<CLIENT_ID>",
                "CLIENT_SECRET": "<CLIENT_SECRET>",
                "GDRIVE_CREDS_DIR": "/path/to/config/directory"
            }
        }
    }
}

Google Drive & Sheets MCP Server — by isaacphi tools

  • gdrive_search — Search for files in Google Drive
    query:string*, pageToken:string, pageSize:number
  • gdrive_read_file — Read contents of a file from Google Drive
    fileId:string*
  • gsheets_update_cell — Update a cell value in a Google Spreadsheet
    fileId:string*, range:string*, value:string*
  • gsheets_read — Read data from a Google Spreadsheet with flexible options for ranges and formatting
    spreadsheetId:string*, ranges:array, sheetId:number

Overview

What is Google Drive & Sheets?

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. It is built for developers using the Model Context Protocol to enable AI agents to interact with Google Drive content.

How to use Google Drive & Sheets?

Set up a Google Cloud project, enable the Drive and Sheets APIs, create OAuth credentials, and configure environment variables (GDRIVE_CREDS_DIR, CLIENT_ID, CLIENT_SECRET). Run node ./dist/index.js to authenticate via browser, then configure the server in your MCP client’s configuration file. The server exposes tools and resources for file operations.

Key features of Google Drive & Sheets

  • Search files in Google Drive by query and pagination.
  • Read the contents of any Google Drive file.
  • Read and update Google Sheets cells with flexible ranges.
  • Export Google Workspace files (Docs, Sheets, Presentations, Drawings) to standard formats.
  • Access all file types via gdrive:///<file_id> resource URIs.

Use cases of Google Drive & Sheets

  • Allow an AI assistant to search and retrieve documents from a user’s Drive.
  • Automate data entry into Google Sheets via cell updates.
  • Enable reading of exported content (Markdown, CSV, plain text, PNG) for downstream processing.

Frequently asked questions

1 What Google APIs are required?

You must enable the Google Drive API and Google Sheets API; for document reading, also enable the Google Docs API.

2 How do I configure OAuth credentials?

Download the OAuth client JSON (type “Desktop App”) from Google Cloud Console, rename it to gcp-oauth.keys.json, and place it in the directory set by GDRIVE_CREDS_DIR.

3 Where is the OAuth token stored?

The token is saved in the directory specified by the GDRIVE_CREDS_DIR environment variable.

4 What transport does the server use?

The server uses the standard MCP transport over stdio, invoked via npx -y @isaacphi/mcp-gdrive. Authentication is OAuth 2.0.

5 Does the server support all file types?

Yes, but Google Workspace files (Docs, Sheets, Presentations, Drawings) are automatically exported to Markdown, CSV, plain text, or PNG. Other files are provided in their native format via gdrive:///<file_id>.

Videos

Tutorials, guides, and showcases related to Google Drive & Sheets MCP Server — by isaacphi. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

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

Sign In

Feedback 💬