NestDaddy

Gmail Mcp Server

io.github.ArtyMcLabin/Gmail-MCP-Server ยท v1.2.4

Lean Gmail MCP server with auto authentication support

Connect Runs on your machine

Terminal
claude mcp add gmail-mcp-server -e GMAIL_OAUTH_PATH=<GMAIL_OAUTH_PATH> -e GMAIL_CREDENTIALS_PATH=<GMAIL_CREDENTIALS_PATH> -- npx -y @artymclabin/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "gmail-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/[email protected]"
      ],
      "env": {
        "GMAIL_OAUTH_PATH": "<GMAIL_OAUTH_PATH>",
        "GMAIL_CREDENTIALS_PATH": "<GMAIL_CREDENTIALS_PATH>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "gmail-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/[email protected]"
      ],
      "env": {
        "GMAIL_OAUTH_PATH": "<GMAIL_OAUTH_PATH>",
        "GMAIL_CREDENTIALS_PATH": "<GMAIL_CREDENTIALS_PATH>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "gmail-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/[email protected]"
      ],
      "env": {
        "GMAIL_OAUTH_PATH": "<GMAIL_OAUTH_PATH>",
        "GMAIL_CREDENTIALS_PATH": "<GMAIL_CREDENTIALS_PATH>"
      }
    }
  }
}

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_OAUTH_PATH
Optional
Optional override for the OAuth client keys file path (defaults to ~/.gmail-mcp/gcp-oauth.keys.json)
GMAIL_CREDENTIALS_PATH
Optional
Optional override for the stored credentials file path (defaults to ~/.gmail-mcp/credentials.json)

Details

Package@artymclabin/[email protected] (NPM, stdio)
First published1 Nov 2026
Last updated1 Nov 2026
Registry nameio.github.ArtyMcLabin/Gmail-MCP-Server

More communication servers See all

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