# Gmail-MCP-Server MCP server

Lean Gmail MCP server with auto authentication support

## At a glance

Gmail-MCP-Server is an MCP server in the Dev Tools & Git category. It runs locally over stdio via `npx -y @artymclabin/gmail-mcp`, and declares no required credentials. It exposes 8 tools, including read_email, list_email_labels and send_email. It scores A (87/100) on the MCP Skills Hub health score as of Oct 28, 2026.

## Install

### How to install Gmail-MCP-Server in Claude Code

1. Add the server

```bash
claude mcp add Gmail-MCP-Server -- npx -y @artymclabin/gmail-mcp
```

2. Verify it's connected

```bash
claude mcp list
```

3. Sharing it with your team?

   Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).

4. Use it in a session

   Ask Claude to use the tools this server exposes (e.g. read_email, list_email_labels, send_email). It discovers them automatically.

### How to install Gmail-MCP-Server in Claude Desktop

1. Open your MCP config

   macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json

2. Add this server

```json
{
  "mcpServers": {
    "Gmail-MCP-Server": {
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/gmail-mcp"
      ]
    }
  }
}
```

3. Restart Claude Desktop

   The tools appear under the 🔌 menu once the app reloads.

### How to install Gmail-MCP-Server in Cursor

1. Create / edit .cursor/mcp.json in your project

```json
{
  "mcpServers": {
    "Gmail-MCP-Server": {
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/gmail-mcp"
      ]
    }
  }
}
```

2. Enable it

   Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.

### How to install Gmail-MCP-Server in Codex CLI

1. Add to ~/.codex/config.toml

```toml
[mcp_servers.Gmail-MCP-Server]
command = "npx"
args = ["-y", "@artymclabin/gmail-mcp"]
```

2. Run Codex

   Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.

### How to install Gmail-MCP-Server in Windsurf

1. Edit ~/.codeium/windsurf/mcp_config.json

```json
{
  "mcpServers": {
    "Gmail-MCP-Server": {
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/gmail-mcp"
      ]
    }
  }
}
```

2. Reload

   Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.

### How to install Gmail-MCP-Server in Cline

1. Open Cline → MCP Servers → Configure

   Adds to cline_mcp_settings.json.

2. Add the server

```json
{
  "mcpServers": {
    "Gmail-MCP-Server": {
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/gmail-mcp"
      ]
    }
  }
}
```

### How to install Gmail-MCP-Server in VS Code

1. Create .vscode/mcp.json

```json
{
  "servers": {
    "Gmail-MCP-Server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/gmail-mcp"
      ]
    }
  }
}
```

2. Start it

   VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.

## Tools

- `read_email` — `gmail.readonly` or `gmail.modify`
- `list_email_labels` — `gmail.readonly`, `gmail.modify`, or `gmail.labels`
- `send_email` — `gmail.modify`, `gmail.compose`, or `gmail.send`
- `delete_draft` — `gmail.modify` or `gmail.compose`
- `modify_email` — `gmail.modify`
- `delete_email` — `gmail.full` (`https://mail.google.com/`)
- `create_label` — `gmail.modify` or `gmail.labels`
- `list_filters` — `gmail.settings.basic`

Source repository: https://github.com/ArtyMcLabin/Gmail-MCP-Server

---

Source: https://mcp-skills-hub.vercel.app/mcps/io-github-artymclabin-gmail-mcp-server · MCP Skills Hub · data as of 2026-10-28T12:31:05Z
