Yagms
A tool for interacting with Gmail via the MCP protocol, providing functions such as email listing, searching, and retrieval.
rating : 2 points
downloads : 10
What is yagms?
yagms is a Gmail management tool based on the MCP protocol that allows users to securely access and operate Gmail accounts via the command line or API. It encapsulates the complex details of the Gmail API and provides simple email management functions.How to use yagms?
Simply complete the OAuth authentication and run the service, then you can query emails, search for content, or manage labels via the standard MCP protocol. All operations are authenticated by Google for security.Use cases
Suitable for scenarios that require programmatic access to Gmail, such as automatically processing customer service emails, archiving important emails, and analyzing email data.Main features
Email listingFilter and list emails by sender, label, etc.
Email detailsGet the full email content and metadata by email ID.
Advanced searchSearch for emails using the native Gmail search syntax.
Label managementView and manage all Gmail labels.
Advantages and limitations
Advantages
Standardized MCP interface, easy to integrate into existing systems
Complete OAuth authentication process to ensure account security
Supports all core Gmail functions
Lightweight implementation, runs efficiently based on the Bun runtime
Limitations
Users need to manually complete the OAuth authentication process
Batch operation functions are not supported yet
Depends on Google API quota limits
How to use
Prepare OAuth credentials
Create a project in the Google Cloud Console and enable the Gmail API. Download the OAuth credentials file and save it as ~/.yagms-oauth.keys.json.
Authenticate the account
Run the authentication process to obtain an access token.
Start the service
Run the main program to start the MCP service.
Configure the MCP client
Add the service configuration to your MCP client configuration file.
Usage examples
Find customer support emailsRegularly check unread emails from the customer support mailbox.
Archive emails with attachmentsFind all important emails with attachments and archive them.
Frequently Asked Questions
Where is the authentication information stored? Is it secure?
Can I access multiple Gmail accounts simultaneously?
Why does the number of search results not match the expectation?
Related resources
Google Cloud Console
The console for creating OAuth credentials.
Gmail API documentation
Official API reference documentation.
Bun runtime
The JavaScript runtime used in the project.
Featured MCP Services

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

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
823
4.3 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
79
4.3 points

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
130
4.5 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#
554
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.6K
4.5 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

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
745
4.8 points