About Google Workspace MCP
Google Workspace MCP is an MCP server published by dguido in the Productivity category: mCP server for Google Drive, Docs, Sheets, Slides, Calendar, Gmail, and Contacts. Conduid read 57 tools from its source: add_google_sheet_conditional_format, append_to_doc, batch_delete, batch_move, batch_restore, batch_share and 51 more. No package is published for it, so it installs from a source checkout.
The repository has 37 stars and 10 forks, is licensed MIT, and its last commit was on 11 Mar 2026. The latest release is v3.4.4 (22 Feb 2026): fix(gmail): include attachmentId in read_email text output (#57) Bump hono override from 4.11.7 to 4.11.10 — fixes Dependabot security alert #14 (#58) Bump ajv from 8.17… It follows v3.4.3 (16 Feb 2026), and the 5 most recent releases go back to v3.4.0 (11 Feb 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include productivity and google-workspace.
Install
git clone https://github.com/dguido/google-workspace-mcpTools (57)
add_google_sheet_conditional_formatAdd conditional formatting to a Sheet| Parameter | Type | Description |
|---|---|---|
| condition * | object | Condition configuration |
| format * | object | Format to apply when condition is true |
| range * | string | Range to apply formatting (e.g., 'A1:C10') |
| spreadsheetId * | string | Spreadsheet ID |
append_to_docAppend text to the end of a Google Doc| Parameter | Type | Description |
|---|---|---|
| documentId * | string | Document ID |
| insertNewline | boolean | Insert newline before text (default: true) |
| text * | string | Text to append |
batch_deleteBatch move files to trash (max 100 per batch)| Parameter | Type | Description |
|---|---|---|
| fileIds * | array | Array of file IDs to delete (max 100) |
batch_moveBatch move files to folder (max 100 per batch)| Parameter | Type | Description |
|---|---|---|
| destinationFolderId | string | Destination folder ID (mutually exclusive with destinationPath) |
| destinationPath | string | Destination folder path like '/Archive/2024' (creates folders if needed, mutually exclusive with destinationFolderId) |
| fileIds | array | Array of file IDs to move (max 100, mutually exclusive with filePaths) |
| filePaths | array | Array of file paths to move (max 100, mutually exclusive with fileIds) |
batch_restoreBatch restore files from trash (max 100 per batch)| Parameter | Type | Description |
|---|---|---|
| fileIds * | array | Array of file IDs to restore from trash (max 100) |
batch_shareBatch share files with a user (max 100 per batch)| Parameter | Type | Description |
|---|---|---|
| email * | string | Email address to share with |
| fileIds * | array | Array of file IDs to share (max 100) |
| role * | string | Permission role |
| sendNotification | boolean | (optional, default: true) Send email notification |
copy_fileCopy a file with optional new name| Parameter | Type | Description |
|---|---|---|
| destinationFolderId | string | Destination folder ID (defaults to same folder as source) |
| destinationName | string | Name for the copied file (defaults to 'Copy of <original>') |
| sourceFileId * | string | ID of the file to copy |
create_contactCreate a new contact| Parameter | Type | Description |
|---|---|---|
| addresses | array | (optional) Physical addresses |
| emailAddresses | array | (optional) Email addresses |
| familyName | string | (optional) Family name (last name) |
| givenName * | string | Given name (first name) |
| organizations | array | (optional) Organizations/companies |
| phoneNumbers | array | (optional) Phone numbers |
create_eventCreate a new calendar event| Parameter | Type | Description |
|---|---|---|
| addGoogleMeet | boolean | Add Google Meet video conference (default: false) |
| attendees | array | List of attendee email addresses |
| calendarId | string | Calendar ID (defaults to 'primary') |
| colorId | string | Event color ID (1-11) |
| description | string | Event description |
| end * | object | End time (same format as start) |
| location | string | Event location |
| recurrence | array | RRULE strings for recurring events |
| reminders | array | Custom reminders (overrides calendar defaults) |
| sendUpdates | string | Who to send notifications to (default: all) |
| start * | object | Start time. Use dateTime for timed events (RFC3339) or date for all-day (YYYY-MM-DD) |
| summary * | string | Event title |
create_fileCreate file (auto-detects type from name)| Parameter | Type | Description |
|---|---|---|
| content * | any | File content: string for docs/text, 2D array for sheets, array of {title, content} for slides |
| name * | string | File name with extension (e.g., 'report.docx', 'data.xlsx', 'deck.pptx', 'notes.txt') |
| parentFolderId | string | Parent folder ID (mutually exclusive with parentPath) |
| parentPath | string | Parent folder path like '/Documents/Reports' (creates folders if needed, mutually exclusive with parentFolderId) |
| type | string | Optional explicit type override |
create_filterCreate an email filter| Parameter | Type | Description |
|---|---|---|
| action | object | Actions (direct mode) |
| archive | boolean | Archive matching emails (template mode) |
| criteria | object | Filter criteria (direct mode) |
| string | Email for fromSender/mailingList template | |
| labelIds | array | Labels (template mode) |
| listAddress | string | List address for mailingList template |
| sizeBytes | number | Size for largeEmails template |
| subject | string | Subject for withSubject template |
| template | string | Use pre-built template instead of criteria/action |
create_folderCreate a new folder in Google Drive| Parameter | Type | Description |
|---|---|---|
| name * | string | Folder name |
| parent | string | Parent folder ID (mutually exclusive with parentPath) |
| parentPath | string | Parent folder path like '/Documents/Projects' (creates folders if needed, mutually exclusive with parent) |
create_google_docCreate a new Google Doc| Parameter | Type | Description |
|---|---|---|
| content * | string | Doc content |
| name * | string | Doc name |
| parentFolderId | string | Parent folder ID (mutually exclusive with parentPath) |
| parentPath | string | Parent folder path like '/Documents/Reports' (creates folders if needed, mutually exclusive with parentFolderId) |
create_google_sheetCreate a new Google Sheet| Parameter | Type | Description |
|---|---|---|
| data * | array | Data as array of arrays |
| name * | string | Sheet name |
| parentFolderId | string | Parent folder ID (mutually exclusive with parentPath) |
| parentPath | string | Parent folder path like '/Data/Spreadsheets' (creates folders if needed, mutually exclusive with parentFolderId) |
| valueInputOption | string | RAW (default): Values stored exactly as provided - formulas stored as text strings. Safe for untrusted data. USER_ENTERED: Values parsed like spreadsheet UI - formulas (=SUM, =IF, etc.) are evaluated. SECURITY WARNING: USER_ENTERED can execute formulas, only use with trusted data, never with user-provided input that could contain malicious formulas like =IMPORTDATA() or =IMPORTRANGE(). |
create_google_slidesCreate a new Google Slides presentation| Parameter | Type | Description |
|---|---|---|
| name * | string | Presentation name |
| parentFolderId | string | Parent folder ID (mutually exclusive with parentPath) |
| parentPath | string | Parent folder path like '/Presentations/2024' (creates folders if needed, mutually exclusive with parentFolderId) |
| slides * | array | Array of slide objects |
create_google_slides_shapeCreate a shape in Google Slides| Parameter | Type | Description |
|---|---|---|
| backgroundColor | object | Fill color (RGBA values 0-1) |
| height * | number | Height in EMU |
| pageObjectId * | string | Slide ID |
| presentationId * | string | Presentation ID |
| shapeType * | string | Shape type |
| width * | number | Width in EMU |
| x * | number | X position in EMU (1 inch = 914400 EMU) |
| y * | number | Y position in EMU |
create_google_slides_text_boxCreate a text box in Google Slides| Parameter | Type | Description |
|---|---|---|
| bold | boolean | Make text bold |
| fontSize | number | Font size in points |
| height * | number | Height in EMU |
| italic | boolean | Make text italic |
| pageObjectId * | string | Slide ID |
| presentationId * | string | Presentation ID |
| text * | string | Text content |
| width * | number | Width in EMU |
| x * | number | X position in EMU (1 inch = 914400 EMU) |
| y * | number | Y position in EMU |
create_text_fileCreate a text or markdown file| Parameter | Type | Description |
|---|---|---|
| content * | string | File content |
| name * | string | File name (.txt or .md) |
| parentFolderId | string | Parent folder ID (mutually exclusive with parentPath) |
| parentPath | string | Parent folder path like '/Documents/Projects' (creates folders if needed, mutually exclusive with parentFolderId) |
delete_contactDelete a contact| Parameter | Type | Description |
|---|---|---|
| resourceName * | string | Contact resource name or ID (e.g., people/c1234567890 or c1234567890) |
delete_draftPermanently delete one or more drafts by ID (max 100).| Parameter | Type | Description |
|---|---|---|
| id * | any | Draft ID or array of IDs |
delete_emailDelete emails permanently (max 1000 IDs per request)| Parameter | Type | Description |
|---|---|---|
| id * | any | Message ID or array of IDs (max 1000) |
delete_eventDelete a calendar event| Parameter | Type | Description |
|---|---|---|
| calendarId | string | Calendar ID (defaults to 'primary') |
| eventId * | string | Event ID to delete |
| sendUpdates | string | Who to send cancellation notices to (default: all) |
delete_filterDelete an email filter| Parameter | Type | Description |
|---|---|---|
| filterId * | string | Filter ID to delete |
delete_itemMove items to trash| Parameter | Type | Description |
|---|---|---|
| itemId * | string | ID of the item to delete |
delete_labelDelete a user-created label| Parameter | Type | Description |
|---|---|---|
| labelId * | string | Label ID to delete |
delete_text_in_docDelete text range from a Google Doc| Parameter | Type | Description |
|---|---|---|
| documentId * | string | Document ID |
| endIndex * | number | End index of range to delete (exclusive, 1-based) |
| startIndex * | number | Start index of range to delete (inclusive, 1-based) |
draft_emailCreate or update a draft email. Omit draftId to create new; provide draftId to update an existing draft.| Parameter | Type | Description |
|---|---|---|
| attachments | array | |
| bcc | array | BCC recipients as an array, e.g. ["user@example.com"] |
| body | string | Plain text body |
| cc | array | CC recipients as an array, e.g. ["user@example.com"] |
| draftId | string | Draft ID to update (omit to create new) |
| html | string | HTML body |
| replyTo | string | |
| subject | string | Subject |
| threadId | string | |
| to | array | Recipient email addresses as an array, e.g. ["user@example.com"] |
empty_trashPermanently delete all files in trash| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true to confirm permanent deletion |
| driveId | string | Optional shared drive ID. If provided, empties trash of that shared drive instead of personal drive. |
format_google_doc_rangeFormat text and paragraphs in a Doc| Parameter | Type | Description |
|---|---|---|
| alignment | string | Text alignment |
| bold | boolean | Make text bold |
| documentId * | string | Document ID |
| endIndex | number | End index (1-based, optional - defaults to document end) |
| fontFamily | string | Font family name |
| fontSize | number | Font size in points |
| foregroundColor | object | Text color (RGB values 0-1) |
| italic | boolean | Make text italic |
| lineSpacing | number | Line spacing multiplier |
| namedStyleType | string | Paragraph style |
| spaceAbove | number | Space above paragraph in points |
| spaceBelow | number | Space below paragraph in points |
| startIndex | number | Start index (1-based, optional - defaults to document start) |
| strikethrough | boolean | Strikethrough text |
| underline | boolean | Underline text |
format_google_sheet_cellsFormat cells in a Google Sheet| Parameter | Type | Description |
|---|---|---|
| backgroundColor | object | Background color (RGB values 0-1) |
| bold | boolean | Make text bold |
| borders | object | Border settings |
| fontFamily | string | Font family name |
| fontSize | number | Font size in points |
| foregroundColor | object | Text color (RGB values 0-1) |
| horizontalAlignment | string | Horizontal alignment |
| italic | boolean | Make text italic |
| numberFormat | object | Number format settings |
| range * | string | Range to format (e.g., 'Sheet1!A1:C10' or 'A1:C10') |
| spreadsheetId * | string | Spreadsheet ID |
| strikethrough | boolean | Strikethrough text |
| underline | boolean | Underline text |
| verticalAlignment | string | Vertical alignment |
| wrapStrategy | string | Text wrapping |
format_slide_backgroundSet slide background color in Google Slides| Parameter | Type | Description |
|---|---|---|
| backgroundColor * | object | Background color RGBA (values 0-1) |
| pageObjectIds * | array | Array of slide IDs to format |
| presentationId * | string | Presentation ID |
format_slides_shapeFormat shape fill and outline in Google Slides| Parameter | Type | Description |
|---|---|---|
| backgroundColor | object | Shape fill color RGBA (values 0-1) |
| objectId * | string | Shape object ID |
| outlineColor | object | Outline color RGB (values 0-1) |
| outlineDashStyle | string | Outline dash style |
| outlineWeight | number | Outline thickness in points |
| presentationId * | string | Presentation ID |
format_slides_textFormat text styling in Google Slides| Parameter | Type | Description |
|---|---|---|
| alignment | string | Text alignment |
| bold | boolean | Make text bold |
| bulletStyle | string | Bullet style |
| endIndex | number | End index (0-based, optional) |
| fontFamily | string | Font family name |
| fontSize | number | Font size in points |
| foregroundColor | object | Text color RGB (values 0-1) |
| italic | boolean | Make text italic |
| lineSpacing | number | Line spacing multiplier |
| objectId * | string | Text element object ID |
| presentationId * | string | Presentation ID |
| startIndex | number | Start index (0-based, optional) |
| strikethrough | boolean | Strikethrough text |
| underline | boolean | Underline text |
get_or_create_labelGet or create a Gmail label| Parameter | Type | Description |
|---|---|---|
| backgroundColor | string | |
| labelListVisibility | string | |
| messageListVisibility | string | |
| name * | string | Label name |
| textColor | string |
insert_text_in_docInsert text at a position in a Doc| Parameter | Type | Description |
|---|---|---|
| documentId * | string | Document ID |
| index * | number | Character index to insert at (1 = beginning of document content). Get indices from getGoogleDocContent. |
| text * | string | Text to insert |
merge_google_sheet_cellsMerge cells in a Google Sheet| Parameter | Type | Description |
|---|---|---|
| mergeType * | string | Merge type |
| range * | string | Range to merge (e.g., 'A1:C3') |
| spreadsheetId * | string | Spreadsheet ID |
modify_emailAdd/remove labels on threads (max 1000 IDs per request)| Parameter | Type | Description |
|---|---|---|
| addLabelIds | array | (optional) Label IDs to add |
| removeLabelIds | array | (optional) Label IDs to remove |
| threadId * | any | Thread ID or array of IDs (max 1000) |
move_itemMove items to a new folder| Parameter | Type | Description |
|---|---|---|
| destinationFolderId | string | Destination folder ID (mutually exclusive with destinationPath) |
| destinationPath | string | Destination folder path like '/Archive/2024' (creates folders if needed, mutually exclusive with destinationFolderId) |
| itemId | string | ID of the item to move (mutually exclusive with itemPath) |
| itemPath | string | Path of the item to move like '/Documents/report.txt' (mutually exclusive with itemId) |
remove_permissionRemove sharing permission from a file| Parameter | Type | Description |
|---|---|---|
| string | Email address to remove (alternative to permissionId) | |
| fileId * | string | File ID |
| permissionId | string | Permission ID (from getSharing) |
rename_itemRename a file or folder| Parameter | Type | Description |
|---|---|---|
| itemId * | string | ID of the item to rename |
| newName * | string | New name |
replace_text_in_docFind and replace text in a Doc| Parameter | Type | Description |
|---|---|---|
| documentId * | string | Document ID |
| matchCase | boolean | Match case (default: true) |
| replaceText * | string | Text to replace with (use empty string to delete) |
| searchText * | string | Text to search for |
restore_from_trashRestore a file from trash| Parameter | Type | Description |
|---|---|---|
| destinationFolderId | string | Optional destination folder ID (mutually exclusive with destinationPath). If not provided, restores to original location. |
| destinationPath | string | Optional destination folder path like '/Documents/Restored' (mutually exclusive with destinationFolderId). If not provided, restores to original location. |
| fileId * | string | File ID to restore |
restore_revisionRestore file to previous revision| Parameter | Type | Description |
|---|---|---|
| fileId * | string | File ID |
| revisionId * | string | Revision ID to restore |
send_emailSend an email| Parameter | Type | Description |
|---|---|---|
| attachments | array | File attachments |
| bcc | array | BCC recipients as an array, e.g. ["user@example.com"] |
| body * | string | Plain text email body |
| cc | array | CC recipients as an array, e.g. ["user@example.com"] |
| html | string | HTML email body (optional) |
| inReplyTo | string | Message-ID for threading |
| replyTo | string | Reply-to address |
| subject * | string | Email subject |
| threadId | string | Thread ID to reply to |
| to * | array | Recipient email addresses as an array, e.g. ["user@example.com"] |
share_fileShare a file with a user, group, domain, or make public| Parameter | Type | Description |
|---|---|---|
| domain | string | Domain (required for domain type) |
| emailAddress | string | Email (required for user/group) |
| emailMessage | string | Custom message for notification |
| fileId * | string | File ID to share |
| role * | string | Permission role |
| sendNotificationEmail | boolean | Send notification email (default: true) |
| type * | string | Permission type |
sheet_tabsManage tabs in a spreadsheet: list, create, delete, or rename| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform |
| currentTitle | string | Current title (required for rename) |
| index | number | (optional) Position for new tab (create only) |
| newTitle | string | New title (required for rename) |
| spreadsheetId * | string | Spreadsheet ID |
| title | string | Tab title (required for create/delete) |
slides_speaker_notesGet or update speaker notes for a slide| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform |
| notes | string | Notes content (required for update) |
| presentationId * | string | Presentation ID |
| slideIndex * | number | Slide index (0-based) |
star_fileStar or unstar a file in Google Drive| Parameter | Type | Description |
|---|---|---|
| fileId * | string | File ID |
| starred * | boolean | true to star, false to unstar |
update_contactUpdate an existing contact| Parameter | Type | Description |
|---|---|---|
| addresses | array | (optional) Addresses (replaces existing) |
| emailAddresses | array | (optional) Email addresses (replaces existing) |
| familyName | string | (optional) Family name (last name) |
| givenName | string | (optional) Given name (first name) |
| organizations | array | (optional) Organizations (replaces existing) |
| phoneNumbers | array | (optional) Phone numbers (replaces existing) |
| resourceName * | string | Contact resource name or ID (e.g., people/c1234567890 or c1234567890) |
update_eventUpdate an existing calendar event| Parameter | Type | Description |
|---|---|---|
| addGoogleMeet | boolean | Add Google Meet if not present |
| attendees | array | Replace attendee list |
| calendarId | string | Calendar ID (defaults to 'primary') |
| colorId | string | New color ID (1-11) |
| description | string | New description |
| end | object | New end time |
| eventId * | string | Event ID to update |
| location | string | New location |
| reminders | array | New custom reminders |
| sendUpdates | string | Who to notify of changes |
| start | object | New start time |
| summary | string | New event title |
update_fileUpdate file (auto-detects type)| Parameter | Type | Description |
|---|---|---|
| content * | any | New content: string for docs/text, 2D array for sheets |
| fileId | string | File ID to update (mutually exclusive with filePath) |
| filePath | string | File path like '/Documents/report.docx' (mutually exclusive with fileId) |
| range | string | For sheets only: range to update (e.g., 'Sheet1!A1:C10'). Defaults to Sheet1!A1 |
update_google_docReplace content in a Google Doc| Parameter | Type | Description |
|---|---|---|
| content * | string | New content |
| documentId * | string | Doc ID |
update_google_sheetUpdate a Google Sheet range| Parameter | Type | Description |
|---|---|---|
| data * | array | 2D array of values to write |
| range * | string | Range to update (e.g., 'Sheet1!A1:C10') |
| spreadsheetId * | string | Sheet ID |
| valueInputOption | string | RAW (default): Values stored exactly as provided - formulas stored as text strings. Safe for untrusted data. USER_ENTERED: Values parsed like spreadsheet UI - formulas (=SUM, =IF, etc.) are evaluated. SECURITY WARNING: USER_ENTERED can execute formulas, only use with trusted data, never with user-provided input that could contain malicious formulas like =IMPORTDATA() or =IMPORTRANGE(). |
update_google_slidesUpdate a Google Slides presentation| Parameter | Type | Description |
|---|---|---|
| presentationId * | string | Presentation ID |
| slides * | array | Array of slide objects to replace existing slides |
update_labelUpdate an existing Gmail label| Parameter | Type | Description |
|---|---|---|
| backgroundColor | string | (optional) Background color |
| labelId * | string | Label ID to update |
| labelListVisibility | string | (optional) Label list visibility |
| messageListVisibility | string | (optional) Show/hide in message list |
| name | string | (optional) New name |
| textColor | string | (optional) Text color |
update_text_fileUpdate content of a text or markdown file in Google Drive| Parameter | Type | Description |
|---|---|---|
| content * | string | New file content |
| fileId * | string | ID of the file to update |
| name | string | Optional new name (.txt or .md) |
upload_fileUpload file from disk or base64| Parameter | Type | Description |
|---|---|---|
| base64Content | string | Base64-encoded content |
| folderId | string | Destination folder ID (mutually exclusive with folderPath) |
| folderPath | string | Destination folder path like '/Documents/Uploads' (creates folders if needed, mutually exclusive with folderId) |
| mimeType | string | MIME type (auto-detected from extension if omitted) |
| name * | string | File name with extension |
| sourcePath | string | Path to source file |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.2K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 63 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:4
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 10 callssrc/auth/tokenManager.ts:69, src/auth/tokenManager.ts:70, src/auth/tokenManager.ts:73
- Lockfile
- package-lock.json
Pattern matches on the source text of 63 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.2K words, fetched a month ago. The original in the repository is authoritative.
Read full README