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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-google-docscreate a spreadsheet from the sales template and name it Q3 Report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceRead and write Google Sheets, Docs, Drive, and Apps Script from any MCP client. 82 tools with OAuth2 auth, tested against live Google APIs.Last updated1MIT
- Alicense-qualityAmaintenanceMCP server for Google Sheets - read, write, and query spreadsheet data.Last updated1,2242MIT
- Alicense-qualityDmaintenanceMCP server for interacting with Google Sheets, providing tools to list sheets, read data from cell ranges, and write data to cell ranges.Last updated3MIT
- Flicense-qualityBmaintenanceProvides read/write access to Google Sheets and Google Docs through MCP tools, enabling operations like reading sheets, appending rows, and editing documents.Last updated
Related MCP Connectors
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
JSON tools MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dev-ithitchhiker/mcp-google-docs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server