NestDaddy

gmail-agent

io.github.dremok/gmail-agent ยท v0.3.1

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

Connect Runs on your machine

Terminal
claude mcp add gmail-agent -e GMAIL_AGENT_CONFIG_DIR=<GMAIL_AGENT_CONFIG_DIR> -e GMAIL_AGENT_ALLOWED_DIRS=<GMAIL_AGENT_ALLOWED_DIRS> -- uvx gmail-agent==0.3.1
claude_desktop_config.json
{
  "mcpServers": {
    "gmail-agent": {
      "command": "uvx",
      "args": [
        "gmail-agent==0.3.1"
      ],
      "env": {
        "GMAIL_AGENT_CONFIG_DIR": "<GMAIL_AGENT_CONFIG_DIR>",
        "GMAIL_AGENT_ALLOWED_DIRS": "<GMAIL_AGENT_ALLOWED_DIRS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "gmail-agent": {
      "command": "uvx",
      "args": [
        "gmail-agent==0.3.1"
      ],
      "env": {
        "GMAIL_AGENT_CONFIG_DIR": "<GMAIL_AGENT_CONFIG_DIR>",
        "GMAIL_AGENT_ALLOWED_DIRS": "<GMAIL_AGENT_ALLOWED_DIRS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "gmail-agent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gmail-agent==0.3.1"
      ],
      "env": {
        "GMAIL_AGENT_CONFIG_DIR": "<GMAIL_AGENT_CONFIG_DIR>",
        "GMAIL_AGENT_ALLOWED_DIRS": "<GMAIL_AGENT_ALLOWED_DIRS>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

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

Details

Package[email protected] (PYPI, stdio)
First published11 Oct 2026
Last updated11 Oct 2026
Registry nameio.github.dremok/gmail-agent

More communication servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.