Gmail MCP Server

by MCP-Mirror

348 downloads
Not rated
GitHub

About

Gmail MCP Server is an MCP (Model Context Protocol) server that provides Gmail integration capabilities to MCP clients like Claude Desktop. It uses secure OAuth2 authentication to read emails from your Gmail account.

Details

Author
MCP-Mirror
Downloads
348
Categories
Communication

- View the 10 most recent emails from your inbox
- Search emails using standard Gmail search syntax
- Secure OAuth2 authentication (read‑only access)
- Automatic token refresh

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Gmail MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Set up a Google Cloud Project, enable the Gmail API, and create OAuth 2.0 credentials. Install the server in a conda environment with Python 3.12, then configure it in your Claude Desktop config file by providing paths to the credentials and token files. On first run, you authorize the application in your browser.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "gmail mcp server": {
            "ajbr0wn_gmail-mcp-server": {
                "command": "python",
                "args": [
                    "-m",
                    "gmail_mcp_server.server"
                ]
            }
        }
    }
}

McpServers

{
    "ajbr0wn_gmail-mcp-server": {
        "command": "python",
        "args": [
            "-m",
            "gmail_mcp_server.server"
        ]
    }
}

Gmail MCP Server

An MCP (Model Context Protocol) server that provides Gmail integration capabilities to MCP clients like Claude Desktop.

Features

- View recent emails from your Gmail inbox
- Search emails using Gmail's search syntax
- Secure OAuth2 authentication with Gmail API

Setup

1. Google Cloud Project Setup

1. Create a Google Cloud Project at https://console.cloud.google.com/ 2. Enable the Gmail API 3. Create OAuth 2.0 credentials: - Application type: Desktop application - Download the credentials as credentials.json

2. Installation

```bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.