Google Drive MCP Server

by asadudin

1 stars
567 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server for interacting with Google Drive API

Details

Author
asadudin
GitHub stars
1
Downloads
567
Categories
Other

- List, upload, download, and delete files
- Create folders and organize content
- Share files with specific users and manage permissions
- Handle large file listings with pagination support
- Detailed error reporting for easier debugging
- Debug API connection tool

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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Google Drive MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Python 3.8+, enable the Google Drive API in a Google Cloud project, create a service account, and download its JSON key. Clone the repository, create a virtual environment, install dependencies, copy .env.example to .env, and configure HOST, PORT, and GOOGLE_SERVICE_ACCOUNT_FILE. Run python main.py --transport sse or use Docker with docker-compose up. Connect an MCP client using transport sse and serverUrl http://localhost:8055/sse.

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"
        ]
    }
}

Google Drive MCP Server

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.