MCP.so
登录

Gmail MCP Server

@HappyPathway

关于 Gmail MCP Server

暂无概览

基本信息

分类

沟通协作

运行时

python

传输方式

stdio

发布者

HappyPathway

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Gmail MCP Server?

Gmail MCP Server is a Model Context Protocol server that provides AI-powered analysis and management capabilities for Gmail accounts. It is built exclusively for Gmail using the Gmail API and integrates with Gemini for AI analysis and Google Cloud Storage for email migration.

How to use Gmail MCP Server?

Configure the server in VS Code’s settings.json under the mcp section, providing your Gmail username and password, Gemini API key, and Google Cloud service account credentials. Set up a Python virtual environment, install dependencies with pip install -r requirements.txt, then the server provides a set of tools for managing and analyzing Gmail via the MCP interface.

Key features of Gmail MCP Server

  • Gmail-specific integration using the Gmail API
  • AI-powered email analysis and priority scoring
  • Smart folder creation with custom filtering rules
  • Google Cloud Storage migration for emails and attachments
  • Batch processing of messages based on criteria
  • Thread analysis, label tracking, and email type classification

Use cases of Gmail MCP Server

  • Automate inbox analysis to identify priority messages and sender patterns
  • Create smart folders to automatically organize emails by rules
  • Migrate historical emails and attachments to Google Cloud Storage for archiving
  • Perform bulk actions (move, delete, label) on emails matching specific criteria
  • Gain insights into email activity, sender trends, and attachment statistics over time

FAQ from Gmail MCP Server

What are the prerequisites for using Gmail MCP Server?

A Gmail account with API access enabled, Google Cloud credentials for the Gmail API and Cloud Storage, a Gemini API key, and Python 3.8 or higher.

How do I configure the server?

Add the MCP configuration to your VS Code settings.json, including prompts for your Gmail username, password, Gemini API key, and Google Cloud service account JSON. The server uses environment variables such as GEMINI_API_KEY, IMAP_HOST, GCS_BUCKET, and various analytics settings.

What tools does Gmail MCP Server provide?

It provides tools to test connection, list labels, search and fetch emails, analyze inbox state, move messages, create smart folders, batch process, migrate emails to GCS, get folder summaries, and retrieve threads.

Does it require a Gmail API key?

It requires Google Cloud credentials for accessing the Gmail API and Google Cloud Storage, not a separate API key. The Gmail account username and password are used for authentication.

What is the role of the Gemini API?

The Gemini API enables AI-powered analysis of email patterns, priority scoring, and inbox insights, as configured via the GEMINI_API_KEY environment variable.

评论

沟通协作 分类下的更多 MCP 服务器