Gmail MCP
@ykuchiki
About Gmail MCP
MCP server for Gmail API implemented in Python. Enables AI Agents to send, receive, search emails and manage labels in Gmail.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"gmail-mcp-ykuchiki": {
"command": "uv",
"args": [
"init"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Gmail MCP?
Gmail MCP is a server implementation that enables AI assistants to interact with Gmail through the Model Context Protocol (MCP). It provides tools for sending emails, managing drafts, reading emails, searching through your inbox, and managing Gmail labels. It uses OAuth2.0 authentication with the Gmail API.
How to use Gmail MCP?
Set up a Google Cloud Platform project with the Gmail API enabled, download OAuth credentials as credentials/client_secret_gmail_oauth.json, and install Python dependencies using uv. Then configure your MCP client to point to the server with uv run main.py. On first run, you will be prompted to authenticate with your Gmail account.
Key features of Gmail MCP
- Send emails and create drafts
- Read and search emails
- Delete emails
- Manage Gmail labels (create, update, delete)
- OAuth2.0 authentication with Gmail API
Use cases of Gmail MCP
- AI assistant composing and sending emails on behalf of a user
- Searching and summarizing recent emails from the inbox
- Managing labels to categorize threads automatically
- Deleting unwanted emails programmatically
FAQ from Gmail MCP
What are the prerequisites?
Python 3.11 or higher, a Gmail account, a Google Cloud Platform project with the Gmail API enabled, and the uv package installer.
How do I set up OAuth credentials?
Create a project in Google Cloud Console, enable the Gmail API, create OAuth credentials, download the JSON file, and save it as credentials/client_secret_gmail_oauth.json in the project root.
What MCP clients are supported?
The server works with any MCP‑compatible client. Specific client integration instructions should be sought from the client’s official documentation.
How does authentication work?
The server uses OAuth 2.0. On first run, it prompts the user to authenticate with their Gmail account.
What runtime dependencies are required?
All dependencies are listed in requirements.txt and installed via uv pip install -r requirements.txt. The server is invoked using uv run main.py.
Frequently asked questions
What are the prerequisites?
Python 3.11 or higher, a Gmail account, a Google Cloud Platform project with the Gmail API enabled, and the `uv` package installer.
How do I set up OAuth credentials?
Create a project in Google Cloud Console, enable the Gmail API, create OAuth credentials, download the JSON file, and save it as `credentials/client_secret_gmail_oauth.json` in the project root.
What MCP clients are supported?
The server works with any MCP‑compatible client. Specific client integration instructions should be sought from the client’s official documentation.
How does authentication work?
The server uses OAuth 2.0. On first run, it prompts the user to authenticate with their Gmail account.
What runtime dependencies are required?
All dependencies are listed in `requirements.txt` and installed via `uv pip install -r requirements.txt`. The server is invoked using `uv run main.py`.
Basic information
More Communication MCP servers
Mektup-mcp
WeeCiMektup gives AI agents and their humans a real email mailbox, not just a one-way sending API. Through 41 MCP tools, an agent can register a domain, create a mailbox, send and receive mail, and manage threads, drafts, fol
Email sending MCP 💌
ykhliThe official MCP server to send emails and interact with Resend
mcp-email-server
ai-zerolabIMAP and SMTP via MCP Server
MCP-Discord
barryyip0625Implement Discord MCP server enabling AI assistants to interact with the Discord platform.

Faxer
1771 CoSend real faxes to any US, Canadian, or international fax number from any AI assistant. The agent quotes the exact price from the document's real page count, hands the human a Stripe Checkout link (payment stays human-in
Comments