ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Home Assistant MCP Server

โดย jarahkonรุ่น 1.0.6i★ –iรันบนเครื่อง
ชื่อใน registryio.github.jarahkon/hass-mcp-server

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): 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

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.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": "ใส่ค่าของคุณ",
        "HA_TOKEN": "ใส่ค่าของคุณ",
        "HA_SSH_HOST": "ใส่ค่าของคุณ",
        "HA_SSH_PORT": "ใส่ค่าของคุณ",
        "HA_SSH_USER": "ใส่ค่าของคุณ",
        "HA_SSH_KEY_PATH": "ใส่ค่าของคุณ",
        "HA_SSH_PASSWORD": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add hass --env HA_URL='ใส่ค่าของคุณ' --env HA_TOKEN='ใส่ค่าของคุณ' --env HA_SSH_HOST='ใส่ค่าของคุณ' --env HA_SSH_PORT='ใส่ค่าของคุณ' --env HA_SSH_USER='ใส่ค่าของคุณ' --env HA_SSH_KEY_PATH='ใส่ค่าของคุณ' --env HA_SSH_PASSWORD='ใส่ค่าของคุณ' -- 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": "ใส่ค่าของคุณ",
        "HA_TOKEN": "ใส่ค่าของคุณ",
        "HA_SSH_HOST": "ใส่ค่าของคุณ",
        "HA_SSH_PORT": "ใส่ค่าของคุณ",
        "HA_SSH_USER": "ใส่ค่าของคุณ",
        "HA_SSH_KEY_PATH": "ใส่ค่าของคุณ",
        "HA_SSH_PASSWORD": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "hass": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "ใส่ค่าของคุณ",
        "HA_TOKEN": "ใส่ค่าของคุณ",
        "HA_SSH_HOST": "ใส่ค่าของคุณ",
        "HA_SSH_PORT": "ใส่ค่าของคุณ",
        "HA_SSH_USER": "ใส่ค่าของคุณ",
        "HA_SSH_KEY_PATH": "ใส่ค่าของคุณ",
        "HA_SSH_PASSWORD": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • 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)

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub jarahkon ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศi

  • ดาวมากกว่า 0% ของอีก 3590 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 5% ของอีก 3590 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 3590 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Home Assistant MCP Server ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: HA_URL, HA_TOKEN, HA_SSH_PASSWORD

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.6) เข้า registry 8 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Agent-Native Calendar

Agent-Native Google Calendar - manage events, sync, and public booking

โดย BuilderIOใช้กันมาก★ 7.6Kอัปเดต 2 เดือนที่ผ่านมา

รันบนคลาวด์

Excel MCP Server

ให้ AI สร้างและแก้ไฟล์ Excel ได้เอง ทั้งสูตร กราฟ และ PivotTable โดยไม่ต้องมีโปรแกรม Excel ในเครื่อง

โดย haris-musaใช้กันมาก↓ 49.6K/สัปดาห์★ 4.3Kอัปเดต 8 วันที่ผ่านมา

รันบนเครื่อง

MCP Server for Excel

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

โดย sbroenneกำลังโต↓ 4.3K/สัปดาห์★ 847อัปเดต 5 วันที่ผ่านมา

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx