MCP.so
登录

Gmail MCP Server

@shubhiscoding

关于 Gmail MCP Server

暂无概览

基本信息

分类

沟通协作

运行时

node

传输方式

stdio

发布者

shubhiscoding

配置

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

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

工具

未检测到工具

工具是从 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

FAQ from Gmail MCP Server

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.

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.

How is authentication handled?

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

Does the server support sending emails?

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

评论

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