MCP.so
登录

Gmail MCP Server

@shubhiscoding

基本信息

分类

沟通协作

传输方式

stdio

作者

shubhiscoding

关于 Gmail MCP Server

暂无概览

Gmail MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "gmail-mcp": {
      "command": "bash",
      "args": [
        "-c",
        "cd ~Your-Path-To-The-Repo/Gmail-MCP-Server && npm run start"
      ],
      "disabled": false
    }
  }
}

Gmail MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is Gmail MCP Server?

A Model Context Protocol (MCP) server that enables AI assistants to interact with a Gmail account. It uses IMAP for email retrieval and SMTP for sending emails, secured via Gmail’s App Password authentication.

How to use Gmail MCP Server?

Clone the repository, run npm install, create a .env file with GMAIL_USER and GMAIL_APP_PASSWORD, then start with npm run dev. Configure the server in mcp_config.json for Windsurf or Claude Desktop.

Key features of Gmail MCP Server

  • Fetch emails with optional filters and limits
  • Search emails by subject
  • Search emails from a specific sender
  • Retrieve unread emails
  • Send emails to recipients

Use cases of Gmail MCP Server

  • An AI assistant reads the latest inbox messages
  • Find all emails about a specific project subject
  • Check unread emails from a particular contact
  • Automatically send an email reply via an AI

常见问题

1

What can the Gmail MCP Server do?

It allows AI assistants to fetch, search, and send Gmail emails using a set of standardized MCP tools.

2

What dependencies are required to run this server?

Node.js (with npm) and a Gmail account with an App Password. The server uses TypeScript, Node.js IMAP, Nodemailer, FastMCP, and dotenv.

3

How is authentication handled?

Authentication uses Gmail’s App Password, stored in environment variables (`GMAIL_USER` and `GMAIL_APP_PASSWORD`) in a `.env` file.

4

Does the server support sending emails?

Yes, the `sendEmails` tool sends an email to a specified recipient with a subject and body.

评论

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