mcp-google-docs
Provides tools for Google Drive manipulation including listing files, copying files, renaming files, and creating various types of documents including empty spreadsheets and template-based spreadsheets.
Offers comprehensive Google Sheets functionality for managing sheets, manipulating data (rows/columns/cells), creating and modifying charts, and updating cell formats. Includes capabilities for sheet listing, copying, renaming, and data retrieval.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Google Workspace Integration
A comprehensive MCP (Metoro Control Protocol) tool for interacting with Google Workspace services including Google Docs, Sheets, Slides, and Drive.
Features
Google Drive Features
List files
Copy files
Rename files
Create empty spreadsheets
Create spreadsheets from templates
Copy existing spreadsheets
Google Sheets Features
List sheets
Copy sheets
Rename sheets
Get sheet data
Add/Delete rows
Add/Delete columns
Update cells
Create/Update/Delete charts
Update cell formats
Google Docs Features
Create documents
Insert text with formatting
Add headings
Insert images
Create and manage tables
Insert page breaks
Add horizontal rules
Update document styles
Manage table styles and content
Google Slides Features
Create presentations
Add slides
Insert images
Add shapes and lines
Update text styles
Modify slide backgrounds
Update slide layouts
Add slide transitions
Add speaker notes
Related MCP server: google-sheets-mcp
Installation
1. Virtual Environment Setup
macOS/Linux
# Create virtual environment
python -m venv venv
# Activate virtual environment
source venv/bin/activateWindows
# Create virtual environment
python -m venv venv
# Activate virtual environment
venv\Scripts\activate2. Install Required Packages
pip install -r requirements.txt3. Google Cloud Console Setup
Create a project in Google Cloud Console
Create OAuth 2.0 client ID
Enable required APIs:
Google Sheets API
Google Drive API
Google Docs API
Google Slides API
4. Environment Variables Setup
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" # OptionalUsage
1. Run the Program
python main.py2. Use Tools via MCP
Google Drive Examples
# List files
mcp list_files
# Copy a file
mcp copy_file --file-id "file_id" --new_name "new_name"Google Sheets Examples
# 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"Google Docs Examples
# 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 12Google Slides Examples
# 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"Environment Variables
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)
License
MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
Read and edit GA4, Search Console and Google Tag Manager from any MCP client. 29 tools.
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth. Reuses the google_sheets…
Hosted Google Sheets MCP server, with each action switched on or off per account.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for interacting with Google Sheets, providing tools to list sheets, read data from cell ranges, and write data to cell ranges.33MIT
- AlicenseNot gradedqualityCmaintenanceMCP server to read, write, create, and format Google Sheets via OAuth2 authentication, providing tools for spreadsheet management.543 npmMIT
- AlicenseAqualityDmaintenanceAn MCP server providing read/write access to Google Spreadsheets through a set of tools for managing sheets, rows, columns, and data.1017 npmMIT
- FlicenseNot gradedqualityDmaintenanceMCP server for Google Sheets that exposes tools to read cell ranges, update values, and apply advanced batch updates (borders, colors, data validation, conditional formatting) via HTTP.4 npm-