Google Workspace MCP Server
Provides tools for managing Gmail messages, drafts, labels, filters, forwarding, delegates, S/MIME, CSE, and mailbox settings.
Provides tools for managing Google Calendar events, recurring instances, free/busy queries, ACL, and calendar settings.
Provides tools for creating, reading, and updating Google Docs documents, including inserting text, tables, images, and batch updates.
Provides tools for Google Drive file management, including search, CRUD, upload/download, sharing, permissions, revisions, comments, and labels.
Provides tools for interacting with Google Sheets, including reading, writing, creating, appending, clearing, and managing data filters and developer metadata.
Provides tools for Google Slides presentations, including creating, reading, adding slides, inserting text, replacing text, and batch updates.
Provides tools for managing Google Tasks and task lists, including CRUD operations, completing tasks, moving/reordering, and clearing lists.
Click on "Deploy 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., "@Google Workspace MCP Server send an email to john@example.com saying meeting tomorrow at 3pm"
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.
Google Workspace MCP Server
A Model Context Protocol (MCP) server providing 240 tools for Google Workspace: Gmail, Drive, Docs, Slides, Sheets, Calendar, Contacts, and Tasks.
Built with googleapis and @modelcontextprotocol/sdk.
Features
Service | Tools | Highlights |
Gmail | 75 | Send/read/reply/forward, drafts, labels, threads, attachments, filters, settings, S/MIME, CSE, delegates, watch, HTML link extraction |
Drive | 47 | Search, CRUD, upload/download, export, trash, share, permissions, revisions, comments, replies, shared drives, labels, access proposals |
Calendar | 30 | Events CRUD, search, quick add, import, recurring instances, free/busy, ACL, calendar management, watch, settings |
Sheets | 17 | Read, write, create, append, clear, batch operations, data filters, developer metadata, copy sheet |
Contacts | 22 | CRUD, batch operations, photos, contact groups, other contacts, directory search |
Tasks | 14 | Tasks and task lists CRUD, complete, move/reorder, clear |
Docs | 7 | Create, read, insert text/tables/images, batch update, find & replace |
Slides | 8 | Create, read, add slides, get page, thumbnails, insert text, replace text, batch update |
Related MCP server: google-connections-mcp
Prerequisites
Node.js 18+
A Google Cloud Platform project with OAuth 2.0 credentials (Desktop app type)
The following APIs enabled:
Gmail API
Google Drive API
Google Docs API
Google Slides API
Google Sheets API
Google Calendar API
People API (Contacts)
Tasks API
Quick Install
git clone https://github.com/salviz/google-mcp-server.git
cd google-mcp-server
npm installRegister with Claude Code
CLI:
claude mcp add google-workspace -- node /path/to/google-mcp-server/index.jsOr add to your MCP config (~/.claude/claude_desktop_config.json or .mcp.json):
{
"mcpServers": {
"google-workspace": {
"type": "stdio",
"command": "node",
"args": ["/path/to/google-mcp-server/index.js"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id.apps.googleusercontent.com",
"GOOGLE_CLIENT_SECRET": "your-client-secret",
"GOOGLE_TOKEN_PATH": "/path/to/credentials.json"
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes | OAuth 2.0 client ID |
| Yes | OAuth 2.0 client secret |
| No | Path to token JSON file (default: |
| No | Google Secret Manager secret name for token fallback (default: |
Token File Format
{
"access_token": "ya29...",
"refresh_token": "1//...",
"token_type": "Bearer",
"expiry_date": 1700000000000
}The server automatically refreshes expired tokens and persists updates to disk. If Google Cloud Secret Manager is available, tokens are also stored there as a cross-session fallback.
Tools (240)
Gmail (75)
Tool | Description |
| Get Gmail profile info (email, messages/threads total, history ID) |
| Send a new email (plain text or HTML) |
| Read a message with full body text, HTML link extraction, and attachment info |
| Reply to a message (keeps thread) |
| Forward a message to another recipient |
| List recent messages |
| Search messages using Gmail query syntax |
| Mark a message as read |
| Mark a message as unread |
| Add or remove labels from a message |
| Move a message to trash |
| Remove a message from trash |
| Permanently delete a message |
| Modify labels on multiple messages at once |
| Permanently delete multiple messages |
| Insert a message directly into the mailbox |
| Import a message (similar to receiving via SMTP) |
| Download an attachment from a message |
| List message threads |
| Get all messages in a thread |
| Modify labels on a thread |
| Move a thread to trash |
| Restore a thread from trash |
| Permanently delete a thread |
| Create a new draft |
| List all drafts |
| Get a specific draft |
| Update an existing draft |
| Delete a draft |
| Send a draft |
| List all labels |
| Get a specific label |
| Create a new label |
| Update a label |
| Delete a label |
| List mailbox changes since a history ID |
| Get auto-forwarding settings |
| Update auto-forwarding settings |
| Get IMAP settings |
| Update IMAP settings |
| Get POP settings |
| Update POP settings |
| Get language settings |
| Update language settings |
| Get vacation responder settings |
| Update vacation responder settings |
| List send-as aliases |
| Get a send-as alias |
| Create a send-as alias |
| Update a send-as alias |
| Delete a send-as alias |
| Send verification for a send-as alias |
| List email filters |
| Get a specific filter |
| Create a new filter |
| Delete a filter |
| List forwarding addresses |
| Get a forwarding address |
| Create a forwarding address |
| Delete a forwarding address |
| List mail delegates |
| Get a mail delegate |
| Create a mail delegate |
| Delete a mail delegate |
| List S/MIME certificates |
| Get an S/MIME certificate |
| Insert an S/MIME certificate |
| Delete an S/MIME certificate |
| Set default S/MIME certificate |
| List CSE identities |
| Get a CSE identity |
| Create a CSE identity |
| Patch a CSE identity |
| Delete a CSE identity |
| List CSE key pairs |
| Get a CSE key pair |
| Create a CSE key pair |
| Enable a CSE key pair |
| Disable a CSE key pair |
| Permanently delete a CSE key pair |
| Set up push notifications via Pub/Sub |
| Stop push notifications |
Google Drive (47)
Tool | Description |
| Search files using Drive query syntax |
| Read file content (detects binary, suggests download) |
| List files in a folder |
| Get detailed file metadata |
| Create a new folder |
| Create a new text file |
| Update file name, content, or description |
| Permanently delete a file |
| Move a file to trash |
| Restore a file from trash |
| Copy a file |
| Move a file to a different folder |
| Share a file (user, group, domain, or anyone) |
| List sharing permissions |
| Get a specific permission |
| Update a sharing permission |
| Remove a sharing permission |
| Get storage quota and user info |
| Upload a binary file from local filesystem |
| Download a file to local filesystem |
| List comments on a file |
| Get a specific comment |
| Add a comment to a file |
| Update a comment |
| Delete a comment |
| Reply to a comment |
| List replies to a comment |
| Get a specific reply |
| Update a reply |
| Delete a reply |
| Export Google Workspace files (PDF, DOCX, CSV, etc.) |
| List file revision history |
| Get a specific revision |
| Update revision metadata |
| Delete a revision |
| Permanently empty all trash |
| Get starting page token for changes |
| List file changes since a page token |
| Watch a file for changes (webhook) |
| Watch for file changes (webhook) |
| Stop a watch channel |
| Generate file IDs for uploads |
| List labels on a file |
| Modify labels on a file |
| List access proposals for a file |
| Get a specific access proposal |
| Accept or deny an access proposal |
| List installed Drive apps |
| Get a specific Drive app |
| Get a long-running operation status |
| Create a shared drive |
| List shared drives |
| Get a shared drive |
| Update a shared drive |
| Hide a shared drive |
| Unhide a shared drive |
| Delete a shared drive |
Google Calendar (30)
Tool | Description |
| List upcoming events with optional time range |
| Search events by text |
| Create an event (supports all-day) |
| Update an existing event |
| Delete an event |
| Get detailed event info |
| Move event between calendars |
| Create event from natural language |
| Import an event by iCal UID |
| List instances of a recurring event |
| Check free/busy time for calendars |
| List all accessible calendars |
| Create a new calendar |
| Get calendar details |
| Update calendar properties |
| Delete a calendar |
| Clear all events from a calendar |
| Get calendar list entry |
| Update calendar list entry |
| Subscribe to a calendar |
| Unsubscribe from a calendar |
| List calendar access control rules |
| Get a specific ACL rule |
| Add an ACL rule |
| Update an ACL rule |
| Delete an ACL rule |
| Get available calendar/event colors |
| List all user settings |
| Get a specific setting |
| Watch ACL changes (webhook) |
| Watch event changes (webhook) |
| Watch calendar list changes (webhook) |
| Watch settings changes (webhook) |
| Stop a watch channel |
Google Sheets (17)
Tool | Description |
| Read data from a spreadsheet range |
| Write data to a range |
| Create a new spreadsheet |
| Append rows after existing data |
| Clear values from a range |
| Clear multiple ranges at once |
| Read multiple ranges at once |
| Structural operations (add sheets, merge cells, charts) |
| Write to multiple ranges at once |
| Get spreadsheet metadata |
| Copy a sheet to another spreadsheet |
| Get spreadsheet data using data filters |
| Get values using data filters |
| Update values using data filters |
| Clear ranges using data filters |
| Search developer metadata |
| Get developer metadata by ID |
Google Contacts (22)
Tool | Description |
| List contacts with optional search |
| Get a specific contact |
| Create a new contact |
| Update an existing contact |
| Delete a contact |
| Create multiple contacts at once |
| Update multiple contacts at once |
| Get multiple contacts at once |
| Delete multiple contacts at once |
| Upload a contact photo |
| Delete a contact photo |
| List contact groups |
| Create a contact group |
| Get a contact group |
| Update a contact group |
| Delete a contact group |
| Get multiple contact groups |
| Add or remove members from a group |
| List "other contacts" (auto-saved) |
| Search other contacts |
| Copy an other contact to my contacts |
| Search organization directory (Workspace) |
| List directory contacts (Workspace) |
Google Tasks (14)
Tool | Description |
| List all task lists |
| Get a specific task list |
| Create a new task list |
| Delete a task list |
| List tasks in a task list |
| Get a specific task |
| Create a new task |
| Update a task |
| Mark a task as completed |
| Delete a task |
| Move or reorder a task |
| Clear completed tasks from a list |
Google Docs (7)
Tool | Description |
| Create a new document with optional content and folder |
| Read full document content as plain text |
| Insert text at a position |
| Apply batch update requests |
| Insert a table |
| Insert an inline image from a URL |
| Find and replace text |
Google Slides (8)
Tool | Description |
| Create a new presentation |
| Read all slide content |
| Add a new slide |
| Get details of a specific slide |
| Generate a thumbnail image URL for a slide |
| Insert text into a shape or text box |
| Find and replace text across all slides |
| Apply batch update requests |
Setup Guide
1. Create a Google Cloud Project
Go to the Google Cloud Console and create or select a project.
2. Enable APIs
In APIs & Services > Library, enable: Gmail, Drive, Docs, Slides, Sheets, Calendar, People, and Tasks APIs.
3. Create OAuth 2.0 Credentials
Navigate to APIs & Services > Credentials
Click Create Credentials > OAuth client ID
Select Desktop app
Note the
client_idandclient_secret
4. Obtain Tokens
Use the included re-authorization helper:
GOOGLE_CLIENT_ID=your-client-id GOOGLE_CLIENT_SECRET=your-client-secret node reauth.jsThis starts a local server, opens an auth URL, and saves tokens after you authorize.
Required OAuth scopes:
https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.settings.basichttps://www.googleapis.com/auth/gmail.settings.sharinghttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/calendarhttps://www.googleapis.com/auth/contactshttps://www.googleapis.com/auth/taskshttps://www.googleapis.com/auth/documentshttps://www.googleapis.com/auth/spreadsheetshttps://www.googleapis.com/auth/presentations
5. Save Tokens
mkdir -p ~/.google-mcp
# Tokens are automatically saved to ~/.google-mcp/credentials.json by reauth.jsTesting
Run the comprehensive test suite (tests all 240 tools):
GOOGLE_CLIENT_ID=your-id GOOGLE_CLIENT_SECRET=your-secret node test-all.jsProject Structure
google-mcp-server/
index.js # Server entry point, registers all tool modules
auth.js # OAuth 2.0 client, token management, Secret Manager fallback
reauth.js # OAuth re-authorization helper
test-all.js # Comprehensive test suite for all 240 tools
tools/
gmail.js # 75 Gmail tools
drive.js # 47 Google Drive tools
docs.js # 7 Google Docs tools
slides.js # 8 Google Slides tools
calendar.js # 30 Google Calendar tools
extras.js # 36 tools: Contacts (22), Tasks (14), Sheets (17 - in sheets section)
package.jsonSecurity
No hardcoded credentials -- all secrets via environment variables
Tokens stored locally -- never transmitted except to Google's OAuth APIs
Automatic token refresh -- expired tokens refreshed silently
Secret Manager fallback -- optionally stores tokens in Google Cloud Secret Manager for resilience
Stdio transport only -- no network server exposed
Token file parsing wrapped in try-catch for resilience
Dependencies
Package | Purpose |
| MCP server framework |
| Official Google APIs client |
| Schema validation for tool parameters |
License
MIT
Available Tools
240 toolscalendar_acl_deleteB
Delete an access control rule from a Google Calendar
Inputs: ruleId (required), calendarId (required).
calendar_acl_getA
Get a specific access control rule for a Google Calendar
Inputs: ruleId (required), calendarId (required).
calendar_acl_insertB
Create a new access control rule for a Google Calendar
Inputs: role (required), scopeType (required), calendarId (required), scopeValue.
calendar_acl_listB
List access control rules (ACL) for a Google Calendar
Inputs: calendarId (required).
calendar_acl_updateC
Update an existing access control rule for a Google Calendar
Inputs: role (required), ruleId (required), calendarId (required).
calendar_acl_watchB
Watch for changes to ACL rules on a Google Calendar (push notifications)
Inputs: channelId (required), calendarId (required), channelAddress (required), channelType.
calendar_clearB
Clear all events from a Google Calendar (removes all events but keeps the calendar)
Inputs: calendarId (required).
calendar_create_calendarC
Create a new Google Calendar
Inputs: summary (required), timeZone, description.
calendar_create_eventC
Create a new Google Calendar event
Inputs: endTime (required), summary (required), startTime (required), location, +2 more.
calendar_delete_calendarA
Delete a Google Calendar (cannot delete primary)
Inputs: calendarId (required).
calendar_delete_eventB
Delete a Google Calendar event
Inputs: eventId (required), calendarId.
calendar_freebusyB
Check free/busy time for one or more Google Calendars
Inputs: timeMax (required), timeMin (required), calendarIds (required).
calendar_get_calendarA
Get metadata for a specific Google Calendar by ID
Inputs: calendarId (required).
calendar_get_colorsA
Get color definitions for Google Calendar (available colors for calendars and events)
Inputs: no named parameters.
calendar_get_eventA
Get detailed information about a specific Google Calendar event
Inputs: eventId (required), calendarId.
calendar_get_settingA
Get a single Google Calendar user setting by name
Inputs: setting (required).
calendar_import_eventA
Import an event into a Google Calendar (adds a private copy using iCalUID)
Inputs: endTime (required), iCalUID (required), summary (required), startTime (required), +3 more.
calendar_list_calendarsB
List all Google Calendars accessible to the user
Inputs: no named parameters.
calendar_list_deleteB
Remove a calendar from the user's calendar list
Inputs: calendarId (required).
calendar_list_eventsC
List upcoming Google Calendar events
Inputs: timeMax, timeMin, calendarId, maxResults.
calendar_list_getC
Get a specific calendar entry from the user's calendar list
Inputs: calendarId (required).
calendar_list_insertB
Add an existing calendar to the user's calendar list
Inputs: id (required), colorRgbFormat.
calendar_list_settingsA
List all Google Calendar user settings
Inputs: no named parameters.
calendar_list_updateB
Update a calendar's settings in the user's calendar list (color, reminders, visibility)
Inputs: calendarId (required), hidden, colorId, summaryOverride, +1 more.
calendar_list_watchC
Watch for changes to the user's calendar list (push notifications)
Inputs: channelId (required), channelAddress (required), channelType.
calendar_move_eventB
Move a Google Calendar event from one calendar to another
Inputs: eventId (required), sourceCalendarId (required), destinationCalendarId (required).
calendar_quick_addA
Create a Google Calendar event from natural language text (e.g. "Meeting tomorrow at 3pm")
Inputs: text (required), calendarId.
calendar_recurring_instancesC
List instances of a recurring Google Calendar event
Inputs: eventId (required), calendarId, maxResults.
calendar_search_eventsA
Search Google Calendar events by text query (searches summary, description, location, attendees)
Inputs: query (required), timeMax, timeMin, calendarId, +1 more.
calendar_stop_channelB
Stop receiving push notifications for a watch channel
Inputs: id (required), resourceId (required).
calendar_update_calendarB
Update a Google Calendar (name, description, time zone)
Inputs: calendarId (required), summary, timeZone, description.
calendar_update_eventB
Update an existing Google Calendar event
Inputs: eventId (required), endTime, summary, location, +3 more.
calendar_watch_eventsC
Watch for changes to events on a Google Calendar (push notifications)
Inputs: channelId (required), channelAddress (required), calendarId, channelType.
calendar_watch_settingsB
Watch for changes to Google Calendar user settings (push notifications)
Inputs: channelId (required), channelAddress (required), channelType.
contacts_batch_createA
Create multiple Google Contacts at once (people.batchCreateContacts)
Inputs: contacts (required).
contacts_batch_deleteA
Delete multiple Google Contacts at once (people.batchDeleteContacts)
Inputs: resourceNames (required).
contacts_batch_getB
Get multiple Google Contacts at once (people.getBatchGet)
Inputs: resourceNames (required).
contacts_batch_updateB
Update multiple Google Contacts at once (people.batchUpdateContacts)
Inputs: contacts (required).
contacts_createB
Create a new Google Contact
Inputs: givenName (required), email, phone, familyName, +1 more.
contacts_deleteB
Delete a Google Contact
Inputs: resourceName (required).
contacts_delete_photoB
Delete a contact photo (people.deleteContactPhoto)
Inputs: resourceName (required).
contacts_getB
Get a specific Google Contact by resource name
Inputs: resourceName (required).
contacts_group_batch_getA
Get multiple contact groups at once (contactGroups.batchGet)
Inputs: resourceNames (required).
contacts_group_createB
Create a new contact group (contactGroups.create)
Inputs: name (required).
contacts_group_deleteB
Delete a contact group (contactGroups.delete)
Inputs: resourceName (required).
contacts_group_getC
Get a specific contact group (contactGroups.get)
Inputs: resourceName (required).
contacts_group_modify_membersA
Add or remove contacts from a contact group (contactGroups.members.modify)
Inputs: resourceName (required), addResourceNames, removeResourceNames.
contacts_groups_listA
List contact groups (labels)
Inputs: no named parameters.
contacts_group_updateC
Update a contact group name (contactGroups.update)
Inputs: name (required), resourceName (required).
contacts_listC
List Google Contacts or search by query
Inputs: query, maxResults.
contacts_list_directoryC
List domain directory contacts (people.listDirectoryPeople)
Inputs: sources (required), readMask (required), pageSize.
contacts_other_copyB
Copy an "other contact" to My Contacts group (otherContacts.copyOtherContactToMyContactsGroup)
Inputs: resourceName (required).
contacts_other_listC
List "Other contacts" (otherContacts.list)
Inputs: pageSize, readMask.
contacts_other_searchC
Search other contacts (otherContacts.search)
Inputs: query (required), readMask.
contacts_search_directoryB
Search domain directory for people (people.searchDirectoryPeople)
Inputs: query (required), sources (required), readMask (required).
contacts_updateC
Update an existing Google Contact
Inputs: resourceName (required), email, phone, givenName, +1 more.
contacts_update_photoC
Update a contact photo (people.updateContactPhoto)
Inputs: photoBytes (required), resourceName (required).
docs_batch_updateA
Apply batch update requests to a Google Doc (formatting, tables, images, page breaks, etc.)
Inputs: requests (required), documentId (required).
docs_createA
Create a new Google Doc, optionally with initial content and in a specific folder
Inputs: title (required), content, parentId.
docs_find_replaceC
Find and replace text in a Google Doc
Inputs: find (required), replace (required), documentId (required), matchCase.
docs_insert_imageB
Insert an inline image into a Google Doc from a URL
Inputs: imageUrl (required), documentId (required), index, width, +1 more.
docs_insert_tableB
Insert a table into a Google Doc at a specified position
Inputs: rows (required), columns (required), documentId (required), index.
docs_insert_textB
Insert text into a Google Doc at a specified position
Inputs: text (required), documentId (required), index, segmentId.
docs_readA
Read a Google Doc and return its content as plain text
Inputs: documentId (required).
drive_aboutA
Get Google Drive storage quota and user info
Inputs: no named parameters.
drive_add_commentB
Add a comment to a Google Drive file
Inputs: fileId (required), content (required).
drive_copyC
Copy a file in Google Drive
Inputs: fileId (required), name, parentId.
drive_create_fileC
Create a new text file in Google Drive
Inputs: name (required), content (required), mimeType, parentId.
drive_create_folderB
Create a new folder in Google Drive
Inputs: name (required), parentId.
drive_create_replyB
Create a reply to a comment on a Google Drive file
Inputs: fileId (required), content (required), commentId (required).
drive_deleteA
Permanently delete a file from Google Drive
Inputs: fileId (required).
drive_delete_commentB
Delete a comment from a Google Drive file
Inputs: fileId (required), commentId (required).
drive_delete_replyB
Delete a reply to a comment on a Google Drive file
Inputs: fileId (required), replyId (required), commentId (required).
drive_delete_revisionA
Delete a revision of a Google Drive file (cannot delete the last remaining revision)
Inputs: fileId (required), revisionId (required).
drive_download_fileB
Download a file from Google Drive to a local path
Inputs: fileId (required), localPath (required).
drive_empty_trashA
Permanently delete all files in Google Drive trash
Inputs: no named parameters.
drive_export_fileA
Export a Google Workspace file (Doc, Sheet, Slides) to a different format (PDF, DOCX, CSV, PPTX, etc.)
Inputs: fileId (required), mimeType (required), localPath (required).
drive_file_infoC
Get detailed metadata about a file in Google Drive
Inputs: fileId (required).
drive_generate_idsA
Generate a set of file IDs that can be used in create or copy requests
Inputs: type, count, space.
drive_get_access_proposalB
Get a specific access proposal by ID
Inputs: fileId (required), proposalId (required).
drive_get_appA
Get a specific installed Drive app by ID
Inputs: appId (required).
drive_get_changes_start_tokenA
Get the starting pageToken for listing future changes in Google Drive
Inputs: no named parameters.
drive_get_commentA
Get a specific comment on a Google Drive file by ID
Inputs: fileId (required), commentId (required).
drive_get_commentsB
List comments on a Google Drive file
Inputs: fileId (required), maxResults.
drive_get_operationA
Get the status of a long-running operation
Inputs: operationName (required).
drive_get_permissionA
Get a specific permission on a Google Drive file by permission ID
Inputs: fileId (required), permissionId (required).
drive_get_replyB
Get a specific reply to a comment on a Google Drive file
Inputs: fileId (required), replyId (required), commentId (required).
drive_get_revisionB
Get metadata of a specific revision of a Google Drive file
Inputs: fileId (required), revisionId (required).
drive_get_revisionsC
List revisions of a Google Drive file
Inputs: fileId (required), maxResults.
drive_listB
List files in a specific Google Drive folder
Inputs: folderId, maxResults.
drive_list_access_proposalsA
List access proposals on a file (requests for access)
Inputs: fileId (required), pageSize, pageToken.
drive_list_appsB
List the user's installed Google Drive apps
Inputs: no named parameters.
drive_list_changesB
List changes to files in Google Drive since a given page token
Inputs: pageToken (required), spaces, pageSize, includeRemoved, +1 more.
drive_list_labelsB
List labels applied to a Google Drive file
Inputs: fileId (required), pageToken, maxResults.
drive_list_permissionsC
List sharing permissions on a file in Google Drive
Inputs: fileId (required).
drive_list_repliesC
List replies to a comment on a Google Drive file
Inputs: fileId (required), commentId (required), pageSize.
drive_modify_labelsA
Modify (add, update, remove) labels on a Google Drive file
Inputs: fileId (required), requests (required).
drive_moveB
Move a file to a different folder in Google Drive
Inputs: fileId (required), newParentId (required), removeFromCurrent.
drive_readB
Read the content of a file from Google Drive. Exports Google Docs/Sheets/Slides as text/csv.
Inputs: fileId (required).
drive_remove_permissionB
Remove a sharing permission from a file in Google Drive
Inputs: fileId (required), permissionId (required).
drive_resolve_access_proposalB
Approve or deny an access proposal on a file
Inputs: action (required), fileId (required), proposalId (required), role, +1 more.
drive_searchC
Search for files in Google Drive using a query string
Inputs: query (required), maxResults.
drive_stop_channelB
Stop receiving push notifications for a channel
Inputs: channelId (required), resourceId (required).
drive_trashB
Move a file to trash in Google Drive
Inputs: fileId (required).
drive_untrashB
Restore a file from trash in Google Drive
Inputs: fileId (required).
drive_update_commentB
Update the content of a comment on a Google Drive file
Inputs: fileId (required), content (required), commentId (required).
drive_update_fileC
Update file metadata and/or content in Google Drive
Inputs: fileId (required), name, content, description.
drive_update_permissionB
Update a permission on a Google Drive file (change role)
Inputs: role (required), fileId (required), permissionId (required).
drive_update_replyB
Update a reply to a comment on a Google Drive file
Inputs: fileId (required), content (required), replyId (required), commentId (required).
drive_update_revisionB
Update metadata of a revision (published, publishAuto, publishedOutsideDomain, keepForever)
Inputs: fileId (required), revisionId (required), published, keepForever, +2 more.
drive_upload_fileB
Upload a local file (binary or text) to Google Drive. Supports any file type.
Inputs: localPath (required), name, mimeType, parentId.
drive_watch_changesC
Subscribe to changes in Google Drive via push notifications
Inputs: channelId (required), pageToken (required), channelAddress (required), channelType, +1 more.
drive_watch_fileB
Subscribe to push notifications for changes to a specific Google Drive file
Inputs: fileId (required), channelId (required), channelAddress (required), channelType, +1 more.
gmail_batch_deleteA
Permanently delete multiple Gmail messages at once (cannot be undone)
Inputs: messageIds (required).
gmail_batch_modifyC
Modify labels on multiple Gmail messages at once
Inputs: messageIds (required), addLabelIds, removeLabelIds.
gmail_create_cse_identityB
Create a new CSE identity for sending encrypted mail
Inputs: emailAddress (required), primaryKeyPairId, signingKeyPairId, signAndEncryptKeyPairId.
gmail_create_cse_keypairA
Upload a new CSE key pair (PKCS#7 PEM-encoded public key chain + private key metadata)
Inputs: pem (required), kaclsUrl, hardwareKeyMetadata.
gmail_create_delegateB
Add a delegate to your Gmail account
Inputs: delegateEmail (required).
gmail_create_draftC
Create a Gmail draft
Inputs: to (required), body (required), subject (required), cc, +3 more.
gmail_create_filterB
Create a Gmail filter (automatic message rule)
Inputs: to, from, size, star, +11 more.
gmail_create_forwarding_addressA
Add a new forwarding address (sends verification email)
Inputs: forwardingEmail (required).
gmail_create_labelB
Create a new Gmail label
Inputs: name (required), textColor, backgroundColor, labelListVisibility, +1 more.
gmail_create_send_asB
Create a new send-as alias
Inputs: sendAsEmail (required), smtpHost, smtpPort, isDefault, +7 more.
gmail_deleteB
Permanently delete a Gmail message (cannot be undone)
Inputs: messageId (required).
gmail_delete_cse_identityB
Delete a CSE identity
Inputs: cseEmailAddress (required).
gmail_delete_delegateB
Remove a delegate from your Gmail account
Inputs: delegateEmail (required).
gmail_delete_draftB
Delete a Gmail draft
Inputs: draftId (required).
gmail_delete_filterB
Delete a Gmail filter
Inputs: filterId (required).
gmail_delete_forwarding_addressB
Remove a forwarding address
Inputs: forwardingEmail (required).
gmail_delete_labelC
Delete a Gmail label
Inputs: labelId (required).
gmail_delete_send_asA
Delete a send-as alias (cannot delete primary)
Inputs: sendAsEmail (required).
gmail_delete_smimeC
Delete an S/MIME configuration
Inputs: smimeId (required), sendAsEmail (required).
gmail_disable_cse_keypairA
Disable a CSE key pair (prevents signing and decryption, allows deletion after 30 days)
Inputs: keyPairId (required).
gmail_enable_cse_keypairA
Enable a previously disabled CSE key pair (restores signing and decryption)
Inputs: keyPairId (required).
gmail_forwardB
Forward a Gmail message to another recipient
Inputs: to (required), messageId (required), note.
gmail_get_attachmentA
Download a Gmail attachment to local filesystem
Inputs: filename (required), messageId (required), attachmentId (required), savePath.
gmail_get_auto_forwardingB
Get Gmail auto-forwarding settings
Inputs: no named parameters.
gmail_get_cse_identityB
Get a specific CSE identity by email address
Inputs: cseEmailAddress (required).
gmail_get_cse_keypairA
Get a specific CSE key pair by ID
Inputs: keyPairId (required).
gmail_get_delegateA
Get a specific delegate and their verification status
Inputs: delegateEmail (required).
gmail_get_draftB
Read a specific Gmail draft by ID
Inputs: draftId (required), format.
gmail_get_filterB
Get a specific Gmail filter by ID
Inputs: filterId (required).
gmail_get_forwarding_addressB
Get a specific forwarding address and its verification status
Inputs: forwardingEmail (required).
gmail_get_imapA
Get Gmail IMAP settings
Inputs: no named parameters.
gmail_get_labelB
Get detailed info for a specific Gmail label
Inputs: labelId (required).
gmail_get_languageA
Get Gmail display language setting
Inputs: no named parameters.
gmail_get_popB
Get Gmail POP3 settings
Inputs: no named parameters.
gmail_get_send_asC
Get details for a specific send-as alias
Inputs: sendAsEmail (required).
gmail_get_smimeA
Get a specific S/MIME configuration by ID
Inputs: smimeId (required), sendAsEmail (required).
gmail_get_threadB
Get all messages in a Gmail thread
Inputs: threadId (required), format, metadataHeaders.
gmail_get_vacationA
Get Gmail vacation/out-of-office auto-reply settings
Inputs: no named parameters.
gmail_import_messageA
Import a message into the mailbox with standard email processing (spam/virus scanning)
Inputs: raw (required), neverMarkSpam, internalDateSource, processForCalendar.
gmail_insert_messageB
Insert a message directly into the mailbox (like IMAP APPEND, no sending)
Inputs: raw (required), labelIds, internalDateSource.
gmail_insert_smimeB
Upload an S/MIME certificate (PKCS#12) for a send-as alias
Inputs: pkcs12 (required), sendAsEmail (required), isDefault, encryptedKeyPassword.
gmail_listC
List Gmail messages with optional label filter
Inputs: labelIds, pageToken, maxResults, includeSpamTrash.
gmail_list_cse_identitiesA
List client-side encryption (CSE) identities for the user
Inputs: pageSize, pageToken.
gmail_list_cse_keypairsB
List all CSE key pairs for the user
Inputs: pageSize, pageToken.
gmail_list_delegatesA
List Gmail delegates (users who can access your mailbox)
Inputs: no named parameters.
gmail_list_draftsC
List Gmail drafts
Inputs: query, pageToken, maxResults.
gmail_list_filtersA
List all Gmail filters (automatic message rules)
Inputs: no named parameters.
gmail_list_forwarding_addressesA
List all verified forwarding addresses
Inputs: no named parameters.
gmail_list_historyB
List mailbox change history starting from a given history ID (from profile or message)
Inputs: startHistoryId (required), labelId, pageToken, maxResults, +1 more.
gmail_list_labelsA
List all Gmail labels with message counts
Inputs: no named parameters.
gmail_list_send_asA
List Gmail send-as aliases (identities you can send from)
Inputs: no named parameters.
gmail_list_smimeA
List S/MIME configurations for a send-as alias
Inputs: sendAsEmail (required).
gmail_list_threadsB
List Gmail threads with optional search query
Inputs: query, labelIds, pageToken, maxResults, +1 more.
gmail_mark_readC
Mark a Gmail message as read
Inputs: messageId (required).
gmail_mark_unreadB
Mark a Gmail message as unread
Inputs: messageId (required).
gmail_modify_labelsB
Add or remove labels from a Gmail message
Inputs: messageId (required), addLabelIds, removeLabelIds.
gmail_obliterate_cse_keypairA
Permanently and irreversibly destroy a CSE key pair (no recovery possible)
Inputs: keyPairId (required).
gmail_patch_cse_identityC
Update a CSE identity to associate different key pairs
Inputs: emailAddress (required), primaryKeyPairId, signingKeyPairId, signAndEncryptKeyPairId.
gmail_profileA
Get Gmail profile info (email, messages total, threads total, history ID)
Inputs: no named parameters.
gmail_readB
Read a specific Gmail message by ID (returns full body text and attachment info)
Inputs: messageId (required), format, metadataHeaders.
gmail_replyA
Reply to a Gmail message (keeps thread)
Inputs: body (required), messageId (required), isHtml, replyAll.
gmail_searchA
Search Gmail messages using Gmail query syntax (e.g. "from:user@example.com subject:hello is:unread")
Inputs: query (required), pageToken, maxResults, includeSpamTrash.
gmail_sendB
Send a new Gmail email (plain text or HTML)
Inputs: to (required), body (required), subject (required), cc, +3 more.
gmail_send_draftC
Send an existing Gmail draft
Inputs: draftId (required).
gmail_set_default_smimeA
Set an S/MIME configuration as the default for a send-as alias
Inputs: smimeId (required), sendAsEmail (required).
gmail_stop_watchA
Stop receiving push notifications for the mailbox
Inputs: no named parameters.
gmail_thread_deleteA
Permanently delete an entire Gmail thread (cannot be undone)
Inputs: threadId (required).
gmail_thread_modifyB
Add or remove labels from an entire Gmail thread
Inputs: threadId (required), addLabelIds, removeLabelIds.
gmail_thread_trashB
Move an entire Gmail thread to trash
Inputs: threadId (required).
gmail_thread_untrashB
Remove an entire Gmail thread from trash
Inputs: threadId (required).
gmail_trashB
Move a Gmail message to trash
Inputs: messageId (required).
gmail_untrashB
Remove a Gmail message from trash
Inputs: messageId (required).
gmail_update_auto_forwardingC
Update Gmail auto-forwarding settings
Inputs: enabled (required), disposition, emailAddress.
gmail_update_draftB
Update an existing Gmail draft with new content
Inputs: to (required), body (required), draftId (required), subject (required), +3 more.
gmail_update_imapC
Update Gmail IMAP settings
Inputs: enabled (required), autoExpunge, maxFolderSize, expungeBehavior.
gmail_update_labelB
Update an existing Gmail label (name, visibility, color)
Inputs: labelId (required), name, textColor, backgroundColor, +2 more.
gmail_update_languageB
Update Gmail display language
Inputs: displayLanguage (required).
gmail_update_popC
Update Gmail POP3 settings
Inputs: accessWindow (required), disposition.
gmail_update_send_asB
Update an existing send-as alias
Inputs: sendAsEmail (required), isDefault, signature, displayName, +1 more.
gmail_update_vacationB
Update Gmail vacation/out-of-office auto-reply
Inputs: enableAutoReply (required), endTime, startTime, responseSubject, +4 more.
gmail_verify_send_asB
Send verification email for a send-as alias
Inputs: sendAsEmail (required).
gmail_watchA
Set up push notifications for mailbox changes (requires a Cloud Pub/Sub topic)
Inputs: topicName (required), labelIds, labelFilterBehavior.
sheets_appendB
Append rows to a Google Spreadsheet
Inputs: range (required), values (required), spreadsheetId (required).
sheets_batch_clearB
Clear multiple ranges in a Google Spreadsheet (spreadsheets.values.batchClear)
Inputs: ranges (required), spreadsheetId (required).
sheets_batch_clear_by_data_filterC
Clear values from a spreadsheet using data filters
Inputs: dataFilters (required), spreadsheetId (required).
sheets_batch_getB
Read multiple ranges at once from a Google Spreadsheet (spreadsheets.values.batchGet)
Inputs: ranges (required), spreadsheetId (required).
sheets_batch_get_by_data_filterB
Read multiple ranges from a spreadsheet using data filters
Inputs: dataFilters (required), spreadsheetId (required).
sheets_batch_updateB
Apply batch update requests to a Google Spreadsheet (formatting, add/delete sheets, merge cells, charts, conditional formatting, etc.)
Inputs: requests (required), spreadsheetId (required).
sheets_batch_update_valuesB
Write to multiple ranges at once in a Google Spreadsheet (spreadsheets.values.batchUpdate)
Inputs: data (required), spreadsheetId (required).
sheets_batch_update_values_by_data_filterC
Write values to a spreadsheet using data filters
Inputs: data (required), spreadsheetId (required), valueInputOption.
sheets_clearC
Clear values from a range in a Google Spreadsheet
Inputs: range (required), spreadsheetId (required).
sheets_copy_sheetB
Copy a sheet to another spreadsheet (spreadsheets.sheets.copyTo)
Inputs: sheetId (required), spreadsheetId (required), destinationSpreadsheetId (required).
sheets_createB
Create a new Google Spreadsheet
Inputs: title (required).
sheets_developer_metadata_getB
Get developer metadata by ID (spreadsheets.developerMetadata.get)
Inputs: metadataId (required), spreadsheetId (required).
sheets_developer_metadata_searchC
Search developer metadata (spreadsheets.developerMetadata.search)
Inputs: dataFilters (required), spreadsheetId (required).
sheets_get_by_data_filterC
Get spreadsheet filtered by data filter (spreadsheets.getByDataFilter)
Inputs: dataFilters (required), spreadsheetId (required).
sheets_get_infoA
Get spreadsheet metadata (title, sheets, dimensions)
Inputs: spreadsheetId (required).
sheets_readB
Read data from a Google Spreadsheet
Inputs: range (required), spreadsheetId (required).
sheets_writeC
Write data to a Google Spreadsheet
Inputs: range (required), values (required), spreadsheetId (required).
slides_add_slideA
Add a new slide to a Google Slides presentation
Inputs: presentationId (required), insertionIndex, predefinedLayout.
slides_batch_updateB
Apply batch update requests to a Google Slides presentation (text, images, shapes, formatting, etc.)
Inputs: requests (required), presentationId (required).
slides_createB
Create a new Google Slides presentation
Inputs: title (required), parentId.
slides_get_pageB
Get details of a specific page/slide in a Google Slides presentation
Inputs: pageObjectId (required), presentationId (required).
slides_get_thumbnailA
Generate a thumbnail image URL for a specific slide in a Google Slides presentation
Inputs: pageObjectId (required), presentationId (required), thumbnailSize.
slides_insert_textB
Insert text into a shape or text box on a Google Slides presentation
Inputs: text (required), objectId (required), presentationId (required), insertionIndex.
slides_readA
Read a Google Slides presentation and return text content of all slides
Inputs: presentationId (required).
slides_replace_all_textB
Find and replace text across all slides in a Google Slides presentation
Inputs: find (required), replace (required), presentationId (required), matchCase.
tasks_clearB
Clear all completed tasks from a task list (tasks.clear)
Inputs: taskListId (required).
tasks_completeA
Mark a Google Task as completed
Inputs: taskId (required), taskListId.
tasks_createB
Create a new Google Task
Inputs: title (required), due, notes, taskListId.
tasks_create_listB
Create a new Google Task list
Inputs: title (required).
tasks_deleteB
Delete a Google Task
Inputs: taskId (required), taskListId.
tasks_delete_listB
Delete a Google Task list
Inputs: taskListId (required).
tasks_getB
Get a specific Google Task (tasks.get)
Inputs: taskId (required), taskListId (required).
tasks_get_listB
Get a specific Google Task list (tasklists.get)
Inputs: taskListId (required).
tasks_listA
List all Google Task lists
Inputs: no named parameters.
tasks_list_tasksB
List tasks in a specific task list
Inputs: taskListId, showCompleted.
tasks_moveC
Move or reorder a Google Task
Inputs: taskId (required), parent, previous, taskListId.
tasks_updateC
Update a Google Task
Inputs: taskId (required), due, notes, title, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 240 tools
Most tools pair a service prefix with a specific resource and action, and the descriptions are detailed enough to separate lookalikes like gmail_trash/gmail_delete or drive_read/drive_export_file. A few pairs remain easy to confuse without reading descriptions, such as tasks_list vs tasks_list_tasks and sheets_batch_update vs sheets_batch_update_values, so it is not perfect.
Naming follows a predictable lowercase snake_case `<service>_<verb>_<noun>` pattern across Drive, Calendar, Gmail, Contacts, Tasks, Sheets, Docs, and Slides. The pattern is mostly consistent and readable, though a few names like gmail_profile and drive_about are non-verb deviations, and tasks_list vs tasks_list_tasks reads awkwardly.
240 tools is far beyond a practical MCP tool surface and creates an enormous selection problem for an agent. Even though the tools map to real Google APIs, a server with 50+ tools is inherently overwhelming and should be split into per-service servers.
Within the included services, coverage is deep: there are CRUD/lifecycle operations for files, calendar events, Gmail messages, contacts, tasks, spreadsheets, docs, and slides, plus permissions, settings, watch channels, drafts, labels, and batch operations. Minor gaps remain, such as no task list update, no direct Docs/Slides delete, and no Chat/Meet/Forms coverage, so it is strong but not exhaustive for all of Google Workspace.
Maintenance
Related MCP Connectors
Provides tools for searching Google Workspace documentation and much more.
Connect an AI assistant to your Google Sheets, Drive, Docs, PDFs, BigQuery and Gmail.
Use your apps from your AI: Gmail, Slack, Google Sheets, HubSpot and 2,300+ more on your accounts.
Gmail, Outlook, Drive, OneDrive and calendars for AI agents. Many accounts, one endpoint, audit log.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides comprehensive natural language control over Google Workspace services including Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, and Chat. Features multi-user OAuth 2.1 support, flexible tool tiers, and seamless integration with AI assistants.843MIT
- FlicenseNot gradedqualityCmaintenanceProvides AI assistants with access to Google Workspace APIs including Sheets, Calendar, Gmail, Tasks, Drive, and Docs. Enables full CRUD operations and management of Google services through natural language.1-
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive programmatic control over Google Workspace applications including Sheets, Docs, Drive, Gmail, Calendar, and Slides with 141 tools for automation and management.522 npm3Elastic 2.0
- AlicenseNot gradedqualityDmaintenanceEnables natural language control over Google Workspace (Gmail, Drive, Calendar, Sheets, Slides, Tasks) through secure OAuth 2.1 authentication, with vault-level security and multi-user isolation.7-