Gmail MCP Assistant
Allows reading unread emails from Gmail inbox and creating draft replies via the Gmail API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gmail MCP AssistantWhat are my unread emails?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Go to the Google Cloud Console and create a new project
Enable the Gmail API
Configure the OAuth Consent Screen and add your email as a Test User
Create OAuth 2.0 Credentials for a Desktop Application
Download the JSON file, rename it to
client_secret.json, and place it in this project's root directory
2. Installation
# Install dependencies
uv sync3. 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 youruv.exeexecutable (you can get this by runninguv 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 inboxcreate_draft_reply: Create a draft reply for a specific email thread
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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