hass-mcp-server vs memory
并排对比,帮你在这两个 MCP server 之间做选择。
hass-mcp-server by ganhammar | memory by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 34 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 44 | 77 |
| 官方 | — | ✓ |
| 分类 | AI / LLM 工具home-automationiot | 知识库 / RAGAI / LLM 工具效率工具 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 1 个月前 | 本月 |
hass-mcp-server · 概述
Home Assistant MCP 服务器,支持 HTTP 传输协议,可通过 OAuth 或长期令牌远程访问。
memory · 概述
一个实现持久化记忆的 MCP 服务器,使用本地知识图谱让 AI 模型能在聊天间记住用户信息。
hass-mcp-server · 使用场景
- 通过 Claude 网页界面远程控制 Home Assistant 设备和自动化
- 带自动备份和验证的 YAML 文件自动配置管理
- 使用 AI 驱动的提示和补丁进行系统监控和故障排除
memory · 使用场景
- 通过记住用户偏好、历史和关系来个性化 AI 助手交互
- 构建维护对话历史的上下文感知聊天应用
- 创建在 AI 模型会话间持久化的知识库
hass-mcp-server · 安装
安装
HACS(推荐)
- 在 Home Assistant 中打开 HACS
- 搜索 "MCP Server"
- 点击 "Download"
- 重启 Home Assistant
- 配置集成
Claude Desktop 集成
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": ["@modelcontextprotocol/server-homeassistant"],
"env": {
"HOME_ASSISTANT_URL": "https://your-home-assistant.com",
"HOME_ASSISTANT_TOKEN": "your-long-lived-token"
}
}
}
}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"]
}
}
}