M

mcp-hass

by @aahlv
4.3(36)

Home Assistantプラットフォームを通じて、ユーザーがスマートホームデバイスを効率的に制御・管理し、自動化されたスマートな生活を実現する方法を習得するのを支援します。

home-assistant-(hass)smart-home-automationiot-integrationyaml-configurationhome-automation-protocolsGitHub
インストール方法
npx skills add aahl/skills --skill mcp-hass
compare_arrows

Before / After 効果比較

1
使用前

Home Assistantスマートホームデバイスの手動制御は煩雑で、デバイスの状態確認は不便、自動化シーンの設定も複雑です。スマートホームのシームレスな統合と効率的な管理は困難です。

使用後

自然言語でHome Assistantデバイスを簡単に制御し、リアルタイムでデバイスの状態を確認し、スマートシーンを実現します。スマートホーム体験が大幅に向上し、生活がより便利で快適になります。

SKILL.md

Home Assistant

Control Home Assistant smart home and query states using MCP protocol.

Prerequisites

Enable MCP server in Home Assistant:

  • Browse to your Home Assistant instance.
  • Go to Settings > Devices & services.
  • In the bottom right corner, select the + Add Integration button.
  • From the list, select Model Context Protocol.
  • Follow the instructions on screen to complete the setup.

Config

When prompted that the MCP server does not exist, remind the user to configure the HASS_BASE_URL and HASS_ACCESS_TOKEN environment variables by executing the following command to add the configuration:

npx -y mcporter config add home-assistant \
  --transport http \
  --url "${HASS_BASE_URL:-http://homeassistant.local:8123}/api/mcp" \
  --header "Authorization=Bearer \${HASS_ACCESS_TOKEN}"

Usage

# Get states
npx -y mcporter call home-assistant.GetLiveContext

# Turn on the device
npx -y mcporter call home-assistant.HassTurnOn(name: "Bedroom Light")
npx -y mcporter call home-assistant.HassTurnOn(name: "Light", area: "Bedroom")

# Turn off the device
npx -y mcporter call home-assistant.HassTurnOff(name: "Bedroom Light")
npx -y mcporter call home-assistant.HassTurnOff(area: "Bedroom", domain: ["light"])

# Control light
# brightness: The percentage of the light, where 0 is off and 100 is fully lit.
# color: Name of color
npx -y mcporter call home-assistant.HassLightSet(name: "Bedroom Light", brightness: 50)

# Control fan
# percentage: The percentage of the fan, where 0 is off and 100 is full speed.
npx -y mcporter call home-assistant.HassFanSetSpeed(name: "Fan", area: "Bedroom", percentage: 80)

Execute the following command to learn about specific usage methods:

  • npx -y mcporter list home-assistant --schema --all-parameters

About mcporter

ユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数1.5K
評価4.3 / 5.0
バージョン
更新日2026年5月19日
比較事例1 件

ユーザー評価

4.3(36)
5
28%
4
50%
3
19%
2
3%
1
0%

この Skill を評価

0.0

対応プラットフォーム

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

タイムライン

作成2026年3月16日
最終更新2026年5月19日