Gmail MCP Server Btq
This project implements an MCP server for Gmail email interaction, supporting functions such as email search, content retrieval, label management, batch operations, and email sending/forwarding.
rating : 2.5 points
downloads : 12
What is the Gmail MCP Server?
The Gmail MCP Server is a middleware service that allows you to interact with your Gmail account through a standardized protocol. It encapsulates complex IMAP/SMTP operations into simple tool calls, enabling you to manage emails without understanding the underlying technical details.How to use the Gmail MCP Server?
You need to install and configure the server first, and then connect and use it through a compatible MCP client (such as Cline). After the server starts, it will provide a series of tool functions, and the client can call these tools to complete email management tasks.Use cases
Suitable for scenarios that require batch processing of Gmail emails, such as email classification and archiving, automatic replies, data analysis, etc. It is also suitable for developing applications that require email integration functions.Main features
Email searchSupports searching for emails by date range, keywords, or Gmail advanced query syntax. You can specify to search in specific folders (such as Inbox, Sent).
Label managementYou can create, rename, and delete labels, as well as add/remove labels from emails. Supports batch operations on multiple emails.
Email sendingSupports sending new emails and forwarding existing emails (including attachments).
Batch operationsYou can perform label operations or move operations on multiple emails simultaneously to improve processing efficiency.
Advantages and limitations
Advantages
Provides a unified interface to simplify Gmail operations
Supports advanced search functions (X - GM - RAW)
Batch operations improve efficiency
Seamlessly integrates with the MCP ecosystem
Limitations
Requires configuring a Google App password (for 2FA users)
Cannot modify system - built - in labels
Additional configuration is required for SMTP sending
How to use
Install dependencies
Use the uv package manager to install the required dependencies.
Configure environment variables
Create a .env file and fill in your Gmail account information.
Start the server
Run the server script.
Client configuration
Add the server configuration in an MCP client (such as Cline).
Usage examples
Classify work emailsAutomatically classify all emails from the company domain to the 'Work' label.
Count daily email volumeCount the number of emails received each day in the past 30 days.
Frequently Asked Questions
Why do I need an App password?
Can I delete system labels?
How to improve search efficiency?
Related resources
Google App Password Guide
How to create and use a Google App password
Gmail Search Operators
Reference for Gmail advanced search syntax
MCP Protocol Specification
Official documentation for the Model Context Protocol
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
87
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
567
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points