Gmail-mcp-server

Gmail-mcp-server

3.3

If you are the rightful owner of Gmail-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A resilient MCP server built with fastMCP for sending emails through Gmail's SMTP server using AI agents.

The Gmail MCP Server is a robust implementation of a Model Context Protocol (MCP) server using fastMCP, designed to facilitate email sending via Gmail's SMTP server. It supports multiple methods for file attachments, including direct file paths, URL-based downloads, and pre-staged attachments. The server is built with resilience in mind, featuring increased timeout settings and graceful shutdown handling. It allows for secure management of Gmail credentials through environment variables, ensuring a secure and efficient email sending process. The server is compatible with Python 3.x and requires additional libraries such as fastMCP, python-dotenv, and requests. It can be easily set up and configured to run on local machines, making it accessible for various MCP clients or agents.

Features

  • Gmail SMTP Integration: Sends emails using Gmail’s SMTP server with TLS.
  • Multiple Attachment Methods: Supports direct file paths, URL-based downloads, and pre-staged attachments.
  • Resilient Design: Features increased timeout and signal handling for graceful shutdown.
  • Environment-Based Configuration: Securely manage Gmail credentials using environment variables.