ground-creative
MCP Serverground-creativepublic

easy mcp gdrive tools python

A set of powerful tools designed for seamless integration with Google Drive via MCP

Repository Info

1
Stars
0
Forks
1
Watchers
0
Issues
Python
Language
-
License

About This Server

A set of powerful tools designed for seamless integration with Google Drive via MCP

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Easy MCP GDrive Tools

This is a set of tools for gdrive to be used with easy mcp server.
https://github.com/ground-creative/easy-mcp-python

Key Features

  • Document Creation: Create Google Docs with custom titles and content.
  • Spreadsheet Management: Create and edit Google Sheets, including adding and deleting rows.
  • File Upload: Upload text, JSON, or CSV files to Google Drive with custom titles.
  • Folder Organization: Create and manage folders to structure your Drive content.
  • Item Management: Move, delete (with confirmation), or list files and folders.
  • File Access: Retrieve file content and view detailed information.

Authentication

This application uses Google's OAuth service to authenticate users. To use this app, you must create an OAuth 2.0 Client ID in the Google Cloud Console and configure the appropriate scopes for your application.

Installation

  1. Clone the repository from the root folder of the easy mcp installation:
git clone https://github.com/ground-creative/easy-mcp-gdrive-tools-python.git app
  1. Install requirements:
pip install -r app/requirements.txt
  1. Generate encryption key:
python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
  1. Add parameters to env file:
APP_HOST=http://localhost:8000
DB_PATH=storage/sqlite_credentials.db
CYPHER=Your Encryption Key Here
  1. Add client_secrets.json in storage folder

  2. Run the server:

# Run via fastapi wrapper
python3 run.py -s fastapi

Available MCP Tools

The following tools are provided by this MCP server:

Tools and Specifications

Tool NameDescriptionParameters Required
Create DocumentCreates a new Google Docs document with the specified contenttitle (str), content (str), parent_folder_id (Optional [str])
Edit DocumentEdits an existing Google Docs document with the specified contentdocument_id (str), new_content (str)
Create FileCreates a new text, JSON, or CSV file with the specified content and uploads it to Google Drivetitle (str), content (str), file_type (str), parent_folder_id (Optional [str])
Create FolderCreates a new folder in Google Drivefolder_name (str), parent_id (Optional [str])
Delete ItemDeletes a specified item (file or folder) from Google Drive with confirmation logicfile_id (str), confirmation_token (Optional [str])
Get File ContentsRetrieves the contents of a file based on its type (Google Docs, Google Sheets, PDF, text, JSON, or CSV)file_id (str)
Get Item DetailsRetrieves information about a file or folder in Google Drive based on its IDitem_id (str)
Get ItemsLists all items in a specified Google Drive folder or the root directory if no folder ID is providedfolder_id (Optional [str])
Move ItemMoves a file or folder to a new folder in Google Driveitem_id (str), new_parent_id (str)
Search Items by NameSearches for files and folders in Google Drive by their namename (str)
Add Rows to SpreadsheetAdds content to an existing Google Sheets documentsheet_id (str), values (list)
Create SpreadsheetCreates a new Google Sheets document with the specified titletitle (str), parent_folder_id (Optional [str])
Delete Rows from SpreadsheetDeletes specified rows from an existing Google Sheets documentsheet_id (str), row_indices (list)
Edit Rows of SpreadsheetEdits rows in an existing Google Sheets documentsheet_id (str), range_name (str), values (list)

* Make sure you have granted the appropriate scopes for the application to perform the operations on the drive.

How to Create a Google OAuth 2.0 Client ID

  1. Go to Google Cloud Console: https://console.cloud.google.com/

  2. Create or Select a Project:

    • Click on the project dropdown at the top.
    • Select an existing project or click "New Project" to create a new one.
  3. Enable Required APIs:

    • Navigate to: APIs & Services > Library
    • Search for and enable the following APIs:
      • Google Drive API
      • Google Docs API
      • Google Sheets API (if needed)
  4. Configure OAuth Consent Screen:

    • Go to: APIs & Services > OAuth consent screen
    • Choose "External" for public apps, or "Internal" for private use.
    • Fill in the required fields:
      • App name
      • User support email
      • Developer contact info
    • Add necessary scopes:
      • https://www.googleapis.com/auth/drive
      • https://www.googleapis.com/auth/documents
      • https://www.googleapis.com/auth/spreadsheets
      • openid
    • Save and continue
  5. Create OAuth 2.0 Credentials:

    • Go to: APIs & Services > Credentials
    • Click "Create Credentials" > "OAuth client ID"
    • Choose the type based on your application:
      • Web application
      • Desktop app
      • Other
    • For web apps, add authorized redirect URIs (e.g. https://your-app.com/auth/callback)
    • Add authorized JavaScript origins if required
  6. Save Your Credentials:

    • After creating, Google will show:
      • Client ID
      • Client Secret
    • Store these securely. You’ll need them in your app to authenticate users.

Screenshots

Server info page: !Server info page

Google oAuth page !Google oAuth page

Google permission scopes page !Google psermission scopes page

User authenticated page !User Aunthenticated page

Quick Start

1

Clone the repository

git clone https://github.com/ground-creative/easy-mcp-gdrive-tools-python
2

Install dependencies

cd easy-mcp-gdrive-tools-python
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerground-creative
Repoeasy-mcp-gdrive-tools-python
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation