Gmail-MCP-Server

Level BLocal

A Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.

Overview

Gmail-MCP-Server is an MCP server for Claude Desktop that lets AI assistants manage Gmail through natural language. It supports sending, drafting, reading, searching, and deleting emails, sending and downloading attachments, managing labels and filters, and batch operations. It includes automatic OAuth2 authentication with desktop and web credentials, global credential storage, and support for cloud server environments.

⭐ 1.2kOffice & ProductivityJavaScriptRepo ↗Updated 2025-08-06

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "gongrzhe-gmail-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@gongrzhe/server-gmail-autoauth-mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/GongRzhe/Gmail-MCP-Server

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "gongrzhe-gmail-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@gongrzhe/server-gmail-autoauth-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers