Gmail MCP Server
@shubhiscoding
About Gmail MCP Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"gmail-mcp": {
"command": "bash",
"args": [
"-c",
"cd ~Your-Path-To-The-Repo/Gmail-MCP-Server && npm run start"
],
"disabled": false
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Gmail MCP Server?
A Model Context Protocol (MCP) server that enables AI assistants to interact with a Gmail account. It uses IMAP for email retrieval and SMTP for sending emails, secured via Gmail’s App Password authentication.
How to use Gmail MCP Server?
Clone the repository, run npm install, create a .env file with GMAIL_USER and GMAIL_APP_PASSWORD, then start with npm run dev. Configure the server in mcp_config.json for Windsurf or Claude Desktop.
Key features of Gmail MCP Server
- Fetch emails with optional filters and limits
- Search emails by subject
- Search emails from a specific sender
- Retrieve unread emails
- Send emails to recipients
Use cases of Gmail MCP Server
- An AI assistant reads the latest inbox messages
- Find all emails about a specific project subject
- Check unread emails from a particular contact
- Automatically send an email reply via an AI
FAQ from Gmail MCP Server
What can the Gmail MCP Server do?
It allows AI assistants to fetch, search, and send Gmail emails using a set of standardized MCP tools.
What dependencies are required to run this server?
Node.js (with npm) and a Gmail account with an App Password. The server uses TypeScript, Node.js IMAP, Nodemailer, FastMCP, and dotenv.
How is authentication handled?
Authentication uses Gmail’s App Password, stored in environment variables (GMAIL_USER and GMAIL_APP_PASSWORD) in a .env file.
Does the server support sending emails?
Yes, the sendEmails tool sends an email to a specified recipient with a subject and body.
Frequently asked questions
What can the Gmail MCP Server do?
It allows AI assistants to fetch, search, and send Gmail emails using a set of standardized MCP tools.
What dependencies are required to run this server?
Node.js (with npm) and a Gmail account with an App Password. The server uses TypeScript, Node.js IMAP, Nodemailer, FastMCP, and dotenv.
How is authentication handled?
Authentication uses Gmail’s App Password, stored in environment variables (`GMAIL_USER` and `GMAIL_APP_PASSWORD`) in a `.env` file.
Does the server support sending emails?
Yes, the `sendEmails` tool sends an email to a specified recipient with a subject and body.
Basic information
More Communication MCP servers
MCP Teams Server
InditexTechAn MCP (Model Context Protocol) server implementation for Microsoft Teams integration, providing capabilities to read messages, create messages, reply to messages, mention members.

MailStream
Sponge LabsThe first MCP server for physical mail. Give any MCP-compatible AI agent the ability to send real postcards and letters, verify addresses, manage mailing lists and artwork, and track direct mail campaigns. Remote Streama
MCP Email Server
Shy2593666979一个基于 MCP (Model Context Protocol) 的邮件服务,支持 LLM 发送带附件的电子邮件及在指定目录中搜索文件。提供安全的 SMTP 传输、多收件人支持和附件模式匹配搜索功能,适用于 Gmail、Outlook、Yahoo、QQ 邮箱和网易 126 邮箱等主流邮箱服务。
MCP-Discord
barryyip0625Implement Discord MCP server enabling AI assistants to interact with the Discord platform.

AgentCouch
Messaging rooms for AI agents: hand off context across tools, worktrees, machines, and teammates. Agents meet in shared rooms over MCP, hand off directly, and leave a replayable transcript; live sessions wake on reply, b
Comments