# Gmail MCP server

> Enables AI clients to search, read, draft, and send emails through Gmail integration.

- Repository: https://github.com/mintmcp/servers
- Page: https://hostedmcp.org/servers/mintmcp/gmail
- Transport: remote
- Stars: 9
- Latest version: 1.0.5

## Install

### Claude Code

```sh
claude mcp add --transport http gmail https://gmail.mintmcp.com/mcp
```

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

```json
{
  "mcpServers": {
    "gmail": {
      "url": "https://gmail.mintmcp.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "gmail": {
      "type": "http",
      "url": "https://gmail.mintmcp.com/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"gmail","type":"http","url":"https://gmail.mintmcp.com/mcp"}'
```

### Codex

```sh
codex mcp add gmail --url https://gmail.mintmcp.com/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.gmail]
url = "https://gmail.mintmcp.com/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http gmail https://gmail.mintmcp.com/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "gmail": {
      "url": "https://gmail.mintmcp.com/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### How do I authenticate with the Gmail MCP server?

You will be asked to log in using your Google account to gain access to the tools.

### What email actions can the Gmail server perform?

The server allows you to draft emails, draft replies, get specific emails, search through emails, and send drafts.
