MCP.so
Sign In

Enhanced Gmail MCP Server

@Vijay-2005

Basic information

Category

Communication

License

GPL-3.0

Transports

stdio

Author

Vijay-2005

About Enhanced Gmail MCP Server

This is Gmail MCP server by using this you can directly use your with claude desktop.

Enhanced Gmail MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "Gmail-MCP-server": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        ".venv"
      ]
    }
  }
}

Enhanced Gmail MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Enhanced Gmail MCP Server?

A feature-rich Model Context Protocol server for Gmail integration, written in Python. It enables AI assistants like Claude to interact with Gmail through natural language, providing comprehensive email management capabilities.

How to use Enhanced Gmail MCP Server?

Clone the repository, set up a Python virtual environment (3.8+), and install the package. Configure a Google Cloud project with the Gmail API enabled and OAuth 2.0 credentials. Run the server via Claude Desktop by adding a JSON entry to the MCP server configuration, specifying the credentials file path and token path.

Key features of Enhanced Gmail MCP Server

  • Send, read, and trash emails with confirmation prompts
  • Create, list, and edit draft emails
  • List, create, apply, remove, rename, and delete labels
  • Create folders (as labels) and move emails between them
  • Search emails using Gmail’s advanced query syntax
  • Archive, batch archive, list, and restore archived emails

Use cases of Enhanced Gmail MCP Server

  • Retrieve and manage unread emails conversationally
  • Search for specific emails by sender, subject, or attachments
  • Create and organize custom labels and folders
  • Draft and send emails through an AI assistant
  • Automate archiving and filtering of newsletters or recurring messages

Frequently asked questions

1

What are the prerequisites?

Python 3.8+, a Google Cloud project with the Gmail API enabled, and OAuth 2.0 credentials (Desktop app type).

2

What Google API scope is used?

The `https://www.googleapis.com/auth/gmail/modify` scope is required.

3

How do I configure and run the server?

Store the downloaded credentials JSON in a secure location (e.g., `~/.gmail-mcp/credentials.json`), then specify the credentials and token paths in the Claude Desktop MCP configuration.

4

What security considerations apply?

Never commit credentials or token files to version control. Store credentials with appropriate permissions and review your Google Cloud Console regularly for unusual activity.

5

How is authentication handled?

OAuth 2.0 authentication is used with automatic token refresh, so the server handles token lifecycle management transparently.

Comments

More Communication MCP servers