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
संबंधित सर्वर
X MCP Server
An MCP server for X (Twitter) integration, allowing you to read timelines and engage with tweets.
Twitter MCP Server
A server for interacting with Twitter, allowing you to post tweets, read timelines, and manage your account through the MCP standard.
Warpcast
Interact with Warpcast accounts, enabling actions like posting casts and managing your profile.
WhatsApp Cloned Voice Messages
Integrates WhatsApp and Minimax to send personalized voice messages using cloned voices.
AllVoiceLab
An AI voice toolkit with TTS, voice cloning, and video translation, now available as an MCP server for smarter agent integration.
MCP反馈收集器
An MCP server for collecting interactive user feedback through a graphical user interface.
Microsoft Teams MCP
Interact with Microsoft Teams to read, create, and reply to messages, and mention members.
VoiceVox
A server for text-to-speech (TTS) using the VoiceVox engine.
Slack MCP Client in Go
A Slack bot client that bridges Slack and Model Context Protocol (MCP) servers, enabling LLMs to use MCP tools.
Social Neuron MCP Server
50+ AI tools for end-to-end social media management — brand extraction, video generation, multi-platform scheduling, analytics, and closed-loop optimization.