MCP.so
Sign In

Gmail MCP Server

@shubhiscoding

About Gmail MCP Server

No overview available yet

Basic information

Category

Communication

Runtime

node

Transports

stdio

Publisher

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
    }
  }
}

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.

Comments

More Communication MCP servers