Google Workspace Integration
STDIOComprehensive tool for interacting with Google Workspace services including Docs, Sheets, Slides, Drive.
Comprehensive tool for interacting with Google Workspace services including Docs, Sheets, Slides, Drive.
A comprehensive MCP (Metoro Control Protocol) tool for interacting with Google Workspace services including Google Docs, Sheets, Slides, and Drive.
# Create virtual environment python -m venv venv # Activate virtual environment source venv/bin/activate
# Create virtual environment python -m venv venv # Activate virtual environment venv\Scripts\activate
pip install -r requirements.txt
export MCPGD_CLIENT_SECRET_PATH="/path/to/client_secret.json" export MCPGD_FOLDER_ID="your_folder_id" export MCPGD_TOKEN_PATH="/path/to/token.json" # Optional
python main.py
# List files mcp list_files # Copy a file mcp copy_file --file-id "file_id" --new_name "new_name"
# Get sheet data mcp get_sheet_data --spreadsheet_id "your_spreadsheet_id" --range "Sheet1!A1:D10" # Create chart mcp create_chart --chart_type "LINE" --range "A1:B10" --sheet_name "Sheet1" --title "Sales Trend"
# Create document mcp create_document --title "My Document" # Insert formatted text mcp insert_text_to_document --document_id "doc_id" --text "Hello World" --font_family "Arial" --font_size 12
# Create presentation mcp create_presentation --title "My Presentation" # Add slide with content mcp add_slide_to_presentation --presentation_id "presentation_id" --title "Slide Title" --content "Slide Content"
MCPGD_CLIENT_SECRET_PATH
: Path to Google OAuth 2.0 client secret fileMCPGD_FOLDER_ID
: Google Drive folder IDMCPGD_TOKEN_PATH
: Path to token storage file (Optional, Default: ~/.mcp_google_spreadsheet.json)MIT License