Skip to main content
Glama
sat899

Gmail MCP Assistant

by sat899

Gmail MCP Assistant

A Model Context Protocol (MCP) server that enables Anthropic's Claude to read unread emails and create draft responses using the Gmail API.

Prerequisites

  • Python 3.10+

  • uv (Python package manager)

  • Claude Desktop app installed

  • A Google Cloud Project with the Gmail API enabled

Related MCP server: Gmail MCP Local Server

Setup

1. Google Cloud Configuration

  1. Go to the Google Cloud Console and create a new project

  2. Enable the Gmail API

  3. Configure the OAuth Consent Screen and add your email as a Test User

  4. Create OAuth 2.0 Credentials for a Desktop Application

  5. Download the JSON file, rename it to client_secret.json, and place it in this project's root directory

2. Installation

# Install dependencies
uv sync

3. Authentication

On first run, Claude Desktop will start the server and open a browser window for OAuth authentication. After authorizing, a token.json file will be created for future use.

4. Claude Desktop Configuration

Add this server to your Claude Desktop MCP configuration file. Edit claude_desktop_config.json and add:

{
  "mcpServers": {
    "gmail-assistant": {
      "command": "C:\\Users\\Satyam\\.local\\bin\\uv.exe", 
      "args": [
        "--directory",
        "C:\\Users\\Satyam\\Downloads\\mlx_application",
        "run",
        "server.py"
      ]
    }
  }
}

Update the paths to match your system:

  • command: Path to your uv.exe executable (you can get this by running uv where)

  • --directory: Path to this project directory

After saving the configuration, restart Claude Desktop to load the server.

Usage

Once configured, you can use the tools in Claude Desktop. Simply start a chat and ask something like 'What emails do I need to respond to?'. Claude will use the following tools:

  • get_unread_emails: Retrieve unread emails from your inbox

  • create_draft_reply: Create a draft reply for a specific email thread

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    Enables reading, sending, searching, and managing Gmail through Claude using the official Google Gmail API.
    138
    3
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude to read unread emails and create draft replies in Gmail with proper threading.
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sat899/gmail-mcp-assistant'

If you have feedback or need assistance with the MCP directory API, please join our Discord server