package.json•2 kB
{
"name": "hass-mcp",
"version": "0.2.0",
"description": "Home Assistant MCP Server",
"module": "src/index.ts",
"main": "src/index.ts",
"type": "module",
"scripts": {
"dev": "npx -y @smithery/cli dev",
"build": "npm run build:http",
"build:http": "npx @smithery/cli build",
"start": "npm run start:http",
"start:http": "node .smithery/index.cjs",
"start:stdio": "tsx .",
"start:local:http": "tsx . -- http",
"start:local:sse": "tsx . -- sse",
"docker": "docker build -t aha-mcp .",
"podman": "podman build -t aha-mcp .",
"predocker": "npm test",
"prepodman": "npm test",
"preformat": "npm run check",
"pretest": "npm run format",
"test": "vitest run",
"pretest:short": "npm run format",
"test:short": "vitest --run --silent --no-color --hideSkippedTests --reporter=default",
"check": "tsc --noEmit",
"format": "eslint --fix .",
"extracttools": "cross-env RESOURCES_TO_TOOLS=true npx @modelcontextprotocol/inspector --cli tsx src/index.ts --method tools/list > tools.json",
"tools-to-md": "node scripts/tools-to-markdown.js",
"generate-docs": "npm run extracttools && npm run tools-to-md"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.17.3",
"cors": "^2.8.5",
"express": "^5.1.0",
"home-assistant-js-websocket": "^8.2.0",
"tiktoken": "^1.0.22",
"tsx": "^4.20.5"
},
"devDependencies": {
"@modelcontextprotocol/inspector": "^0.16.5",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/node": "^20.8.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"cross-env": "^10.0.0",
"eslint": "^8.57.1",
"typescript": "^5.2.2",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=18.0.0"
}
}