- Explore MCP Servers
- gdrive-mcp-server
Gdrive Mcp Server
What is Gdrive Mcp Server
gdrive-mcp-server is a server that provides a Machine Control Protocol (MCP) interface to interact with files and folders stored in Google Drive, built using Python.
Use cases
Use cases include automating file uploads and downloads, integrating Google Drive with desktop applications, and developing tools that require access to Google Drive files and metadata.
How to use
To use gdrive-mcp-server, set up a virtual environment, install the package, configure Google Drive API credentials, and run the server in standard or HTTP mode.
Key features
Key features include file searching in Google Drive, retrieving file content and metadata, OAuth authentication with token persistence, and support for both HTTP and standard input/output transport modes.
Where to use
gdrive-mcp-server can be used in various fields such as software development, automation scripts, and applications requiring integration with Google Drive for file management.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Gdrive Mcp Server
gdrive-mcp-server is a server that provides a Machine Control Protocol (MCP) interface to interact with files and folders stored in Google Drive, built using Python.
Use cases
Use cases include automating file uploads and downloads, integrating Google Drive with desktop applications, and developing tools that require access to Google Drive files and metadata.
How to use
To use gdrive-mcp-server, set up a virtual environment, install the package, configure Google Drive API credentials, and run the server in standard or HTTP mode.
Key features
Key features include file searching in Google Drive, retrieving file content and metadata, OAuth authentication with token persistence, and support for both HTTP and standard input/output transport modes.
Where to use
gdrive-mcp-server can be used in various fields such as software development, automation scripts, and applications requiring integration with Google Drive for file management.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Google Drive MCP Server
A server that provides MCP (Machine Control Protocol) interface to interact with Google Drive files and folders.
Features
- Search for files in Google Drive
- Get file content and metadata
- OAuth authentication with token persistence
- HTTP and stdio transport modes
Requirements
- Python 3.12 or higher
- Google Drive API credentials
Setup
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install the package in editable mode:
pip install -e .
-
Set up Google Drive API credentials:
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable the Google Drive API for your project
- Go to “Credentials” in the left sidebar
- Click “Create Credentials” and select “OAuth client ID”
- Choose “Desktop app” as the application type
- Download the credentials file and save it as
credentials.json
-
Set up Google Drive authentication:
python -m gdrive_mcp_server.auth_setup --credentials /path/to/your/credentials.json --token /path/to/your/tokens.json
Usage
Run the server:
# Standard mode
gdrive-mcp
# HTTP mode
gdrive-mcp --http
Claude Desktop Integration
To integrate with Claude Desktop, add the following configuration to your claude_desktop_config.json:
Replace the paths with your actual paths:
command: Path to the gdrive-mcp executable in your virtual environmentargs[1]: Path to your tokens.json file (generated during authentication setup)
Development
The project uses:
- Python 3.12+
- Google Drive API
- MCP server framework
- FastMCP for HTTP transport
- Rich for terminal formatting
Development dependencies can be installed with:
pip install -e ".[dev]"
License
MIT License
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










