OpenClawHomeAssistant icon indicating copy to clipboard operation
OpenClawHomeAssistant copied to clipboard

bug: "mcporter not available" warning prevents out-of-the-box Home Assistant MCP auto-configuration

Open artiommocrenco opened this issue 4 months ago • 1 comments

Pre-flight checks

  • [x] I updated to the latest add-on version and restarted it.
  • [x] I checked the docs/troubleshooting section first.

What happened?

Because mcporter is not pre-packaged globally in the add-on's Docker container, the environment fails the command -v mcporter check on boot. Additionally, because the HAOS container filesystem is ephemeral, running a manual global installation (npm install -g mcporter) inside the web terminal gets completely wiped out when the add-on is restarted or rebuilt.

What did you expect to happen?

When AUTO_CONFIGURE_MCP is active and homeassistant_token is populated in the add-on's Configuration, the startup script should automatically register Home Assistant as an MCP server out of the box without requiring manual terminal setup or enabling special storage toggles.

Steps to reproduce

  1. Install a fresh copy of the OpenClaw Assistant Add-on on HAOS.
  2. In the add-on Configuration tab, input a valid Long-Lived Access Token into the homeassistant_token field.
  3. Start the add-on and open the logs.
  4. Notice the warning: INFO: mcporter not available; skipping MCP auto-configuration...
  5. Attempting to use HA tools fails because the MCP server was never registered.

Add-on version

0.5.81

OpenClaw version (if known)

2026.7.1

Access mode

lan_https

Add-on logs

INFO: mcporter not available; skipping MCP auto-configuration (run 'openclaw onboard' first)

Additional context

I currently solved it with this:

  1. Go to the Configuration tab of the OpenClaw Assistant add-on.
  2. Toggle Persist npm Global Skills to ON and click Save.
  3. Open the Web Terminal and install mcporter:
npm install -g mcporter
  1. Restart the add-on once more. The startup script will now find mcporter and successfully auto-configure the HA connection.

artiommocrenco avatar Jul 16 '26 07:07 artiommocrenco

This should be fixed in 0.5.84 now. Please test with the latest release and let me know if Home Assistant MCP auto-config works properly on your side.

techartdev avatar Jul 17 '26 13:07 techartdev