gmail-mcp

gmail-mcp

11

Gmail MCP is a Model Context Protocol (MCP) implementation for the Gmail API, designed to provide an interface for comprehensive email management, including sending, retrieving, and managing messages and settings. It supports secure OAuth2 authentication and can be set up for both local and remote server configurations.

Gmail MCP

A Model Context Protocol (MCP) implementation for the Gmail API, providing a standardized interface for email management, sending, and retrieval.

Features

  • Full Gmail API coverage: messages, threads, labels, drafts, settings
  • Supports sending, drafting, managing emails
  • Label management with color and visibility settings
  • Thread operations, settings management, history tracking
  • Secure OAuth2 authentication using Google credentials

Prerequisites

  • Google API Client setup required per organization
  • Each user needs to retrieve their own OAuth refresh token

Configuration

  • Various options for server setup: Smithery CLI, Smithery SDK, NPX Local Install, Build from Source

Supported Endpoints

  • User, Message, Label, Thread, and Draft Management
  • Auto-Forwarding, IMAP, POP, Vacation Responder, Language, Delegates, Filters, Forwarding Addresses, Send-As Settings, and S/MIME Settings Management

Contributing

Contributions are welcome. Please see the contributing guide for more details.