mcp-server-home-assistant vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-server-home-assistant by allenporter | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 67 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 37 | 77 |
| 官方 | — | ✓ |
| 分类 | home-automation开发者工具AI / LLM 工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 15 个月前 | 本月 |
mcp-server-home-assistant · 概述
MCP 服务器让 AI 模型能够与家庭自动化系统 Home Assistant 进行交互。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
mcp-server-home-assistant · 使用场景
- 通过对话式 AI 控制智能家居设备
- 查询家庭环境数据(温度、占用情况等)
- 由 AI 模型触发的家庭自动化
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
mcp-server-home-assistant · 安装
安装步骤
- 在您的 Home Assistant 实例中安装 [home-assistant-model-context-protocol](https://github.com/allenporter/home-assistant-model-context-protocol) 自定义组件
- 创建一个 [长期访问令牌](https://www.home-assistant.io/docs/authentication/#your-account-profile)
- 克隆此仓库到您的本地机器
- 编辑您的
claude_desktop_config.json文件,添加上述配置(将路径和令牌替换为您的值)
filesystem · 安装
安装
使用 NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}使用 Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code 扩展
点击 README 中的安装按钮直接在 VS Code 中安装。