Google Workspace MCP Server

v0.5.0
io.github.conorbronsdon/gws-mcp-server Checked 3 hours ago Published 13 days ago

67 curated MCP tools for Google Workspace: Gmail, Calendar, Drive, Sheets, Docs, Slides, Tasks.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

drive_files_list

List files in Google Drive. Supports search queries via the 'q' parameter. Shared drive files are included automatically.

ParameterTypeDescription
fieldsstringFields to include (e.g. "files(id,name,mimeType)")
orderBystringSort order (e.g. "modifiedTime desc")
pageSizenumberMax results per page (1-1000, default 100)
qstringSearch query (e.g. "name contains 'report'" or "mimeType='application/vnd.google-apps.folder'")

drive_files_get

Get a file's metadata by ID. Shared drive files are supported automatically.

ParameterTypeDescription
fileId *stringThe file ID
fieldsstringFields to include

drive_files_create

Create a new file in Google Drive. Use with bodyParams for metadata and optionally upload a local file.

ParameterTypeDescription
name *stringFile name
fieldsstringFields to return (e.g. "id,webViewLink")
mimeTypestringMIME type (e.g. "application/vnd.google-apps.document")
parentsstringParent folder IDs (JSON array as string, e.g. '["folderId"]')
uploadPathstringLocal file path to upload

drive_files_copy

Copy a file. Useful for converting formats (e.g. markdown to Google Doc).

ParameterTypeDescription
fileId *stringSource file ID to copy
name *stringName for the copy
fieldsstringFields to return
mimeTypestringTarget MIME type for conversion
parentsstringParent folder IDs (JSON array as string)

drive_files_update

Update a file's metadata or content.

ParameterTypeDescription
fileId *stringThe file ID to update
fieldsstringFields to return
mimeTypestringNew MIME type
namestringNew file name
uploadPathstringLocal file path to upload

drive_files_delete

Permanently delete a file.

ParameterTypeDescription
fileId *stringThe file ID to delete

drive_files_export

Export a Google Workspace file (Doc, Sheet, Slide) to a specific format. Returns JSON with export metadata. Use drive_files_download for automatic export with content returned inline.

ParameterTypeDescription
fileId *stringThe Google Workspace file ID to export
mimeType *stringExport format: text/plain, text/csv, application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document (docx), application/vnd.openxmlformats-officedocument.spreadsheetml.sheet…

drive_permissions_create

Share a file by creating a permission.

ParameterTypeDescription
fileId *stringThe file ID to share
role *stringPermission role: owner, organizer, fileOrganizer, writer, commenter, reader
type *stringGrantee type: user, group, domain, anyone
emailAddressstringEmail of user/group (required for user/group type)

drive_permissions_list

List all permissions on a file. Use to audit sharing state — e.g. a permission with type "anyone" means the file is publicly accessible; there is no separate is-public field. Pass fields (e.g. "permissions(id,type,role,emailAddress,domain)") to identify grantees — the default response omits emailAddress/domain.

ParameterTypeDescription
fileId *stringThe file to list permissions for
fieldsstringFields to include (e.g. "permissions(id,type,role,emailAddress,domain)")
pageSizenumberMax permissions to return
pageTokenstringPage token from a previous call

drive_permissions_update

Change an existing permission's role on a file (e.g. reader to writer). Can remove capabilities by downgrading a role. Ownership transfers are not supported. Per the Drive API: concurrent permissions operations on the same file aren't supported, only the last update is applied.

ParameterTypeDescription
fileId *stringThe file the permission belongs to
permissionId *stringThe permission to update (get it from drive_permissions_list)
role *stringNew non-owner role
fieldsstringFields to return (e.g. "id,role,type,emailAddress")

drive_permissions_delete

Revoke a permission from a file, removing that user's/group's/domain's access. Per the Drive API: concurrent permissions operations on the same file aren't supported, only the last update is applied.

ParameterTypeDescription
fileId *stringThe file the permission belongs to
permissionId *stringThe permission to revoke (get it from drive_permissions_list)

drive_comments_list

List comments on a file.

ParameterTypeDescription
fields *stringFields to include (required by the API for this resource, e.g. "comments(id,content,author,resolved),nextPageToken")
fileId *stringThe file to list comments for
includeDeletedbooleanWhether to include deleted comments (they have no content)
pageSizenumberMax comments to return (default 20)
pageTokenstringPage token from a previous call
startModifiedTimestringOnly return comments modified at or after this time (RFC 3339)

drive_comments_get

Get a single comment on a file.

ParameterTypeDescription
commentId *stringThe comment to retrieve
fields *stringFields to include (required by the API for this resource, e.g. "id,content,author,resolved,replies")
fileId *stringThe file the comment belongs to
includeDeletedbooleanWhether to return the comment if it has been deleted (it will have no content)

drive_comments_create

Add a comment to a file. Set anchor to bind it to an app-defined region — Drive stores this as an opaque JSON string you define yourself, and does not validate or interpret it. Google Workspace editor apps (Docs/Sheets/Slides) still display comments created this way as unanchored; use the Docs/Sheets/Slides APIs directly if visual anchoring in those editors matters.

ParameterTypeDescription
content *stringComment text
fields *stringFields to include in the response (required by the API for this resource, e.g. "id,content,createdTime")
fileId *stringThe file to comment on
anchorstringApp-defined region JSON string, optional (e.g. '{"line":10}')

drive_comments_update

Change the text of an existing comment. This overwrites the comment's content; the previous text is not retained. Only the comment's own author can update it — the API rejects the request otherwise. The resolved state can't be changed here: see drive_replies_create's action field.

ParameterTypeDescription
commentId *stringThe comment to update
content *stringNew comment text
fields *stringFields to include in the response (required by the API for this resource, e.g. "id,content,modifiedTime")
fileId *stringThe file the comment belongs to

drive_comments_delete

Permanently delete a comment. Only the comment's own author can delete it — the API rejects the request otherwise.

ParameterTypeDescription
commentId *stringThe comment to delete
fileId *stringThe file the comment belongs to

drive_replies_list

List replies to a comment.

ParameterTypeDescription
commentId *stringThe comment to list replies for
fileId *stringThe file the comment belongs to
fieldsstringFields to include (e.g. "replies(id,content,action),nextPageToken")
includeDeletedbooleanWhether to include deleted replies (they have no content)
pageSizenumberMax replies to return (default 20)
pageTokenstringPage token from a previous call

drive_replies_get

Get a single reply to a comment.

ParameterTypeDescription
commentId *stringThe parent comment
fileId *stringThe file the comment belongs to
replyId *stringThe reply to retrieve
fieldsstringFields to include (e.g. "id,content,action")
includeDeletedbooleanWhether to return the reply if it has been deleted (it will have no content)

drive_replies_create

Add a reply to a comment, or resolve/reopen it — a comment can only be resolved or reopened by posting a reply with action set. content is required unless action is set; combine both to leave closing/reopening text. Setting action changes the parent comment's resolved field, but resolving is advisory only: the API keeps accepting further replies and doesn't hide anything itself, it's on the client to act on resolved being true (e.g. hide or dim the thread).

ParameterTypeDescription
commentId *stringThe comment to reply to
fileId *stringThe file the comment belongs to
actionstringSet to change the parent comment's resolved state instead of (or alongside) replying with text
contentstringReply text. Required if action is not set
fieldsstringFields to include (e.g. "id,content,action")

drive_replies_update

Change the text of an existing reply. This overwrites the reply's content; the previous text is not retained. Only the reply's own author can update it — the API rejects the request otherwise. Does not support changing action — use drive_replies_create to resolve/reopen.

ParameterTypeDescription
commentId *stringThe parent comment
content *stringNew reply text
fileId *stringThe file the comment belongs to
replyId *stringThe reply to update
fieldsstringFields to include (e.g. "id,content,modifiedTime")

drive_replies_delete

Permanently delete a reply. Only the reply's own author can delete it — the API rejects the request otherwise.

ParameterTypeDescription
commentId *stringThe parent comment
fileId *stringThe file the comment belongs to
replyId *stringThe reply to delete

sheets_get

Get spreadsheet metadata.

ParameterTypeDescription
spreadsheetId *stringThe spreadsheet ID
includeGridDatabooleanInclude grid data

sheets_values_get

Read values from a spreadsheet range.

ParameterTypeDescription
range *stringA1 notation range (e.g. "Sheet1!A1:D10")
spreadsheetId *stringThe spreadsheet ID
majorDimensionstringROWS or COLUMNS
valueRenderOptionstringFORMATTED_VALUE, UNFORMATTED_VALUE, or FORMULA

sheets_values_update

Write values to a spreadsheet range.

ParameterTypeDescription
range *stringA1 notation range to write
spreadsheetId *stringThe spreadsheet ID
valueInputOption *stringRAW or USER_ENTERED
values *string2D array of values as JSON string (e.g. '[["A","B"],["C","D"]]')

sheets_values_append

Append values after the last row of a spreadsheet range.

ParameterTypeDescription
range *stringA1 notation range to append to
spreadsheetId *stringThe spreadsheet ID
valueInputOption *stringRAW or USER_ENTERED
values *string2D array of values as JSON string

sheets_batchUpdate

Apply updates to a spreadsheet (conditional formatting, cell/border formatting, adding sheets, and more). Can also permanently delete content — e.g. removing a sheet or a conditional formatting rule — with no undo via the API.

ParameterTypeDescription
requests *stringArray of update requests as JSON string
spreadsheetId *stringThe spreadsheet ID

calendar_events_list

List events from a calendar.

ParameterTypeDescription
calendarId *stringCalendar ID (use 'primary' for main calendar)
maxResultsnumberMax events to return
orderBystringSort order: startTime or updated
qstringFree-text search
singleEventsbooleanExpand recurring events (usually true)
timeMaxstringUpper bound (RFC3339)
timeMinstringLower bound (RFC3339, e.g. "2026-03-07T00:00:00Z")

calendar_events_get

Get a single calendar event by ID.

ParameterTypeDescription
calendarId *stringCalendar ID
eventId *stringEvent ID

calendar_events_insert

Create a new calendar event.

ParameterTypeDescription
calendarId *stringCalendar ID
end *stringEnd time JSON
start *stringStart time JSON (e.g. '{"dateTime":"2026-03-10T10:00:00-07:00"}')
summary *stringEvent title
attendeesstringAttendees (JSON array as string, e.g. '[{"email":"a@x.com"},{"email":"b@x.com","optional":true}]')
descriptionstringEvent description
locationstringEvent location
sendUpdatesstringSends invitation email to attendees when set: "all", "externalOnly", or "none" (default: none — no email, though the event may still appear on an attendee's calendar depending on their settings)

calendar_events_update

Update an existing calendar event with patch semantics (only supplied fields change).

ParameterTypeDescription
calendarId *stringCalendar ID
eventId *stringEvent ID to update
attendeesstringREPLACES the full attendee list — Google's patch overwrites array fields, so include everyone who should remain; anyone omitted is uninvited. JSON array as string, e.g. '[{"email":"a@x.com"},{"email…
descriptionstringEvent description
endstringEnd time JSON
sendUpdatesstringSends update email to attendees when set: "all", "externalOnly", or "none" (default: none — no email). With "all" or "externalOnly", attendees removed by this update receive a cancellation email
startstringStart time JSON
summarystringEvent title

calendar_events_delete

Delete a calendar event.

ParameterTypeDescription
calendarId *stringCalendar ID
eventId *stringEvent ID to delete

calendar_freebusy_query

Query free/busy information for one or more calendars over a time range.

ParameterTypeDescription
items *stringCalendars/groups to query, as JSON array string, e.g. '[{"id":"primary"}]'
timeMax *stringEnd of the interval, RFC3339 timestamp
timeMin *stringStart of the interval, RFC3339 timestamp (e.g. "2026-03-10T00:00:00Z")
timeZonestringIANA time zone for the response (e.g. "America/Los_Angeles")

docs_get

Get a Google Doc's content and metadata.

ParameterTypeDescription
documentId *stringThe document ID

docs_create

Create a new empty Google Doc.

ParameterTypeDescription
title *stringDocument title

docs_batchUpdate

Apply updates to a Google Doc (insert, format, replace, or permanently delete content).

ParameterTypeDescription
documentId *stringThe document ID
requests *stringArray of update requests as JSON string

slides_get

Get a presentation's slides, layouts, masters, and page elements.

ParameterTypeDescription
presentationId *stringThe presentation ID

slides_create

Create a new blank presentation.

ParameterTypeDescription
title *stringPresentation title

slides_batchUpdate

Apply updates to a presentation (insert/update/delete slides, text, shapes, tables, etc). Delete requests in a batch are permanent — the API has no undo.

ParameterTypeDescription
presentationId *stringThe presentation ID
requests *stringArray of update requests as JSON string

slides_pages_get

Get a single page (slide, layout, or master) from a presentation.

ParameterTypeDescription
pageObjectId *stringThe object ID of the page (slide, layout, or master) to retrieve
presentationId *stringThe presentation ID

slides_pages_getThumbnail

Get a thumbnail image URL for a page (slide, layout, or master).

ParameterTypeDescription
pageObjectId *stringThe object ID of the page to render
presentationId *stringThe presentation ID
thumbnailProperties.mimeTypestringThumbnail image format (PNG is the only supported value)
thumbnailProperties.thumbnailSizestringThumbnail size: THUMBNAIL_SIZE_UNSPECIFIED, LARGE, MEDIUM, SMALL, or WIDTH2000_PX

gmail_messages_list

List Gmail messages matching a query.

ParameterTypeDescription
userId *stringUser ID (use 'me')
labelIdsstringLabel IDs to filter by
maxResultsnumberMax messages to return
qstringGmail search query (e.g. "from:user@example.com subject:hello")

gmail_messages_get

Get a single Gmail message by ID.

ParameterTypeDescription
id *stringMessage ID
userId *stringUser ID (use 'me')
formatstringResponse format: full, metadata, minimal, raw

gmail_threads_list

List Gmail threads matching a query.

ParameterTypeDescription
userId *stringUser ID (use 'me')
maxResultsnumberMax threads to return
qstringGmail search query

gmail_threads_get

Get a full Gmail thread by ID (all messages in the conversation).

ParameterTypeDescription
id *stringThread ID
userId *stringUser ID (use 'me')
formatstringResponse format: full, metadata, minimal

gmail_threads_modify

Modify a Gmail thread: add/remove labels. To archive, remove INBOX. To mark read, remove UNREAD. To star, add STARRED.

ParameterTypeDescription
id *stringThread ID
userId *stringUser ID (use 'me')
addLabelIdsstringJSON array of label IDs to add, e.g. ["STARRED"]
removeLabelIdsstringJSON array of label IDs to remove, e.g. ["INBOX","UNREAD"]

tasks_tasklists_list

List the authenticated user's task lists.

ParameterTypeDescription
maxResultsnumberMax task lists per page (1-100, default 20)
pageTokenstringToken for the next page of results

tasks_tasklists_get

Get a task list by ID.

ParameterTypeDescription
tasklist *stringTask list ID (use "@default" for the user's default list)

tasks_tasklists_insert

Create a new task list.

ParameterTypeDescription
title *stringTask list title

tasks_tasklists_update

Update a task list (only supplied fields change).

ParameterTypeDescription
tasklist *stringTask list ID to update
titlestringNew task list title

tasks_tasklists_delete

Delete a task list. If it contains assigned tasks, the originals (in Docs/Chat Spaces) are also removed.

ParameterTypeDescription
tasklist *stringTask list ID to delete

tasks_tasks_list

List tasks in a task list. Excludes hidden and assigned tasks by default; set showHidden/showAssigned to include them.

ParameterTypeDescription
tasklist *stringTask list ID (use "@default" for the default list)
completedMaxstringUpper bound on completion date (RFC 3339)
completedMinstringLower bound on completion date (RFC 3339)
dueMaxstringUpper bound on due date (RFC 3339)
dueMinstringLower bound on due date (RFC 3339)
maxResultsnumberMax tasks per page (1-100, default 20)
pageTokenstringToken for the next page of results
showAssignedbooleanInclude tasks assigned from Docs/Chat Spaces
showCompletedbooleanInclude completed tasks (default true; ignored unless showHidden is also true)
showDeletedbooleanInclude deleted tasks
showHiddenbooleanInclude hidden (cleared) tasks
updatedMinstringLower bound on last-modified time (RFC 3339)

tasks_tasks_get

Get a task by ID.

ParameterTypeDescription
task *stringTask ID
tasklist *stringTask list ID

tasks_tasks_insert

Create a new task. Use parent to nest as a subtask, previous to position after a sibling.

ParameterTypeDescription
tasklist *stringTask list ID to insert into
title *stringTask title
duestringDue date (RFC 3339, e.g. "2026-06-01T00:00:00.000Z")
notesstringFree-text notes / body
parentstringParent task ID (insert as a subtask under this task)
previousstringSibling task ID (insert immediately after this task)
statusstringTask status: needsAction or completed

tasks_tasks_update

Update a task (only supplied fields change). Common use: complete a task by setting status to "completed".

ParameterTypeDescription
task *stringTask ID to update
tasklist *stringTask list ID
duestringDue date (RFC 3339)
notesstringFree-text notes / body
statusstringTask status: needsAction or completed
titlestringTask title

tasks_tasks_move

Move a task within its list or to another list. Use parent/previous to set position; destinationTasklist to change list.

ParameterTypeDescription
task *stringTask ID to move
tasklist *stringSource task list ID
destinationTaskliststringDestination task list ID (omit to move within the source list)
parentstringNew parent task ID (move as subtask under this task)
previousstringNew sibling task ID (move immediately after this task)

tasks_tasks_delete

Delete a task. If assigned from Docs/Chat Spaces, the original is also removed.

ParameterTypeDescription
task *stringTask ID to delete
tasklist *stringTask list ID

tasks_tasks_clear

Hide all completed tasks in a list. Cleared tasks are not deleted but stop appearing in default list responses.

ParameterTypeDescription
tasklist *stringTask list ID to clear

drive_files_download

Download a file's content from Google Drive. Returns the text content for text files, or a base64-encoded string for binary files. For Google Docs/Sheets/Slides, exports to a readable format (plain text by default).

ParameterTypeDescription
fileId *stringThe file ID to download
exportMimeTypestringFor Google-native files (Docs/Sheets/Slides): export format. Defaults to text/plain for Docs, text/csv for Sheets. Examples: text/plain, text/csv, application/pdf
savePathstringFor binary files (images, PDFs): save to this local path instead of returning content inline. The file path is returned in the response.

gmail_drafts_create

Create a Gmail draft. Pass threadId to attach the draft to an existing conversation (it will appear as a reply within that thread). The draft is NOT sent — open Gmail to review and send.

ParameterTypeDescription
to *stringRecipient(s). Comma-separated for multiple, e.g. "a@x.com, b@y.com"
bccstringBCC recipient(s), comma-separated
bodystringPlain-text body
ccstringCC recipient(s), comma-separated
htmlBodystringHTML body. If both body and htmlBody are provided, the draft is multipart/alternative.
inReplyTostringMessage-ID header value of the message being replied to. Improves threading robustness alongside threadId.
referencesstringReferences header value (space-separated Message-IDs of ancestor messages).
subjectstringSubject line. When attaching to a thread via threadId, Gmail expects the subject to match the thread (typically "Re: <original>").
threadIdstringThread ID to attach this draft to. Get it from gmail_threads_list / gmail_messages_get.

drive_permissions_transferOwnership

Immediately transfer ownership of a file to another Google Workspace account in the SAME organization. The current owner is downgraded to writer as soon as this call succeeds — there is no separate acceptance step — and Google sends the new owner a notification email that cannot be disabled. Only works for files in "My Drive"; not supported for files in a shared drive, since the organization owns those, not an individual. For a transfer between personal/consumer Google accounts, use drive_permissions_proposeOwnershipTransfer instead, which requires the recipient's separate acceptance and d…

ParameterTypeDescription
emailAddress *stringEmail address of the new owner, in the same Workspace organization
fileId *stringThe file to transfer (must be in "My Drive", not a shared drive)
fieldsstringFields to return (e.g. "id,role,type,emailAddress")
moveToNewOwnersRootbooleanIf true, moves the file to the new owner's My Drive root and removes prior parents

drive_permissions_proposeOwnershipTransfer

Propose transferring ownership of a file between personal/consumer Google accounts (use drive_permissions_transferOwnership instead for a same-organization Workspace transfer, which completes immediately). Google Workspace ownership cannot be transferred to an account outside the organization. This does NOT transfer ownership by itself: it sets role=writer + pendingOwner=true, and the prospective owner must separately accept by setting role=owner + transferOwnership=true on their own permission, under their own credentials. Google sends the recipient a notification email that cannot be disable…

ParameterTypeDescription
emailAddress *stringEmail address of the prospective new owner (an individual user)
fileId *stringThe file to propose transferring
fieldsstringFields to return (e.g. "id,role,type,pendingOwner")