Skip to main content
Glama
edarrington

gmail-mcp

by edarrington

Gmail MCP Server

MCP server for Gmail integration with Claude Code.

Setup

1. Create Google Cloud Credentials

  1. Go to Google Cloud Console

  2. Create a new project (or select existing)

  3. Enable the Gmail API

  4. Go to CredentialsCreate CredentialsOAuth 2.0 Client ID

  5. Application type: Desktop app

  6. Download the JSON file

  7. Rename to credentials.json and place in this folder

2. Install Dependencies

cd D:\Projects\gmail-mcp
pip install -r requirements.txt

3. First-time Authentication

Run once to authorize:

python server.py

This will open a browser for OAuth consent. After authorizing, a token.json file is created.

4. Add to Claude Code

Add to your MCP settings (%APPDATA%\Claude\claude_desktop_config.json or VS Code settings):

{
  "mcpServers": {
    "gmail": {
      "command": "python",
      "args": ["D:\\Projects\\gmail-mcp\\server.py"]
    }
  }
}

Related MCP server: gmail-mcp-server

Tools

Tool

Description

get_todays_emails

Get all emails from today

get_emails

Get emails with optional search query

get_email

Get full email by ID

search_emails

Advanced email search

mark_as_read

Mark emails as read

send_email

Send an email

get_labels

List Gmail labels

Security

Do not commit these files:

  • credentials.json - OAuth client credentials

  • token.json - Your auth token

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

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.
    165
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI-powered inbox management with natural language commands through Claude Desktop. Supports sending, reading, searching, organizing emails, and managing labels using Gmail API with automatic authentication.
    8
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude to read, search, send, and manage Gmail messages and threads through natural language.
    231
    MIT

View all related MCP servers

Related MCP Connectors

  • Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…

  • Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…

  • Connect Claude to Fathom meeting recordings, transcripts, and summaries

View all MCP Connectors

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/edarrington/gmail-mcp'

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