Google Drive MCP server built with FastMCP

Google Drive MCP server built with FastMCP

google_drive_mcp•byfestusev

An MCP server that offers tools for listing, searching, reading, and writing Google Drive files, with particular focus on Google Docs operations.

License: MIT License•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Lists files in Google Drive with optional folder filtering, MIME type filtering, and pagination.
  • •Searches Google Drive files using query syntax with pagination support.
  • •Reads Google Docs content with pagination, tab selection, and configurable start index and length.
  • •Writes content to Google Docs, supporting tab selection, insertion position, and range replacement.

BEST FOR

  • •Searching for Google Docs documents by name and MIME type through an MCP client.
  • •Reading large Google Docs in paginated chunks.
  • •Writing content to a specific tab within a Google Docs document.

ABOUT GOOGLE_DRIVE_MCP

Google Drive MCP server built with FastMCP is cataloged as an MCP server attributed to festusev. An MCP server that offers tools for listing, searching, reading, and writing Google Drive files, with particular focus on Google Docs operations. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Google Drive MCP server built with FastMCP are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server authenticate with Google Drive?

It uses service account authentication with a downloaded key file, so no interactive authentication flow is required.

What is the maximum number of characters that can be read at once?

The read_document tool defaults to 5000 characters and allows a maximum of 10000.

Upstream README

View this exact version on GitHub

README.md · e6906e6780fb · Fetched 2026-11-13 11:00:04 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Google Drive MCP Server

A Model Context Protocol (MCP) server for Google Drive integration, built with FastMCP. Provides tools for reading, writing, searching, and listing Google Drive files with a focus on Google Docs operations.

Features

  • File Operations: List and search files in Google Drive with pagination
  • Document Reading: Read Google Docs content with pagination and tab selection
  • Document Writing: Write to Google Docs with tab selection and range operations
  • Authentication: Service account authentication for Google Drive API access
  • Pagination: Handle large documents and file lists efficiently

Setup

1. Install Dependencies

uv sync

2. Google API Setup

  1. Go to the Google Cloud Console
  2. Create a new project or select an existing one
  3. Enable the Google Drive API and Google Docs API
  4. Create a service account and generate a key
  5. Download the service account key file and save it as service-account-key.json in the project root
  6. Share any Google Drive files/folders you want to access with the service account email

3. Running the Server

python -m google_drive_mcp.server

No authentication flow is required - the service account will authenticate automatically using the key file.

Available Tools

list_files

List files in Google Drive with optional filtering and pagination.

Parameters:

  • folder_id (optional): Folder ID to list files from (default: root)
  • page_size (optional): Number of files per page (default: 50, max: 100)
  • page_token (optional): Token for pagination
  • mime_type (optional): Filter by MIME type (e.g., 'application/vnd.google-apps.document')

search_files

Search for files in Google Drive using query syntax.

Parameters:

  • query: Search query (e.g., 'name contains "report"')
  • page_size (optional): Number of files per page (default: 50, max: 100)
  • page_token (optional): Token for pagination

read_document

Read content from a Google Docs document with pagination.

Parameters:

  • document_id: Google Docs document ID
  • tab_id (optional): Specific tab ID to read from
  • start_index (optional): Starting character index (default: 0)
  • length (optional): Number of characters to read (default: 5000, max: 10000)

write_document

Write content to a Google Docs document.

Parameters:

  • document_id: Google Docs document ID
  • content: Content to write
  • tab_id (optional): Specific tab ID to write to
  • insert_index (optional): Index where to insert content (default: end)
  • replace_start (optional): Start index for content replacement
  • replace_end (optional): End index for content replacement

Usage Examples

Search for Google Docs

# Search for documents containing "report"
search_files(query='name contains "report" and mimeType="application/vnd.google-apps.document"')

Read a Document with Pagination

# Read first 5000 characters
read_document(document_id="your_doc_id")

# Read next 5000 characters
read_document(document_id="your_doc_id", start_index=5000)

Write to a Specific Tab

# Write to a specific tab in a document
write_document(
    document_id="your_doc_id",
    content="Hello, World!",
    tab_id="your_tab_id"
)

Development

Project Structure

google_drive_mcp/
├── __init__.py
├── auth.py          # Google Drive authentication
└── server.py        # FastMCP server implementation

Running in Development

# Install in development mode
uv pip install -e .

# Run the server
python -m google_drive_mcp.server

License

This project is licensed under the MIT License.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Google Drive MCP server built with FastMCP from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/google_drive_mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation