Skip to content
Use case

Control your smart home with an AI assistant

Home automation servers connect an assistant to your smart home, most often through Home Assistant. It can read sensor values, check whether a door is locked, switch lights and plugs, set a thermostat, and help write automations in the right YAML format. That makes it easy to ask what used the most energy this week or to set up an evening routine by describing it. These servers act on physical devices, so use a long-lived token for a dedicated user, keep locks and alarms out of scope at first, and keep the server on your local network.

47 matching serversRanked by trust score
Try it

Example prompts

Paste one into Claude, Cursor, or any MCP client once a matching server is installed.

  • Which lights are on right now, and turn off the ones downstairs.

  • What was the average temperature in the bedroom last night?

  • Write a Home Assistant automation that dims the living room lights at sunset.

Top matches

MCP servers for home automation

The 12 strongest of 47 matching servers. Servers that name the topic directly come first.

  • Trust score 55 of 100, Fair

    Offline MCP server for navigating the OASIS MQTT 3.1.1 and 5.0 specifications

    Registry
    — stars—/wk weekly downloads— tools
  • Trust score 52 of 100, Fair

    Control your Philips lights, Sonos speakers, Roborock vacuums and more with Port OS cloud.

    RegistryRemote
    — stars—/wk weekly downloads— tools
  • Trust score 52 of 100, Fair

    Yeelight device discovery, state, control, and scene execution.

    RegistryRemote
    — stars—/wk weekly downloads— tools
  • Trust score 50 of 100, Fair

    MCP server for AWS IoT Core: device registry, shadows, jobs, rules, messaging.

    Registry
    — stars—/wk weekly downloads— tools
  • Trust score 50 of 100, Fair

    MCP server for Azure IoT Hub: device registry, twins, methods, jobs, messaging.

    Registry
    — stars—/wk weekly downloads— tools
  • Trust score 50 of 100, Fair

    MCP server for MQTT 5.0 brokers (publish, subscribe, topic discovery).

    Registry
    — stars—/wk weekly downloads— tools
  • Embedded / IoT Mentor logo
    Trust score 47 of 100, Fair

    Embedded/IoT mentor: picks the board and toolchain, estimates cost and battery life.

    Registry
    — stars—/wk weekly downloads— tools
  • Trust score 40 of 100, Fair

    Vibecode your Home Assistant setup from your IDE: automations, dashboards, themes and configs

    Registry
    — stars—/wk weekly downloads— tools
  • Trust score 37 of 100, Limited

    Local-first MCP server for Shelly smart-home devices (Gen1-Gen4): control, energy, automation.

    Registry
    0 stars—/wk weekly downloads— tools
  • Trust score 37 of 100, Limited

    Home Assistant and ESPHome for coding agents: states, services, automations, dashboards, flashing.

    Registry
    0 stars—/wk weekly downloads— tools
  • Chirp Home Automation logo
    Trust score 32 of 100, Limited

    Check, add and control the smart home sensors and automations in your own Chirp home.

    RegistryRemote
    0 stars—/wk weekly downloads— tools
  • Kilo IoT Platform logo
    Trust score 32 of 100, Limited

    The IoT platform where AI controls real-world devices: read, provision, automate and command.

    RegistryRemote
    0 stars—/wk weekly downloads— tools
Setup

How to set it up

  1. Pick a server. MQTT Specification is the strongest match. Check its tools and the API keys it needs on its page.
  2. Copy the config for your client. Open the install guide for Claude Desktop, Claude Code, Cursor, or VS Code, and paste the generated block into the client's config file. The client guides show where each config file lives.
  3. Restart and try a prompt. Restart the client so it loads the server, then paste one of the example prompts above.
FAQ

Questions about home automation

What is the best MCP server for home automation?

MQTT Specification ranks first here with a trust score of 55/100, followed by Port OS Smart Home (52) and Yeelight IoT MCP Server (52). Servers that name the topic directly come first, each group ordered by the public trust score, which nobody can pay for. See the methodology for how it is calculated.

How do I set up MQTT Specification in Claude or Cursor?

Open the install guide for Claude Desktop or Cursor, copy the generated config into the client's config file, add any API keys the server asks for, then restart the client. The client guides cover VS Code, Claude Code, Windsurf, and more.

Can I use a hosted server instead of installing one locally?

4 of the 12 servers listed here can connect remotely over HTTP, so there is nothing to run on your machine: Port OS Smart Home, Yeelight IoT MCP Server, Chirp Home Automation, and others. The rest run locally over stdio.

How many MCP servers can do this?

MCPpedia lists 47 published servers that match this use case. This page shows the 12 strongest matches; thin and duplicate listings are left out.

Keep exploring
All use cases