LabscoMCP early access ↗
feloresMCP SERVER

Google Drive MCP Server

Search Google Drive by full text and read any file by ID from an AI client — with Google Workspace formats converted to text automatically.

by felores ↗Office Suites & Cloud File StorageCommunity

LABSCO SUMMARY

Drive as a readable source, not a file blob.

The thoughtful part is the format handling: a model asking for a Google Doc gets Markdown, a Sheet gets CSV — text it can actually reason over instead of a raw export. Access is read-only by design, scoped to drive.readonly, so it can find and read but never change your files. The setup is the standard Google OAuth chore: a Cloud project, Desktop credentials, and a one-time browser auth to mint the token.

What it is

An MCP server for Google Drive that lets an AI model search, list and read files. It handles Google Workspace formats by converting them on read — Docs to Markdown, Sheets to CSV, Slides to plain text — so what comes back is usable text rather than an export blob.

What you get

  • Files found by full-text search, returned with name, MIME type, file ID, last-modified time and size — gdrive_search
  • A file's contents read by its Google Drive file ID — gdrive_read_file
  • Google Workspace files converted on read — Docs to Markdown, Sheets to CSV, Slides to plain text, Drawings to PNG — with text and JSON as UTF-8 and other types base64-encoded
  • Read-only access to Drive

Requirements

A Google Cloud project with the Google Drive API enabled and OAuth 2.0 Desktop-app credentials, using the drive.readonly scope. The downloaded OAuth JSON goes into a credentials/ directory as gcp-oauth.keys.json; running node dist/index.js auth completes the browser OAuth flow and saves the token beside it. Node.js v16 or higher; install is a clone plus npm install and npm run build. The package.json names it @modelcontextprotocol/server-gdrive at 0.6.2.

Setup effort

Build from source — git clone https://github.com/felores/gdrive-mcp-server.git