Loading languages...
@P

@peakmojo/mcp-server-headless-gmail

@baryhuang47

A MCP (Model Context Protocol) server that provides get, send Gmails without local credential or token setup.

gmail
email
mcp-server

MCP Headless Gmail Server (NPM & Docker)

A MCP (Model Context Protocol) server that provides get, send Gmails without local credential or token setup.

Installation

# Clone the repository
git clone https://github.com/baryhuang/mcp-headless-gmail.git
cd mcp-headless-gmail

# Install dependencies
pip install -e .

Usage

Start the server with: mcp-server-headless-gmail

Use MCP client like Claude with configuration:

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": ["@peakmojo/mcp-server-headless-gmail"]
    }
  }
}

Features include getting recent emails, full email body content, sending emails, and automatic token refresh.

# mcpServer Config

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": [
        "@peakmojo/mcp-server-headless-gmail"
      ]
    }
  }
}

# stdio

mcp-server-headless-gmail
Transport:
stdio
Language:
Python
Created: 3/20/2025
Updated: 7/30/2025
Homepage: