# Multi Gmail Account MCP

> Multi Gmail Account MCP is an open-source MCP server for communication. Local MCP server that searches many Gmail and IMAP mailboxes at once, drafts-only default. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/psdgator/multi-gmail-account-mcp
- **MCP Registry name:** io.github.psdgator/multi-gmail-account-mcp
- **Categories:** [communication](https://ai-powered.com/categories/communication), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-11-23

## About

Most Gmail connectors handle a single account. This one takes any number of Gmail and IMAP mailboxes, each with an alias such as shop, work or personal, and searches them together. Results are merged, copies of the same message appear once, and each email is labelled with the account it came from. Non-Gmail hosts like cPanel or Fastmail work beside Gmail with the same search syntax.

Triage tools include needs_reply, which lists conversations waiting on you oldest first across all inboxes, and daily_digest for a morning briefing. Attachments such as PDFs, Word, Excel, PowerPoint, OpenDocument files, ZIP and images can be read without saving them, with OCR for images. Writing is limited to drafts by default: threaded replies, forwards with attachments and send-as addresses are prepared but never sent.

Three modes control risk: readonly, drafts (the default) and full, which adds sending, trash, unsubscribe, filters and calendar event creation. Logins are kept encrypted in the OS keychain and every action goes to an audit log. It needs your own Google OAuth client, and an optional Docker hosted mode exposes it to claude.ai as a custom connector. It lists 33 tools and is MIT licensed.

## Features

- **Unified search:** Searches every connected mailbox and removes duplicate copies.
- **Reply tracking:** needs_reply finds conversations waiting on you across accounts.
- **Attachment reading:** Reads PDFs, Office files, ZIP and images without saving them.
- **Drafts-only default:** Nothing is sent unless you switch to full mode.
- **Per-account limits:** Individual accounts can be restricted to read-only.
- **Audit log:** Records every action; logins are encrypted in the OS keychain.
- **Optional calendar:** Shows events and free time across accounts and can create events.

## Good for

- Ask what is unread across work and personal inboxes
- Find who is waiting for a reply
- Read an invoice attachment from a shop mailbox
- Draft a reply in another language and review it before sending
- Preview a bulk archive of newsletters

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add multi-gmail-account-mcp -- npx -y multi-gmail-account-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add multi-gmail-account-mcp -- npx -y multi-gmail-account-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.multi-gmail-account-mcp]
command = "npx"
args = ["-y", "multi-gmail-account-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user multi-gmail-account-mcp npx -- -y multi-gmail-account-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "multi-gmail-account-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "multi-gmail-account-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 2 tools changes data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `needs_reply` (name suggests: changes): List conversations waiting on you, oldest first.
- `daily_digest`: Briefing of recent mail across accounts.

## FAQ

### Will Multi Gmail Account MCP send email on its own?

Not in the default drafts mode; sending needs full mode.

### Does Multi Gmail Account MCP support non-Gmail accounts?

Yes, any IMAP mailbox can be added next to Gmail.

### Can I use Multi Gmail Account MCP in claude.ai on the web?

Through the hosted mode, which runs in Docker and is added as a custom connector.

### What do I need before connecting Gmail?

A Google Cloud OAuth client for a desktop app, saved as a JSON file.

### Which licence is Multi Gmail Account MCP under?

MIT.

### Is Multi Gmail Account MCP free?

Yes. Multi Gmail Account MCP is open source, so you can use and self-host it for free.

### How do I add Multi Gmail Account MCP to Claude Code?

Run this command in your terminal: claude mcp add multi-gmail-account-mcp -- npx -y multi-gmail-account-mcp

### What are the best alternatives to Multi Gmail Account MCP?

The closest alternatives to Multi Gmail Account MCP are TrendRadar, Ha MCP, Concord MCP, TryPost and Open Sunsama.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [TrendRadar](https://ai-powered.com/mcp/trendradar): TrendRadar is an open-source MCP server for communication.
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Open Sunsama](https://ai-powered.com/mcp/open-sunsama): Open Sunsama is an open-source MCP server for productivity.
- [Gmail MCP](https://ai-powered.com/mcp/gmail-mcp-3): Gmail MCP is an open-source MCP server for communication.
- [Discord MCP](https://ai-powered.com/mcp/discord-mcp): Discord MCP is an open-source MCP server for communication.
- [Dayfile.app](https://ai-powered.com/mcp/dayfile-app): Dayfile.app is an open-source MCP server for productivity.

---
Source: https://ai-powered.com/mcp/multi-gmail-account-mcp
