Gmail MCP Server
Send emails with attachments through Gmail's SMTP server using AI agents.
Gmail-mcp-server
A resilient MCP server built with fastMCP for sending emails through Gmail's SMTP server using AI agents.
Features
- Send emails via Gmail SMTP
- Fetch recent emails from Gmail folders
- Handle email attachments
- Health check endpoint for deployment monitoring
Deployment on Smithery.ai
This server is configured for deployment on Smithery.ai using Streamable HTTP transport.
Configuration
The server requires the following configuration parameters:
smtp_username: Your Gmail email addresssmtp_password: Your Gmail app password (not your regular password)
Health Check
The server provides a health check endpoint at /health for Smithery deployment monitoring.
CLAUDE CONFIG EXAMPLE
{
"mcpServers": {
"terminal_server": {
"command": "/Users/maitreyamishra/.local/bin/uv",
"args": [
"--directory", "Path to your mcp server file",
"run",
"terminal_server.py"
]
},
"web3_server": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:3000/mcp"
]
},
"gmail_mcp": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8989/mcp"
]
}
}
}
Port
The server runs on port 5000 and binds to all interfaces (0.0.0.0) for container deployment.
Local Development
-
Install dependencies:
pip install -r requirements.txt -
Set environment variables:
export SMTP_USERNAME="[email protected]" export SMTP_PASSWORD="your-app-password" -
Run the server:
python gmail_mcp.py
Docker
Build and run with Docker:
docker build -t gmail-mcp .
docker run -p 5000:5000 -e SMTP_USERNAME=your-email -e SMTP_PASSWORD=your-password gmail-mcp
Related Servers
Help Scout
An MCP server that enables AI assistants to interact with Help Scout data, such as customers and conversations.
Claude Code Notification
Sends notifications from Claude Code with customizable sounds and cross-platform support.
Voidly MCP Server
3 tools for global censorship intelligence (119 countries) + E2E encrypted agent-to-agent messaging with Double Ratchet and post-quantum crypto
Agent Communication MCP Server
Enables room-based messaging between multiple agents.
MCP Interactive
Enables communication between an LLM and a user through an interactive Electron interface.
Ayni Protocol
Visual coordination protocol for AI agents — 22 MCP tools for glyph-based communication with 50-70% token savings, shared memory, governance, and on-chain attestation.
Outlook MCP Server
Read, search, and manage emails in Microsoft Outlook through a standardized interface.
Kraiter
Kraiter is an email automation platform. It exposes 62 tools for managing contacts, drip campaigns, transactional sends, segments, templates, domains, and metrics.
Google Meet MCP Server
An MCP server for interacting with Google Meet through the Google Calendar API.
Tldv
Connect your AI agents to Google-Meet, Zoom & Microsoft Teams through tl;dv