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.
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.
claude mcp add gmail-agent -- uvx gmail-agent mcp
{
"mcpServers": {
"gmail-agent": {
"command": "uvx",
"args": [
"gmail-agent",
"mcp"
]
}
}
}
[mcp_servers.gmail-agent]
command = "uvx"
args = ["gmail-agent", "mcp"]
{
"mcpServers": {
"gmail-agent": {
"command": "uvx",
"args": [
"gmail-agent",
"mcp"
]
}
}
}
{
"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 :)).
We read the source, 5 d ago · rules 995398eba69f
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.
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.
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.
IMAP/SMTP email for AI agents -- read, send, organize, and manage attachments across accounts.
Search, read, draft, send and organize Thunderbird, IMAP, Gmail and Outlook mail from AI agents.
Email inboxes for AI agents: get verification codes, read mail and attachments, reply and send.
Email inboxes for AI agents: read, search, send, reply, calendar invites. Hosted MCP with OAuth.
Email boxes for AI agents. Read, draft, send and triage mail.
Minimal MCP server for downloading Gmail attachments to disk. Read-only OAuth by default.
Multi-account email MCP server for Gmail, IMAP, and JMAP: search, send, drafts, labels.
Private, EU-hosted email for AI agents over JMAP: read, search, reply, draft, organize, send.
Answers built from our own checks of this server.