gmail-mcp-server MCP Server

This MCP (Model Context Protocol) server provides tools for common operations with gmail.

Local serverstdio

What is the gmail-mcp-server MCP Server?

gmail-mcp-server is an MCP project maintained in the heuristech/gmail-mcp-server repository. The maintainer describes its purpose as “This MCP (Model Context Protocol) server provides tools for common operations with gmail”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares CLIENT_ID, CLIENT_SECRET, REFRESH_TOKEN. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the gmail-mcp-server MCP Server

{
  "mcpServers": {
    "gmail-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/:your.path.to/gmail-mcp-server/server.py",
        "run",
        "server.py"
      ],
      "env": {
        "CLIENT_ID": "google.auth.app.client.id",
        "CLIENT_SECRET": "YOUR_CLIENT_SECRET",
        "REFRESH_TOKEN": "YOUR_REFRESH_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
CLIENT_IDDeclared in the maintainer’s client configuration.Check documentation
CLIENT_SECRETDeclared in the maintainer’s client configuration.Check documentation
REFRESH_TOKENDeclared in the maintainer’s client configuration.Check documentation