Skip to main content
Glama

Email-MCP

by caijianying

Email-MCP 服务

GitHub Stars AUR

这是一个基于 MCP 协议的邮件发送服务,允许 AI 助手通过标准化接口发送电子邮件。

项目概述

本服务器理论上适用于所有支持 MCP 协议的 AI 助手和客户端,虽然目前只测试了接入 Spring-AI 的 Java 服务。

注意:目前仅支持本地运行环境

安装步骤

  1. 克隆本仓库

    git clone [仓库地址] cd email-mcp
  2. 安装依赖

    npm install
  3. 构建项目

    npm run build

配置与运行

克隆仓库本地运行,请使用如下配置:

{ "mcpServers": { "email-mcp-server": { "command": "node", "args": [ "yourpath\\email-mcp\\build\\server.js", "--verbose" ], "env": {} } } }

注意:请将 yourpath 替换为您实际的项目路径

使用指南

发送邮件

与 AI 助手交互时,只需提供以下必填参数即可发送邮件:

  • SMTP服务器主机名(如:smtp.exmail.qq.com)

  • 端口号(如:465)

  • 发件邮箱(如:xxx@xx.com

  • 发件密码(如:*****)

  • 收件人(如:xxx@qq.com

  • 邮件主题

  • 邮件正文

示例:

SMTP服务器主机名是smtp.exmail.qq.com,端口是465,发件邮箱是xxx@xx.com,发件密码是*****,收件人是xxx@qq.com,正文是你好,好久不见,主题是测试

开发与贡献

有问题欢迎提 issue,大家共同进步!

许可证

本项目采用 Apache 许可证。详情请参阅 LICENSE 文件。

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

An MCP server that enables AI assistants to send emails through SMTP protocol by providing server credentials, recipient information, subject, and message content.

  1. 项目概述
    1. 安装步骤
      1. 配置与运行
        1. 使用指南
          1. 发送邮件
        2. 开发与贡献
          1. 许可证

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/caijianying/email-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server