Connects Claude to Gmail via OAuth to send, read, search, and list emails programmatically. Exposes four tools: gmail_send for composing messages with CC/BCC support, gmail_search using native Gmail query syntax, gmail_read for fetching full message content by ID, and gmail_list for pulling recent inbox items with optional label filtering. Requires Google Cloud OAuth credentials and a refresh token. Built by Strider Labs for agent workflows like email triage, searching conversation history to answer questions, and drafting replies based on context from past threads. Returns structured JSON responses for all operations.
Public tool metadata for what this MCP can expose to an agent.
GMAIL_ADD_LABEL_TO_EMAILAdds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).4 paramsAdds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).
user_idstringmessage_idstringadd_label_idsarrayremove_label_idsarrayGMAIL_CREATE_EMAIL_DRAFTCreates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.10 paramsCreates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.
ccarraybccarraybodystringis_htmlbooleansubjectstringuser_idstringthread_idstringattachmentobjectrecipient_emailstringextra_recipientsarrayGMAIL_CREATE_LABELCreates a new label with a unique name in the specified user's gmail account.6 paramsCreates a new label with a unique name in the specified user's gmail account.
user_idstringlabel_namestringtext_colorstringbackground_colorstringlabel_list_visibilitystringmessage_list_visibilitystringGMAIL_DELETE_DRAFTPermanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.2 paramsPermanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.
user_idstringdraft_idstringGMAIL_DELETE_MESSAGEPermanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.2 paramsPermanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.
user_idstringmessage_idstringGMAIL_FETCH_EMAILSFetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.9 paramsFetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
querystringuser_idstringverbosebooleanids_onlybooleanlabel_idsarraypage_tokenstringmax_resultsintegerinclude_payloadbooleaninclude_spam_trashbooleanGMAIL_FETCH_MESSAGE_BY_MESSAGE_IDFetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.3 paramsFetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.
formatstringuser_idstringmessage_idstringGMAIL_FETCH_MESSAGE_BY_THREAD_IDRetrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.3 paramsRetrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.
user_idstringthread_idstringpage_tokenstringGMAIL_GET_ATTACHMENTRetrieves a specific attachment by id from a message in a user's gmail mailbox, requiring valid message and attachment ids.4 paramsRetrieves a specific attachment by id from a message in a user's gmail mailbox, requiring valid message and attachment ids.
user_idstringfile_namestringmessage_idstringattachment_idstringGMAIL_GET_CONTACTSFetches contacts (connections) for the authenticated google account, allowing selection of specific data fields and pagination.4 paramsFetches contacts (connections) for the authenticated google account, allowing selection of specific data fields and pagination.
page_tokenstringperson_fieldsstringresource_namestringinclude_other_contactsbooleanGMAIL_GET_PEOPLERetrieves either a specific person's details (using `resource name`) or lists 'other contacts' (if `other contacts` is true), with `person fields` specifying the data to return.6 paramsRetrieves either a specific person's details (using `resource name`) or lists 'other contacts' (if `other contacts` is true), with `person fields` specifying the data to return.
page_sizeintegerpage_tokenstringsync_tokenstringperson_fieldsstringresource_namestringother_contactsbooleanGMAIL_GET_PROFILERetrieves key gmail profile information (email address, message/thread totals, history id) for a user.1 paramsRetrieves key gmail profile information (email address, message/thread totals, history id) for a user.
user_idstringGMAIL_LIST_DRAFTSRetrieves a paginated list of email drafts from a user's gmail account. use verbose=true to get full draft details including subject, body, sender, and timestamp.4 paramsRetrieves a paginated list of email drafts from a user's gmail account. use verbose=true to get full draft details including subject, body, sender, and timestamp.
user_idstringverbosebooleanpage_tokenstringmax_resultsintegerGMAIL_LIST_LABELSRetrieves a list of all system and user-created labels for the specified gmail account.1 paramsRetrieves a list of all system and user-created labels for the specified gmail account.
user_idstringGMAIL_LIST_THREADSRetrieves a list of email threads from a gmail account, identified by `user id` (email address or 'me'), supporting filtering and pagination.5 paramsRetrieves a list of email threads from a gmail account, identified by `user id` (email address or 'me'), supporting filtering and pagination.
querystringuser_idstringverbosebooleanpage_tokenstringmax_resultsintegerGMAIL_MODIFY_THREAD_LABELSAdds or removes specified existing label ids from a gmail thread, affecting all its messages; ensure the thread id is valid.4 paramsAdds or removes specified existing label ids from a gmail thread, affecting all its messages; ensure the thread id is valid.
user_idstringthread_idstringadd_label_idsarrayremove_label_idsarrayGMAIL_MOVE_TO_TRASHMoves an existing, non-deleted email message to the trash for the specified user.2 paramsMoves an existing, non-deleted email message to the trash for the specified user.
user_idstringmessage_idstringGMAIL_PATCH_LABELPatches the specified label.6 paramsPatches the specified label.
idstringnamestringcolorobjectuserIdstringlabelListVisibilitystringmessageListVisibilitystringGMAIL_REMOVE_LABELPermanently deletes a specific, existing user-created gmail label by its id for a user; cannot delete system labels.2 paramsPermanently deletes a specific, existing user-created gmail label by its id for a user; cannot delete system labels.
user_idstringlabel_idstringGMAIL_REPLY_TO_THREADSends a reply within a specific gmail thread using the original thread's subject, requiring a valid `thread id` and correctly formatted email addresses. supports attachments via the `attachment` parameter with valid `s3key`, `mimetype`, and `name`.9 paramsSends a reply within a specific gmail thread using the original thread's subject, requiring a valid `thread id` and correctly formatted email addresses. supports attachments via the `attachment` parameter with valid `s3key`, `mimetype`, and `name`.
ccarraybccarrayis_htmlbooleanuser_idstringthread_idstringattachmentobjectmessage_bodystringrecipient_emailstringextra_recipientsarrayMCP server that gives AI agents the ability to send, read, and search email via Gmail.
Agents use this connector to handle email autonomously on behalf of their human — reading important messages, searching for information, composing thoughtful replies, and sending communications.
Example agent workflows:
Usage example:
User: "Has anyone replied to my email about the Q2 budget proposal?"
Agent:
gmail_search → "to:me subject:budget"gmail_read → Read each messageThen agent might automatically draft a follow-up to Finance and ask for approval before sending.
npx @striderlabs/mcp-gmail
Add to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": {
"strider-gmail": {
"command": "npx",
"args": ["-y", "@striderlabs/mcp-gmail"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id",
"GOOGLE_CLIENT_SECRET": "your-client-secret",
"GOOGLE_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}
Send an email from the user's Gmail account.
Parameters:
to (required): Recipient email addresssubject (required): Email subject linebody (required): Email body contentcc (optional): CC recipientsbcc (optional): BCC recipientsSearch emails using Gmail search syntax.
Parameters:
query (required): Gmail search query (e.g., "from:example@gmail.com")maxResults (optional): Maximum results (default: 10)Read the full content of a specific email.
Parameters:
messageId (required): The Gmail message IDList recent emails from the inbox.
Parameters:
maxResults (optional): Maximum emails to list (default: 10)label (optional): Filter by label (e.g., "INBOX", "UNREAD")All tools return structured JSON:
{
"success": true,
"messageId": "...",
"message": "Email sent successfully"
}
Strider Labs builds action execution infrastructure for AI agents.
MIT
GOOGLE_CLIENT_ID*Google OAuth 2.0 Client ID from Google Cloud Console
GOOGLE_CLIENT_SECRET*secretGoogle OAuth 2.0 Client Secret
GOOGLE_REFRESH_TOKEN*secretGoogle OAuth 2.0 Refresh Token for the user's Gmail account
io.github.mindstone/mcp-server-microsoft-teams
com.mintmcp/outlook-email
helbertparanhos/resend-email-mcp
marlinjai/email-mcp
io.github.mindstone/mcp-server-email-imap
io.github.osamahassouna/email-playbook-mcp