mcpField
M
MCP Servers Collection

MCP Servers Collection

本地服务
github.com/iamkaia开发工具079 周前更新

关于 MCP Servers Collection

MCP Servers Collection 汇集了供 Claude Desktop 使用的五个 MCP 服务,涵盖 LINE 消息、电子邮件、网页抓取、Word 文档编辑和文件系统访问,并提供逐项运行与配置说明。

主要功能

  1. 01LINE 消息工具
  2. 02发送邮件与列出邮件
  3. 03获取网页标题和摘要
  4. 04创建及编辑 DOCX
  5. 05操作挂载目录中的文件

适用场景

  1. 01向 LINE 聊天发送消息
  2. 02发送邮件并查看近期邮件
  3. 03获取网页摘要并管理 Word 文件
  4. 04在允许的目录中读取和搜索文件

MCP 相关

该集合包含五个为 Claude Desktop 配置的 MCP 服务。各服务分别提供消息、邮件、网页抓取、文档编辑和文件系统操作工具。

配置

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

mcp.json · 通用配置
{
"mcpServers": {
"implement": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem"
],
"env": {
"CHANNEL_ACCESS_TOKEN": "<CHANNEL_ACCESS_TOKEN>",
"DESTINATION_USER_ID": "<DESTINATION_USER_ID>",
"PYTHONPATH": "<PYTHONPATH>"
}
}
}
}
启动命令npx -y @modelcontextprotocol/server-filesystem
需要配置的环境变量
CHANNEL_ACCESS_TOKEN密钥
DESTINATION_USER_ID
PYTHONPATH

本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。

安装包
npm@modelcontextprotocol/server-filesystem

工具

还没有获取到工具列表

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

详细介绍

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 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。