memory vs Java-MCP-Server-For-SMTP-Mailing
并排对比,帮你在这两个 MCP server 之间做选择。
memory by modelcontextprotocol | Java-MCP-Server-For-SMTP-Mailing by RayenMalouche | |
|---|---|---|
| Stars | ★ 85,748 | ★ 2 |
| 30天用量 | — | — |
| 综合分 | 77 | 32 |
| 官方 | ✓ | — |
| 分类 | 知识库 / RAGAI / LLM 工具效率工具 | 沟通协作开发者工具效率工具 |
| 实现语言 | TypeScript | Java |
| 最近提交 | 本月 | 9 个月前 |
memory · 概述
一个实现持久化记忆的 MCP 服务器,使用本地知识图谱让 AI 模型能在聊天间记住用户信息。
Java-MCP-Server-For-SMTP-Mailing · 概述
基于Java的MCP服务器,通过多种传输协议提供SMTP邮件发送功能。
memory · 使用场景
- 通过记住用户偏好、历史和关系来个性化 AI 助手交互
- 构建维护对话历史的上下文感知聊天应用
- 创建在 AI 模型会话间持久化的知识库
Java-MCP-Server-For-SMTP-Mailing · 使用场景
- AI助手通过邮件发送自动化通知和警报
- 将邮件功能集成到自动化系统的工作流中
- 在开发环境中测试邮件功能
memory · 安装
安装
Claude Desktop
添加到你的 claude_desktop_config.json 文件中:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}VS Code
使用一键安装按钮或在 .vscode/mcp.json 中手动配置:
{
"servers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}Docker
{
"mcpServers": {
"memory": {
"command": "docker",
"args": ["run", "-i", "-v", "claude-memory:/app/dist", "--rm", "mcp/memory"]
}
}
}Java-MCP-Server-For-SMTP-Mailing · 安装
安装
- 克隆仓库
git clone https://github.com/RayenMalouche/Java-MCP-Server-For-SMTP-Mailing.git
cd Java-MCP-Server-For-SMTP-Mailing- 在
Application.java中配置邮件设置
private static final String SMTP_USERNAME = "your-email@gmail.com";
private static final String SMTP_PASSWORD = "your-app-password";
private static final String SMTP_HOST = "smtp.gmail.com";
private static final int SMTP_PORT = 587;
private static final boolean SMTP_TLS_ENABLED = true;- 构建项目
mvn clean package- 使用 STDIO 传输运行服务器以供 Claude Desktop 使用
java -jar target/RayenMalouche-0.0.1-SNAPSHOT.jar --stdioClaude Desktop 配置
添加到您的 config.json 中:
{
"mcpServers": {
"smtp-email-server": {
"command": "<JAVA_EXECUTABLE_PATH>",
"args": [
"-jar",
"<FULL_PATH_TO_PROJECT>/target/RayenMalouche-0.0.1-SNAPSHOT.jar",
"--stdio"
],
"env": {
"JAVA_HOME": "<JAVA_HOME_PATH>"
}
}
}
}