MycelMycel
首页/MCP Server 目录/voska/hass-mcp

voska/hass-mcp

❌ 实测失败serverPythonMIT★ 352

Control and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.

实测结果

失败
沙箱内启动/握手失败,下方给出失败阶段与原始报错。失败阶段:initialize,错误类型:runtime_error。这类信息对判断“是不是我这边的环境问题”很有用,原始报错见下。

error_type: runtime_error

9:31)
    at ZodObject.parse (file:///work/node_modules/zod/v3/types.js:114:22)
    at getConfig (file:///work/node_modules/hass-mcp/dist/index.js:12:27)
    at main (file:///work/node_modules/hass-mcp/dist/index.js:22:20)
    at file:///work/node_modules/hass-mcp/dist/index.js:85:1
    at ModuleJob.run (node:internal/modules/esm/module_job:343:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:681:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5) {
  issues: [
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    },
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    }
  ],
  addIssue: [Function (anonymous)],
  addIssues: [Function (anonymous)]
}
安装方式
npx
包名
hass-mcp
解析依据
npm registry match (has bin)
沙箱
docker
总耗时
27629 ms
安装耗时
26385 ms
工作目录
26 MB
探针版本
1.0.0
实测时间
2026-11-11 17:10:43

如何使用

❌ 实测失败runtime_error · 9:31);下面配置仅供参考,跑不跑得通取决于你的环境

1安装 / 启动命令npm / npx

npx -y hass-mcp

2客户端配置Claude Desktop / Cursor

{
  "mcpServers": {
    "voska-hass-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hass-mcp"
      ]
    }
  }
}

整段粘进 claude_desktop_config.json 的 mcpServers 里(Cursor 用 ~/.cursor/mcp.json),保存后重启客户端。

安装方式来源:npm registry match (has bin),沙箱实测未通过。

仓库信息

全名
voska/hass-mcp
分类
server
Stars
352
Forks
55
主要语言
Python
License
MIT
最近推送
2026-11-02
仓库创建
2025-03-16
首次收录
2026-11-10
最近抓取
2026-11-10
#ai#anthropic#claude#home-assistant#home-automation#homeassistant#llm#mcp#mcp-server#model-context-protocol#python#smart-home