Claude Gmail MCP Server

A super tiny Gmail MCP server for Claude Code. Lets Claude send, search, and read Gmail on your behalf.

Local serverstdioPython

What is the Claude Gmail MCP MCP server?

Claude Gmail MCP MCP server exists for a simple reason — assistants are far more useful when they can act on Claude Gmail MCP directly instead of describing what you should do. A super tiny Gmail MCP server for Claude Code. Lets Claude send, search, and read Gmail on your behalf.

Configuration and credentials

You will need one environment variable: GMAIL_TOKEN_PATH. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • uv installed - One of: - A Google Cloud OAuth client (Desktop app) — for the API backend, OR - A Gmail App Password — for the SMTP/IMAP backend

Setting it up

Installation goes through your MCP client rather than a global install: point it at claude-gmail-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Choosing this one

Among the team communication options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by pliablepixels; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the claude gmail mcp mcp server does with a few real requests.

How to install the Claude Gmail MCP MCP server

{
  "mcpServers": {
    "claude-gmail": {
      "command": "uvx",
      "args": ["claude-gmail-mcp"],
      "env": {
        "GMAIL_TOKEN_PATH": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • uv installed - One of: - A Google Cloud OAuth client (Desktop app) — for the API backend, OR - A Gmail App Password — for the SMTP/IMAP backend
VariableDescriptionRequired
GMAIL_TOKEN_PATHCredential the server authenticates with.Yes

Frequently asked questions

It connects Claude Gmail MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Claude Gmail MCP directly.