Google Drive MCP Server
About
A Model Context Protocol (MCP) server for interacting with Google Drive API
Explore
- File Operations: List, upload, download, and delete files
- Folder Management: Create folders and organize content
- File Sharing: Share files with specific users and manage permissions
- Pagination Support: Handle large file listings efficiently
- Comprehensive Error Handling: Detailed error reporting for easier debugging
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Google Drive MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Python 3.8+
- Google Cloud project with Drive API enabled
- Service account with appropriate permissions
1. Create a project in Google Cloud Console
2. Enable the Google Drive API
3. Create a service account with appropriate permissions
4. Download the service account JSON key file
Clone the repository and install dependencies:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env
Edit the .env file with your configuration:
HOST=0.0.0.0
PORT=8055
GOOGLE_SERVICE_ACCOUNT_FILE=your-service-account-file.json
Alternatively, you can use Docker:
To connect to this MCP server from a client:
json{
"gdrive": {
"transport": "sse",
"serverUrl": "http://localhost:8055/sse"
}
}
``
Note: Make sure to include
/sse` at the end of the URL for SSE transport.This server provides the following MCP tools:
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"google drive mcp server": {
"mcp-server-gdrive": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
}
McpServers
{
"mcp-server-gdrive": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
A Model Context Protocol (MCP) server for interacting with Google Drive API. This server provides a standardized interface for AI systems to access and manipulate files in Google Drive.
Features
- File Operations: List, upload, download, and delete files
- Folder Management: Create folders and organize content
- File Sharing: Share files with specific users and manage permissions
- Pagination Support: Handle large file listings efficiently
- Comprehensive Error Handling: Detailed error reporting for easier debugging
Prerequisites
- Python 3.8+
- Google Cloud project with Drive API enabled
- Service account with appropriate permissions
Setup
1. Google Cloud Setup
1. Create a project in Google Cloud Console
2. Enable the Google Drive API
3. Create a service account with appropriate permissions
4. Download the service account JSON key file
2. Local Setup
Clone the repository and install dependencies:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



