Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

ESPHome MCP

Community server for the ESPHome Device Builder dashboard, now mostly worth running for its six log and diagnostic tools.

Reviewed by ReviewRamble editors · Updated

Setup docs Open source

Share this page:XLinkedInFacebookRedditWhatsAppEmail

Our rating

3.3/5

ESPHome's own dashboard now covers everyday device work over MCP, so this server earns a place only for its logs, crash decoding and config search, and only on a trusted network.

What is ESPHome MCP?

ESPHome MCP, from the GitHub user loryanstrant, connects an MCP client to the ESPHome Device Builder dashboard that shipped with ESPHome 2026.6. Its 16 tools list devices, read, edit and validate device YAML, stream device logs, probe connectivity, decode crash backtraces and compile and flash firmware over the air. It is a fork of kdkavanagh/esphome-mcp with the transport rewritten for the dashboard's new WebSocket protocol.

Since ESPHome 2026.10.0 the dashboard ships its own MCP endpoint at /api/mcp with 21 tools, and the README now presents this project as a diagnostic companion to it. It is MIT-licensed, written in Python, has about 39 stars on GitHub and published release 2026.09.0 on 28 September 2026, followed by a documentation-only changelog entry for 2026.10.0 on 26 October.

How to install ESPHome MCP

git clone https://github.com/loryanstrant/ESPHome-MCP.git && cd ESPHome-MCP && cp .env.example .env && docker compose up -d --build

Is ESPHome MCP worth it?

Most ESPHome users no longer need this server for editing. ESPHome 2026.10.0 bundles Device Builder 1.25.0, which answers MCP requests at /api/mcp with 21 tools of its own, and this project's README says so at the top. Ten of its 16 tools overlap the built-in set. The author measured both against a live 2026.10.0 dashboard and reports byte-for-byte identical YAML from the two config readers and the same validation verdicts.

What remains is a diagnostic kit. Six tools have no built-in equivalent: get_device_logs, troubleshoot_device for DNS, mDNS and ping checks, decode_device_backtrace, migrate_device_configuration, search_device_configurations and get_esphome_schema, which can describe a component for an ESPHome version other than the one the dashboard runs. Output is also smaller. For 38 devices the README measured a 9.4 kB device list here against 42.7 kB from the built-in endpoint, and list_device_names returns 0.6 kB.

The safety picture favours the built-in server. Its update_config refuses to save unless the client sends back the text it read, so an agent cannot overwrite a file that changed underneath it; this server's edit_device_configuration writes regardless. Two tools compile and flash firmware over the air. A bad YAML change flashed to a board can leave it offline or boot-looping until someone reflashes it over USB, and for an offline device the dashboard arms the flash for its next check-in, which the server reports as COMPILED, FLASH DEFERRED.

This server logs in to the dashboard with a username and password from .env, so clients that cannot send headers can use it, but its own HTTP endpoint on port 8080 has no authentication; the README warns that anything that can reach it can drive the dashboard, firmware installs included. Home Assistant's own MCP server is a different tool again: it controls the entities ESPHome devices expose and does not touch their configs. The author's stated plan is to offer the six unique tools upstream and retire the repo, which makes this a bridge to run alongside the built-in server for now.

Where it earns its place

  • A homeowner running 38 ESPHome sensors and relays

    Find out why one sensor keeps dropping off the network

    Ask the agent to run troubleshoot_device for DNS, mDNS and ping, then pull recent logs with get_device_logs. No firmware changes are involved, so the risk is low; the server is free and runs in its own container.

  • A maker maintaining a fleet of ESP32 boards after an ESPHome upgrade

    Find every config that uses a renamed key and fix it

    search_device_configurations finds the string across all devices, and migrate_device_configuration shows the respelled YAML as a dry run by default. Save through the built-in update_config, which refuses to overwrite a file that changed.

  • A firmware developer chasing a crash on a custom component

    Turn a backtrace from a rebooting board into source locations

    Paste the backtrace and let decode_device_backtrace map it to files and lines. This saves a manual addr2line session; flashing a fix stays a deliberate step you approve, since a bad flash can need a USB recovery.

Before you commit

Setup
Clone the repo, copy .env.example to .env with ESPHOME_DASHBOARD_URL and, if the dashboard has a password, the username and password, then docker compose up -d --build. Point the client at http://<host>:8080/mcp, or run esphome-mcp for stdio. Python 3.13 or newer for a non-Docker install.
Integrations
16 tools over the Device Builder WebSocket protocol, written against Device Builder 1.14.x and verified against 1.25.0. Streamable HTTP and stdio. Runs alongside the dashboard's built-in /api/mcp, which offers 21 tools including automation editing, component catalogues and job control.
Data and privacy
Runs on your network and talks only to your dashboard; device YAML, which can contain Wi-Fi details unless kept in secrets, goes to your model provider. The HTTP endpoint on port 8080 has no authentication of its own, so keep it off untrusted networks.
Cost at scale
Free under MIT. The only costs are the host it runs on and model tokens, where its 9.4 kB device list for 38 devices is cheaper to read than the built-in 42.7 kB.
Limits
edit_device_configuration overwrites without checking for changes. install_device_configuration and update_device flash firmware and are destructive. The registry image is not yet published, so it builds locally. The README says the project will be retired once its tools are upstream.

What’s good

  • Six diagnostic tools the built-in server lacks
  • Device list about 4.5 times smaller for 38 devices
  • Logs in itself, so header-less clients work
  • Healthcheck does a full MCP handshake

What’s not

  • Its own port 8080 has no authentication
  • No overwrite guard on config saves
  • Can compile and flash firmware over the air
  • Author plans to retire it once tools go upstream

Best for

ESPHome users on 2026.10 or later who already use the dashboard's built-in MCP server and want an agent to read device logs, decode crashes and search every config at once.

ESPHome MCP alternatives

ESPHome MCP: common questions

Is ESPHome MCP worth it?
ESPHome's own dashboard now covers everyday device work over MCP, so this server earns a place only for its logs, crash decoding and config search, and only on a trusted network. We rate it 3.3 out of 5.
How much does ESPHome MCP cost?
Free and open source (MIT). ESPHome and its dashboard are free as well.
What are the downsides of ESPHome MCP?
Its own port 8080 has no authentication; no overwrite guard on config saves; can compile and flash firmware over the air; author plans to retire it once tools go upstream.
Who is ESPHome MCP best for?
ESPHome users on 2026.10 or later who already use the dashboard's built-in MCP server and want an agent to read device logs, decode crashes and search every config at once.
How much does ESPHome MCP cost for a team or in production?
Free under MIT. The only costs are the host it runs on and model tokens, where its 9.4 kB device list for 38 devices is cheaper to read than the built-in 42.7 kB.
Is ESPHome MCP safe for company data?
Runs on your network and talks only to your dashboard; device YAML, which can contain Wi-Fi details unless kept in secrets, goes to your model provider. The HTTP endpoint on port 8080 has no authentication of its own, so keep it off untrusted networks.
What are the best ESPHome MCP alternatives?
The closest alternatives we have reviewed are Home Assistant MCP Server, HA-MCP and Arduino MCP Server.

Answers checked Nov 27, 2026.