gmail-mcp

gmail-mcp

2

Gmail MCP is a server implementation designed for AI assistants to interact with Gmail using the Model Context Protocol. It includes features such as sending emails, managing drafts, searching inboxes, and managing labels, with authentication via OAuth2.0.

Overview

Gmail MCP is a server implementation that enables AI assistants to interact with Gmail through the Model Context Protocol (MCP). It offers functionality for sending emails, managing drafts, reading emails, searching through the inbox, and handling Gmail labels.

Features

  • Send emails and create drafts
  • Read and search emails
  • Delete emails
  • Manage Gmail labels (create, update, delete)
  • OAuth2.0 authentication with Gmail API

Prerequisites

  • Python 3.11 or higher
  • Gmail account
  • Google Cloud Platform project with Gmail API enabled
  • Python package installer uv

Usage

The server is compatible with any MCP-compatible client. Upon the first run, authentication with a Gmail account is required.

License

This project is licensed under the MIT License.