gmail-mcp
Allows searching, reading, archiving, trashing, marking read/unread, and managing labels for Gmail messages and threads.
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-mcpsearch my recent 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
MCP server for Gmail — search, read, archive, and manage your email from any MCP client.
Setup
Add to your MCP client configuration:
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": ["-y", "@d-mato/gmail-mcp"]
}
}
}On first launch, a browser window will open for Google account authorization. After granting access, the token is stored locally at ~/.gmail-mcp/tokens.json and you won't need to authorize again.
Related MCP server: Gmail Plugin MCP Server
Available Tools
Messages
Tool | Description |
| Search messages using Gmail query syntax (e.g. |
| Get the full content of a message by ID |
| Get all messages in a thread by thread ID |
| Download an attachment (inline for images/text, or save to disk) |
| Archive a message (remove from inbox) |
| Archive multiple messages in a single API call |
| Move a message to trash |
| Move multiple messages to trash in a single API call |
| Remove a message from trash |
| Mark a message as read |
| Mark a message as unread |
Threads
Tool | Description |
| Archive all messages in a thread (remove from inbox) |
| Move all messages in a thread to trash |
| Remove a thread from trash |
| Mark all messages in a thread as read |
| Mark all messages in a thread as unread |
Labels
Tool | Description |
| List all labels |
| Add a label to a message |
| Remove a label from a message |
| Create a new label |
| Delete a label |
License
MIT
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.
Related MCP Connectors
A MCP server for Gmail that lets you search, read, and draft emails and replies.
A MCP server for Outlook email that lets you search, read, and draft emails and replies.
An MCP server that provides email capabilities, hosted on Alpic platform
An MCP server that provides email capabilities, hosted on Alpic platform
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that integrates with Gmail to enable sending, reading, and managing emails through tools like send-email, trash-email, get-unread-emails, and read-email.72GPL 3.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables Gmail integration, allowing users to manage emails (send, receive, read, trash, mark as read) directly through MCP clients like Claude Desktop.1MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides read, label, and draft access to multiple Gmail accounts from a single server, never sending email.68MIT
- FlicenseNot gradedqualityCmaintenanceEnables searching, reading, and drafting emails across multiple Gmail accounts through a single MCP server.-