Basic information
About Gmail MCP Server
# Gmail MCP Server
Gmail MCP Server is a MCP server in the Communication category listed in the AddMCP.net directory, published by shubhiscoding. Supported transport: stdio. Runtime: node. Source code is hosted on github.com. Related topics: email-integration, gmail, mcp.
Setup
{
"mcpServers": {
"gmail-mcp": {
"command": "bash",
"args": [
"-c",
"cd ~Your-Path-To-The-Repo/Gmail-MCP-Server && npm run start"
],
"disabled": false
}
}
}
{
"mcpServers": {
"gmail-mcp": {
"command": "bash",
"args": [
"-c",
"cd ~Your-Path-To-The-Repo/Gmail-MCP-Server && npm run start"
],
"disabled": false
}
}
}
{
"servers": {
"gmail-mcp": {
"command": "bash",
"args": [
"-c",
"cd ~Your-Path-To-The-Repo/Gmail-MCP-Server && npm run start"
],
"disabled": false
}
}
}
Gmail MCP Server — by shubhiscoding 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
}
}
}
Gmail MCP Server — by shubhiscoding tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
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
Frequently asked questions
1 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.
2 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.
3 How is authentication handled?
Authentication uses Gmail’s App Password, stored in environment variables (GMAIL_USER and GMAIL_APP_PASSWORD) in a .env file.
4 Does the server support sending emails?
Yes, the sendEmails tool sends an email to a specified recipient with a subject and body.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In