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. 735 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 491 · avg 24
a month agotoday
735
Installs / week
pypi · gmail-agent
0
Stars
0 open issues
12 Oct 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 4 d ago · rules ccca72095570

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

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
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "gmail-agent": {
      "args": [
        "gmail-agent"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.gmail-agent]
command = "uvx"
args = ["gmail-agent"]
.cursor/mcp.json
{
  "mcpServers": {
    "gmail-agent": {
      "args": [
        "gmail-agent"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "gmail-agent": {
      "args": [
        "gmail-agent"
      ],
      "command": "uvx"
    }
  }
}

This one needs environment variables set before it will start: 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 :)). The author declared them in the registry entry; get the values from the project itself.

Alternatives to gmail-agent

same job, measured the same way
Gmail MCP
by a1-x-tech

MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.

66 installs/wk local only
Botmail
by botmail

Your agent's own email address: read, search, send, reply, draft and wait for mail.

answering
Dovemails
by dovemails

Email inboxes for AI agents: send, wait for mail, reply in thread, forward and label.

answering
MCP Email
by infoinlet-marketplace

Email for AI agents — read inbox (IMAP), search, and send (SMTP).

30 installs/wk local only
Mailbox MCP
by jgalea

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

502 installs/wk local only
Google Mail MCP
by mmedum

Gmail over MCP from your own account: search, read threads and messages, labels and drafts.

local only
Gmail
by mintmcp

A MCP server for Gmail that lets you search, read, and draft emails and replies.

answering
Gmail Attachments MCP
by zayansalman

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

249 installs/wk local only

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 735 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 with the file path 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 735 times in the last week. 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 0 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.