Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Gmail-MCP-Server

local MCP server

Gmail-MCP-Server is a local MCP server: Lean Gmail MCP server with auto authentication support. Install it from npm as @artymclabin/gmail-mcp.

Installation

Terminal

claude mcp add gmail-mcp-server -e GMAIL_OAUTH_PATH=... -e GMAIL_CREDENTIALS_PATH=... -- npx -y @artymclabin/gmail-mcp

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "gmail-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/gmail-mcp"
      ],
      "env": {
        "GMAIL_OAUTH_PATH": "...",
        "GMAIL_CREDENTIALS_PATH": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

What you need

  • Runtime: Node.js 18+ (runs with npx).
  • MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
  • Environment variables: GMAIL_OAUTH_PATH, GMAIL_CREDENTIALS_PATH

Summary

Lean Gmail MCP server with auto authentication support

Gmail-MCP-Server vs similar servers

ServerStarsTypeAPI keyRuntime
Gmail-MCP-Server244LocalYesnpm
appstore-connect-mcp38LocalYesnpm
DBHub3,574LocalYesnpm
mcp-ssh-manager493LocalYesnpm
google-analytics-mcp242LocalYespypi

Questions

It reads 2 environment variables: GMAIL_OAUTH_PATH, GMAIL_CREDENTIALS_PATH. Set them in your MCP config before starting the server.

Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.

Gmail-MCP-Server is a local MCP server distributed as the npm package @artymclabin/gmail-mcp.

Run: claude mcp add gmail-mcp-server -e GMAIL_OAUTH_PATH=... -e GMAIL_CREDENTIALS_PATH=... -- npx -y @artymclabin/gmail-mcp

Run: codex mcp add gmail-mcp-server --env GMAIL_OAUTH_PATH=... --env GMAIL_CREDENTIALS_PATH=... -- npx -y @artymclabin/gmail-mcp

Similar MCP servers

NameStars
  1. appstore-connect-mcpio.github.ryaker/appstore-connect-mcp38
  2. DBHubio.github.bytebase/dbhub3,574
  3. mcp-ssh-managerio.github.bvisible/mcp-ssh-manager493
  4. google-analytics-mcpio.github.surendranb/google-analytics-mcp242
  5. Dynatrace-mcpio.github.dynatrace-oss/Dynatrace-mcp138
  6. Unraid MCPai.dinglebear/unraid-mcp131
  7. Unraid MCPtv.tootie/unraid-mcp131
  8. code-indexio.github.Regsorm/code-index130