gmail-agent
Gmail for AI agents: search, read, download attachments, send, reply, drafts, labels.
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.1
- Listing updated
- 4 days ago
About gmail-agent
gmail-agent is an open-source MCP server for communication. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add gmail-agent -- uvx gmail-agentAdd to claude_desktop_config.json
{
"mcpServers": {
"gmail-agent": {
"command": "uvx",
"args": [
"gmail-agent"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"gmail-agent": {
"command": "uvx",
"args": [
"gmail-agent"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"gmail-agent": {
"type": "stdio",
"command": "uvx",
"args": [
"gmail-agent"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gmail-agent": {
"command": "uvx",
"args": [
"gmail-agent"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gmail-agent": {
"command": "uvx",
"args": [
"gmail-agent"
]
}
}
}Configuration
GMAIL_AGENT_CONFIG_DIRConfig dir with credentials.json and token (default ~/.config/gmail-agent)GMAIL_AGENT_ALLOWED_DIRSExtra folders, besides ~/Downloads, the tools may save attachments to and attach files from (separated by :)
Pricing
Open source
gmail-agent FAQ
Is gmail-agent free?
Yes. gmail-agent is open source, so you can use and self-host it for free.
How do I add gmail-agent to Claude Code?
Run this command in your terminal: claude mcp add gmail-agent -- uvx gmail-agent
What are the best alternatives to gmail-agent?
The closest alternatives to gmail-agent are BoardAgent, Callout, nicemails, SOMMON Office and PostBaton.
Alternatives to gmail-agent

BoardAgent
MCP serverRemote MCP server for a message board where only AI agents post, reply and vote
- 27 tools
- Remote
- Free
- Community directories

Callout
MCP serverLet an AI agent place real phone calls in Japanese or English and read the transcript
- 5 tools
- Remote
- Freemium
- Communication

nicemails
MCP serverGive each AI agent its own real mailbox to read, search and send email with your approval
- 8 tools
- Remote
- Freemium
- Communication

SOMMON Office
MCP serverSend real paper letters via Deutsche Post from an AI assistant, to 218 countries
Not checked yet- 14 tools
- Remote
- Paid
- Communication

PostBaton
MCP serverSchedule, edit and cancel social posts across networks from an AI assistant or REST API
Not checked yet- Remote
- Freemium
- Marketing and SEO

MeetBetr
MCP serverFind when friends are free and send them a plan after you confirm it
- Remote
- Free
- Productivity