gdrive-mcp-server

gdrive-mcp-server

4

Google Drive MCP Server is a server that facilitates interaction with Google Drive through a Machine Control Protocol interface. It supports features such as searching files, retrieving metadata, and OAuth authentication with token persistence. The server can operate in both HTTP and standard input/output modes.

Google Drive MCP Server

A server offering a Machine Control Protocol interface to interact with Google Drive files and folders.

Features

  • Search files in Google Drive
  • Retrieve file content and metadata
  • OAuth authentication with token persistence
  • Supports HTTP and stdio transport modes

Requirements

  • Python 3.12 or higher
  • Google Drive API credentials

Setup

  1. Create a virtual environment.
  2. Install the package in editable mode.
  3. Set up Google Drive API credentials through Google Cloud Console.
  4. Authenticate using Google Drive credentials and token files.

Usage

Run the server in standard or HTTP mode.

Claude Desktop Integration

Integration with Claude Desktop via configuration in claude_desktop_config.json. Replace paths accordingly.

Development

Utilizes Python 3.12+, Google Drive API, MCP server framework, FastMCP, and Rich. Development dependencies available for installation.