mcpField
E
Email Mcp Server Simple

Email Mcp Server Simple

本地服务
github.com/iamkaia通信协作080 周前更新

关于 Email Mcp Server Simple

Email Mcp Server Simple 汇集了供 Claude Desktop 使用的五个 MCP 服务,涵盖邮件、Line 消息、网页抓取、Word 文档和文件系统。其邮件服务提供发送邮件和查看近期邮件的工具。

主要功能

  1. 01发送邮件
  2. 02列出近期邮件

适用场景

  1. 01通过 MCP 客户端发送邮件
  2. 02查看近期邮件

MCP 相关

其中的 email_mcp 服务向 MCP 客户端提供 `send_email` 和 `list_recent_emails` 工具。仓库还收录了另外四个 MCP 服务。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

暂未收录安装方式

我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。

代码仓库

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

详细介绍

MCP 服务集合

此代码库包含五个 Model Context Protocol(MCP)服务,可挂载到 Claude Desktop:

  1. line-bot
  2. email_mcp
  3. fetch
  4. word-document-service
  5. filesystem

🚀 快速开始

  1. line-bot(在另一个终端中)
git clone https://github.com/iamkaia/email-mcp-server-simple.git
cd email-mcp-server-simple

## **Set up Python env and install requirement thing(for _email_mcp_, )**  
python -m venv .venv
source .venv/bin/activate      # Windows: .\.venv\Scripts\activate
pip install -r requirements.txt

### Fill `.env`** (for `email_mcp` only—do **not** commit):
# SMTP
SMTP_SERVER=smtp.example.com
SMTP_PORT=587
[email protected]
SMTP_PASSWORD=your_smtp_password

# IMAP
IMAP_SERVER=imap.example.com
IMAP_PORT=993
[email protected]
IMAP_PASSWORD=your_imap_password

## start
uvicorn main:app --reload --host 0.0.0.0 --port 8000
  1. line-bot-mcp(在另一个终端中):
# Clone the repository
git clone [email protected]:line/line-bot-mcp-server.git
cd line-bot-mcp-server && npm install && npm run build
  1. fetch(在另一个终端中):
pip install mcp-server-fetch
python -m mcp_server_fetch
  1. Word-MCP-Server(在另一个终端中):
# Clone the repository
git clone https://github.com/GongRzhe/Office-Word-MCP-Server.git
cd Office-Word-MCP-Server

# Install dependencies
pip install -r requirements.txt

#start
python setup_mcp.py
  1. filesystem(在另一个终端中):
# filesystem (via NPX) (you can ignore this step if you have nide and npx)
npx -y @modelcontextprotocol/server-filesystem \
  "/Users/username/Desktop" \
  "/path/to/other/allowed/dir"

🔧 Claude Desktop 配置

编辑 claude_desktop_config.json,以启动每个 MCP 工具:

{
  "mcpServers": {
    "line-bot": {
      "command": "node",
      "args": [
        "to\\the\\path\\line-bot-mcp-server\\dist\\index.js"
      ],
      "env": {
        "CHANNEL_ACCESS_TOKEN" : "xxx",
        "DESTINATION_USER_ID" : "xxx"
      }
    },
    "email_mcp": {
      "command": "to\\the\\path\\mcp-proxy.exe",
      "args": [
        "http://localhost:9000/mcp"      
      ]
    },
    "fetch": {
      "command": "python",
      "args": ["-m", "mcp_server_fetch"]
    },
    "word-document-server": {
      "command": "to\\the\\path\\python.exe",
      "args": [
        "to\\the\\path\\word_server.py"
      ],
      "env": {
        "PYTHONPATH": "to\\the\\path\\Office-Word-MCP-Server"
      }
    },
    "filesystem": {
      "command": "npx",
      "args": [
        "--yes",
        "@modelcontextprotocol/server-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ]
    }
  }
}

保存后,退出并重启 Claude Desktop。🔨“工具”菜单中将列出所有可用的 MCP 工具。


📦 服务与工具

1. line-bot
  • 工具:send_line_message、broadcast_flex_message、broadcast_text_message…
  • 将消息推送到 Line 聊天中。
2. email_mcp
  • 工具:send_email、list_recent_emails
3. fetch
  • 工具:fetch_page
  • 输入:url ⇒ 输出:标题、标题栏、摘要。
4. word-document-service
  • 工具:
    • create_document、add_heading、insert_table、format_text、search_replace,…
  • 以编程方式操作 DOCX 文件。
5. filesystem
  • 工具:
    • read_file、write_file、list_directory、search_files、get_file_info,…
  • 仅在已挂载的目录中操作。
工具列表详细介绍请参阅 tools.md

🎯 JSON‑RPC 调用示例(仅供参考)

// send_email
{
  "tool":"send_email",
  "input":{"params":{
    "to":["[email protected]"],
    "subject":"Hello",
    "body":"This is a test.",
    "html":false
  }}
}

// list_recent_emails
{
  "tool":"list_recent_emails",
  "input":{"params":{
    "limit":3
  }}
}

// fetch_page
{
  "tool":"fetch_page",
  "input":{"params":{"url":"https://example.com"}}
}

// create a Word doc
{
  "tool":"create_document",
  "input":{"params":{"filename":"report.docx","title":"Sales Report"}}
}

// filesystem read
{
  "tool":"read_file",
  "input":{"params":{"path":"to//the//path//notes.txt"}}
}

📃 许可证

所有服务均采用 MIT 许可证。详情请参阅各子文件夹中的 LICENSE。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。