mcpbeat Sign in

gmail-agent MCP Server

local only

gmail-agent runs on your own machine — the client starts it, so there is no endpoint to ping. 113 installs a week from pypi. Last commit 12 Oct 2026.

Gmail for AI agents: search, read, download attachments, send, reply, drafts, labels.

Installs per day peak 47 · avg 20 · -37% w/w
a month agotoday
113
Installs / week
pypi · gmail-agent
1
Stars
0 open issues
12 Oct 2026
Last commit
from GitHub
MIT
License
Python

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add gmail-agent -- uvx gmail-agent mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "gmail-agent": {
      "command": "uvx",
      "args": [
        "gmail-agent",
        "mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.gmail-agent]
command = "uvx"
args = ["gmail-agent", "mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "gmail-agent": {
      "command": "uvx",
      "args": [
        "gmail-agent",
        "mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "gmail-agent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gmail-agent",
        "mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: GMAIL_AGENT_CONFIG_DIR (Config dir with credentials.json and token (default ~/.config/gmail-agent)), GMAIL_AGENT_ALLOWED_DIRS (Extra folders, besides ~/Downloads, the tools may save attachments to and attach files from (separated by :)).

What the code does

We read the source, 5 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs a command on install [пакет] package.json:1
setup.py: выполняет код при установке пакета
    return subprocess.run(

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Alternatives to gmail-agent

same job, measured the same way
Email
by n24q02m

IMAP/SMTP email for AI agents -- read, send, organize, and manage attachments across accounts.

2 031 installs/wk local only
Thunderbird MCP
by simonjamescarroll

Search, read, draft, send and organize Thunderbird, IMAP, Gmail and Outlook mail from AI agents.

576 installs/wk local only
Blueping
by blueping

Email inboxes for AI agents: get verification codes, read mail and attachments, reply and send.

363 installs/wk answering
Atomic Mail
by atomic-mail

Email inboxes for AI agents: read, search, send, reply, calendar invites. Hosted MCP with OAuth.

333 installs/wk answering
P
Pombus
by pombus

Email boxes for AI agents. Read, draft, send and triage mail.

206 installs/wk local only
Gmail Attachments MCP
by zayansalman

Minimal MCP server for downloading Gmail attachments to disk. Read-only OAuth by default.

153 installs/wk local only
Mailbox MCP
by jgalea

Multi-account email MCP server for Gmail, IMAP, and JMAP: search, send, drafts, labels.

146 installs/wk local only
Lettio MCP
by lettio

Private, EU-hosted email for AI agents over JMAP: read, search, reply, draft, organize, send.

142 installs/wk answering

gmail-agent — questions

Answers built from our own checks of this server.

Why is there no uptime for gmail-agent?
gmail-agent runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package gmail-agent was installed 113 times last week.
How do I connect gmail-agent?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls gmail-agent straight from pypi; nothing to host, nothing to sign up for.
How many people use gmail-agent?
The pypi package gmail-agent was installed 113 times in the last week. Week over week that is -37%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is gmail-agent open source?
Yes — it is published under the MIT licence, written in Python and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.