npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gmail-app-password-mcp

v1.0.9

Published

Gmail MCP server using App Password - easiest Gmail setup for Claude

Downloads

757

Readme

📧 Gmail MCP Server

A simple and powerful Model Context Protocol (MCP) server that integrates Gmail with Claude AI using App Password — no complex OAuth setup needed!

npm version Docker License: ISC


✨ Features

  • 📤 Send Emails — Send emails to anyone directly from Claude
  • 🔐 App Password Auth — Simple setup, no OAuth required
  • 🐳 Docker Support — Run anywhere with Docker
  • npx Support — No installation needed

🔑 Step 1 — Get Gmail App Password

App Passwords are special passwords that let apps access your Gmail securely.

  1. Go to your Google Account
  2. Click "Security" on the left
  3. Enable 2-Step Verification (required for App Passwords)
  4. Go back to Security → scroll down → click "App Passwords"
  5. Select "Mail" and "Windows Computer" (or any device)
  6. Click "Generate"
  7. Copy the 16-character password shown (e.g. zfuy wpew zrde nmij)

🚀 Step 2 — Choose your setup method

Option A — Using npx (easiest) ✅

Only requires Node.js — no installation needed!

Open your Claude Desktop config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Add this configuration:

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": ["-y", "gmail-app-password-mcp"],
      "env": {
        "GMAIL_USER": "[email protected]",
        "GMAIL_APP_PASSWORD": "your-16-char-app-password"
      }
    }
  }
}

Restart Claude Desktop and you're done! ✅


Option B — Using Docker 🐳

No Node.js or npm needed — just Docker!

Step 1 — Install Docker Desktop Download from 👉 https://www.docker.com/products/docker-desktop

Step 2 — Pull the image

docker pull paras7409/gmail-app-password-mcp

Step 3 — Run the server

Windows (PowerShell):

docker run -p 3000:3000 -e [email protected] -e GMAIL_APP_PASSWORD=your-app-password -e TRANSPORT=http paras7409/gmail-app-password-mcp

Mac / Linux:

docker run -p 3000:3000 \
  -e [email protected] \
  -e GMAIL_APP_PASSWORD=your-app-password \
  -e TRANSPORT=http \
  paras7409/gmail-app-password-mcp

You should see:

Gmail MCP server running at http://localhost:3000/mcp

Step 4 — Add to Claude Desktop config

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": ["-y", "gmail-app-password-mcp"],
      "env": {
        "GMAIL_USER": "[email protected]",
        "GMAIL_APP_PASSWORD": "your-16-char-app-password"
      }
    }
  }
}

Step 5 — Restart Claude Desktop


Which option should I choose?

| | npx | Docker | |---|---|---| | Requires Node.js | ✅ Yes | ❌ No | | Requires Docker | ❌ No | ✅ Yes | | Easiest for developers | ⭐ | | | Easiest for non-developers | | ⭐ |


💬 Usage Examples

Once set up, just talk to Claude naturally:

"Send an email to [email protected] about tomorrow's meeting"

"Email my team at [email protected] that the project is complete"

"Send a follow up email to [email protected] regarding our last conversation"


🔧 Environment Variables

| Variable | Description | Example | |---|---|---| | GMAIL_USER | Your Gmail address | [email protected] | | GMAIL_APP_PASSWORD | Your 16-char App Password | zfuy wpew zrde nmij | | TRANSPORT | Transport mode | stdio (default) or http | | PORT | Port for HTTP mode | 3000 (default) |


🛡️ Security

  • Credentials are passed via environment variables — never hardcoded
  • App Passwords can be revoked anytime from your Google Account
  • No credentials are stored or logged by the server

🔗 Links

  • 📦 npm: https://www.npmjs.com/package/gmail-app-password-mcp
  • 🐳 Docker: https://hub.docker.com/r/paras7409/gmail-app-password-mcp
  • 💻 GitHub: https://github.com/Paras1Chauhan/gmail-mcp-server

🤝 Contributing

Contributions are welcome! Feel free to open a Pull Request or Issue.


📄 License

ISC © paras0511