Price Per TokenPrice Per Token
Google Drive

Google Drive

by rishipradeep-think41

GitHub 5 934 uses Remote
0

About

Google Drive MCP Server provides comprehensive access to Google Drive storage and collaboration features through the Model Context Protocol. It enables AI assistants to browse, manage, and interact with files, folders, and permissions directly within Google Drive. Key capabilities include: - Navigate Drive contents including "My Drive" and "Shared with me" folders, with support for browsing folder hierarchies and listing file metadata - Upload new files, update existing content, and retrieve raw file data with detailed metadata extraction - Manage sharing permissions including adding, updating, and removing access rights for users - Collaborate through comments and replies on files, with support for listing and deleting comment threads - Append plain text to existing text files and perform trash management including permanent deletion - Track file changes across Drive and search for files by name or criteria

README

[](https://smithery.ai/server/@rishipradeep-think41/google-drive-mcp)

Google Drive MCP Server

Google Drive MCP Server is a stateless server that integrates Google Drive functionalities with the Model Context Protocol (MCP). It provides a suite of tools and resources to interact with Google Drive, enabling operations like file management, content retrieval, and permission handling through a standardized interface.

🚀 Features

  • Root Listing: List top-level locations like "My Drive" and "Shared with me" using drive_roots.
  • Folder Browsing: List contents of any folder with drive_folder_children.
  • File Metadata: Retrieve detailed metadata for a file using drive_file_metadata.
  • File Exporting: Retrieve raw file content using drive_file_content (note: no built-in format conversion).
  • File Uploading: Create or update files with content using drive_upload.
  • Text Appending: Append plain text to existing text files using drive_append_text.
  • File Deletion & Trash: Move files to trash or delete them permanently with drive_delete and drive_file_empty_trash.
  • Permission Management: Add, update, remove, or list permissions for files/folders via drive_share, drive_permission_update, drive_permission_delete, etc.
  • Commenting & Replies: Add comments, reply to them, and list/delete comments or replies using tools like drive_comment, drive_file_list_comments, and related tools.
  • Change Tracking: Track changes in a user's Drive using drive_changes.
  • File Search: Search for files by name or other criteria using drive_search.
  • 🛠️ Installation

    1. Clone the Repository:

        git clone https://github.com/rishipradeep-think41/google-drive-mcp.git
        cd google-drive-mcp
        

    2. Install Dependencies:

        npm install
        

    3. Configure Environment Variables: Create a .env file in the root directory and add the following:

        CLIENT_ID=your_google_client_id
        CLIENT_SECRET=your_google_client_secret
        REFRESH_TOKEN=your_google_refresh_token
        PORT=8081
        

    Ensure you have a valid Google OAuth2 client and refresh token with appropriate Drive API scopes.

    4. Start the Server:

        node index.js
        
    The server will start on http://localhost:8081.

    📚 API Overview

    Resources

  • drive_roots: Lists files in "My Drive" and "Shared with me".
  • Tool Categories

    Basic Navigation & Information

    | Tool Name | Description | | ------------------------- | ------------------------------------------ | | drive_roots | List roots (My Drive, Shared with me) | | drive_changes | List changes in Drive | | drive_file_metadata | Get metadata of a file | | drive_folder_children | List contents of a folder | | drive_search | Search files in Google Drive | | drive_storage_quota | Get storage quota information for the user | | drive_storage_breakdown | Get storage usage breakdown by file type |

    File Content Operations

    | Tool Name | Description | | -------------------- | --------------------------------------------------- | | drive_file_content | Retrieve content of a Google Drive file | | drive_create | Create file or folder | | drive_upload | Upload or update file content | | drive_append_text | Append plain text to an existing text file in Drive |

    File Management

    | Tool Name | Description | | ------------------------ | -------------------------------------------------- | | drive_copy | Copy a file or folder to a new location | | drive_move | Move a file or folder to a different parent folder | | drive_rename | Rename a file or folder | | drive_delete | Trash or delete a file | | drive_restore | Restore a file from the trash | | drive_file_empty_trash | Permanently delete all trashed files | | drive_star | Star or unstar a file or folder | | drive_file_lock | Lock or unlock a file to prevent changes | | drive_shortcut_create | Create a shortcut to a file or folder |

    File Version Management

    | Tool Name | Description | | ----------------------- | ----------------------------------- | | drive_versions_list | List all versions of a file | | `drive_ve

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81
    Saju Insights

    Saju Insights

    hjsh200219

    Saju Insights provides personalized Korean traditional Four Pillars of Destiny (Saju) fortune-telling based on birth data. It calculates destiny charts using the eight characters (four heavenly stems and four earthly branches) derived from birth year, month, day, and hour. Key capabilities include: - Birth chart calculation with automatic True Solar Time adjustment (Jintaeyangsi -30min correction) - Fortune analysis covering personality, career, wealth, health, and love prospects - Relationship compatibility analysis comparing two people's Saju charts - 10-year luck cycle (Daewon) predictions for long-term planning - Yongsin (favorable element) guidance on lucky colors, directions, and career paths - Lunar-solar calendar conversion supporting 1900-2200 with leap month handling - Daily fortune readings and seasonal power calculations - Multiple interpretation schools including Ziping, DTS, and modern methodologies

    Entertainment
    7 11