プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Home Assistant MCP Server

作者:jarahkonバージョン 1.0.6i★ –iパソコンで動く
レジストリ名io.github.jarahkon/hass-mcp-server

インストール

概要

作者による説明(英語の原文)

MCP server for full Home Assistant control — dashboards, files, automations, add-ons, and more

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 文書・表計算・事務作業
  • 入力が必要なもの:HA_URL, HA_TOKEN, HA_SSH_PASSWORD

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: HA_URL, HA_TOKEN, HA_SSH_HOST, HA_SSH_PORT, HA_SSH_USER, HA_SSH_KEY_PATH, HA_SSH_PASSWORD

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "hass": {
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "your-value",
        "HA_TOKEN": "your-value",
        "HA_SSH_HOST": "your-value",
        "HA_SSH_PORT": "your-value",
        "HA_SSH_USER": "your-value",
        "HA_SSH_KEY_PATH": "your-value",
        "HA_SSH_PASSWORD": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add hass --env HA_URL=your-value --env HA_TOKEN=your-value --env HA_SSH_HOST=your-value --env HA_SSH_PORT=your-value --env HA_SSH_USER=your-value --env HA_SSH_KEY_PATH=your-value --env HA_SSH_PASSWORD=your-value -- npx -y @jarahkon/hass-mcp-server

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "hass": {
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "your-value",
        "HA_TOKEN": "your-value",
        "HA_SSH_HOST": "your-value",
        "HA_SSH_PORT": "your-value",
        "HA_SSH_USER": "your-value",
        "HA_SSH_KEY_PATH": "your-value",
        "HA_SSH_PASSWORD": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "hass": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "your-value",
        "HA_TOKEN": "your-value",
        "HA_SSH_HOST": "your-value",
        "HA_SSH_PORT": "your-value",
        "HA_SSH_USER": "your-value",
        "HA_SSH_KEY_PATH": "your-value",
        "HA_SSH_PASSWORD": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • HA_URL 必須 env
    Home Assistant base URL (e.g. http://homeassistant.local:8123)
  • HA_TOKEN 秘密 必須 env
    Home Assistant long-lived access token
  • HA_SSH_HOST env
    SSH hostname for file management (optional)
  • HA_SSH_PORT env
    SSH port (default: 22)
  • HA_SSH_USER env
    SSH username (must be root)
  • HA_SSH_KEY_PATH env
    Path to SSH private key
  • HA_SSH_PASSWORD 秘密 env
    SSH password (alternative to key)

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月10日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント jarahkon で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

文書・表計算・事務作業のほかのサーバーとの比較i

  • このカテゴリのほかの3669件のうち0%よりスターが多い
  • このカテゴリのほかの3669件のうち5%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの3669件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Home Assistant MCP Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:HA_URL, HA_TOKEN, HA_SSH_PASSWORD

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.6)がレジストリに届いたのは8 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Excel MCP Server

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

作者:haris-musa広く使われている↓ 5万/週★ 4276今日更新

パソコンで動く

MCP Server for Excel

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

作者:sbroenne成長中↓ 4321/週★ 8477 日前更新

パソコンで動く

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

hass-mcp-server

MCP server for full Home Assistant control. AI agents (GitHub Copilot, Claude, etc.) can manage your dashboards, automations, files, apps, entities, and more — so you never have to touch HA settings yourself.

Features

  • Dashboard management — Create, update, delete Lovelace dashboards and deploy full dashboard configs
  • File management — Upload, read, list, and delete files on your HA instance via SFTP (e.g. custom cards, images, HTML files)
  • Automations, scripts, scenes — Full CRUD for automations, scripts, and scenes
  • Input helpers — Create and manage input_boolean, input_number, input_text, input_select, input_datetime, input_button, counter, and timer helpers
  • App management — Install, start, stop, restart, uninstall, and configure apps (add-ons)
  • Entity & service control — Query states, call services, render templates, browse entity/device/area registries
  • System tools — System info, config validation, backups, core restart, error log
  • Event & calendar tools — List event types, fire events, calendar queries
  • State management — Set, delete entity states; handle intents

66 tools across 5 categories, using three HA transport layers: REST API, WebSocket API, and SSH/SFTP.

Prerequisites

  • Home Assistant OS (or any HA installation with Supervisor)
  • Long-lived access token — Create one in HA → Profile → Security → Long-Lived Access Tokens
  • Node.js 20+
  • (Optional) SSH app — Required only for file management tools. Install "Advanced SSH & Web Terminal" from the app store.

Quick Start

No installation needed — your MCP client runs the server automatically via npx. Just add the configuration to your client and you're ready to go.

Configuration

The server is configured through environment variables set in your MCP client's configuration file. The client injects these into the server process at launch time — you never need to set system-wide environment variables.

Required Variables
VariableDescriptionExample
HA_URLHome Assistant base URLhttp://homeassistant.local:8123
HA_TOKENLong-lived access token*(from HA Profile → Security)*
Optional Variables (for file management)

File management tools require SSH access. See Setting Up SSH below.

VariableDescriptionExample
HA_SSH_HOSTSSH hostnamehomeassistant.local
HA_SSH_PORTSSH port (default: 22)22
HA_SSH_USERSSH username (must be root)root
HA_SSH_KEY_PATHPath to SSH private keySee examples per OS
HA_SSH_PASSWORDSSH password (alternative to key)*(your password)*
Getting a Long-Lived Access Token
  1. Open your Home Assistant UI
  2. Click your profile icon (bottom-left)
  3. Scroll to Long-Lived Access Tokens under the Security tab
  4. Click Create Token, give it a name, and copy the token

MCP Client Setup

Choose the setup for your MCP client below. In each case, add the configuration and the client will automatically download and run the server via npx.

Tip: You can omit the HA_SSH_* variables if you don't need file management tools. The server will start without SFTP and only fail if you try to use a file tool.

VS Code (GitHub Copilot)
Option A: Install the extension (recommended)

The easiest way — install the Home Assistant MCP Server extension from the VS Code Marketplace. It registers the MCP server automatically and stores your credentials securely.

  1. Install the extension from the Marketplace (or search "Home Assistant MCP Server" in the Extensions view).
  2. Set your Home Assistant URL in Settings → homeAssistantMcp.url.
  3. Run "Home Assistant MCP: Set Access Token" from the Command Palette (Ctrl+Shift+P).
  4. The MCP server appears in Copilot Chat automatically.

For file management, configure the SSH settings (homeAssistantMcp.ssh.*) and optionally run "Home Assistant MCP: Set SSH Password".

Option B: One-click install via mcp.json

Click the badge at the top of this README, or use the link below. VS Code will prompt you for your Home Assistant URL and access token.

Option C: Manual mcp.json setup

Create .vscode/mcp.json in your workspace (or add to your User Settings for global access):

{

"inputs": [ { "type": "promptString", "id": "ha-url", "description": "Home Assistant base URL (e.g. http://homeassistant.local:8123)" }, { "type": "promptString", "id": "ha-token", "description": "Home Assistant long-lived access token", "password": true } ], "servers": { "home-assistant": { "type": "stdio", "command": "npx", "args": ["-y", "@jarahkon/hass-mcp-server@latest"], "env": { "HA_URL": "${input:ha-url}", "HA_TOKEN": "${input:ha-token}" } } } }

With SSH (for file management tools):

{

"inputs": [ { "type": "promptString", "id": "ha-url", "description": "Home Assistant base URL (e.g. http://homeassistant.local:8123)" }, { "type": "promptString", "id": "ha-token", "description": "Home Assistant long-lived access token", "password": true } ], "servers": { "home-assistant": { "type": "stdio", "command": "npx", "args": ["-y", "@jarahkon/hass-mcp-server@latest"], "env": { "HA_URL": "${input:ha-url}", "HA_TOKEN": "${input:ha-token}", "HA_SSH_HOST": "homeassistant.local", "HA_SSH_USER": "root", "HA_SSH_KEY_PATH": "/home/you/.ssh/ha_ed25519" } } } }

Claude Desktop

Edit the Claude Desktop config file:

OSConfig file path
Windows%APPDATA%\Claude\claude_desktop_config.json
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json
{

"mcpServers": { "home-assistant": { "command": "npx", "args": ["-y", "@jarahkon/hass-mcp-server@latest"], "env": { "HA_URL": "http://homeassistant.local:8123", "HA_TOKEN": "your_long_lived_access_token_here" } } } }

Cursor

Edit ~/.cursor/mcp.json:

{

"mcpServers": { "home-assistant": { "command": "npx", "args": ["-y", "@jarahkon/hass-mcp-server@latest"], "env": { "HA_URL": "http://homeassistant.local:8123", "HA_TOKEN": "your_long_lived_access_token_here" } } } }

Other MCP Clients

Any MCP client that supports stdio servers will work. Use npx as the command with -y @jarahkon/hass-mcp-server@latest as args, and pass HA_URL and HA_TOKEN in the env block.

Setting Up SSH (for file management)

File management tools (ha_upload_file, ha_read_file, ha_list_files, etc.) require SSH access to your Home Assistant instance.

1. Install the SSH app in Home Assistant
  1. In HA, go to Settings → Apps → App Store
  2. Install Advanced SSH & Web Terminal
  3. In the app configuration, set the username to root (required for SFTP) and enable sftp: true
  4. Configure authentication — either set a password or add your public key to authorized_keys (recommended)
  5. Start the app and check the logs to confirm it started successfully
2. Generate an SSH key (recommended)

Key-based authentication is more secure than passwords.

# Generate a key pair (leave passphrase empty for automated use)

ssh-keygen -t ed25519 -f ~/.ssh/ha_ed25519 -C "ha-mcp-server"

This creates ~/.ssh/ha_ed25519 (private key) and ~/.ssh/ha_ed25519.pub (public key).

Add the public key contents to the app configuration in HA:

ssh:

username: root password: "" authorized_keys:

  • "ssh-ed25519 AAAA...contents of ha_ed25519.pub..." sftp: true
3. Add SSH variables to your MCP client config

Add these environment variables alongside HA_URL and HA_TOKEN in the env block of your MCP client configuration:

"HA_SSH_HOST": "homeassistant.local",

"HA_SSH_USER": "root", "HA_SSH_KEY_PATH": "/home/you/.ssh/ha_ed25519"

Or if using password authentication:

"HA_SSH_HOST": "homeassistant.local",

"HA_SSH_USER": "root", "HA_SSH_PASSWORD": "your_ssh_password_here"

SSH key path examples
OSExample HA_SSH_KEY_PATH
WindowsC:/Users/you/.ssh/ha_ed25519
macOS/Users/you/.ssh/ha_ed25519
Linux/home/you/.ssh/ha_ed25519

Tool Reference

Dashboards (6 tools)
ToolDescription

| `ha_list_dashb

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く