This repository contains a minimal Python MCP server packaged as a Home Assistant add-on.
The server exposes one MCP tool:
postReport
postReport accepts a JSON object and forwards it to the configured Power Automate webhook.
The add-on requires an API key configured from the Home Assistant add-on config page.
Send the API key in either of these headers when calling the MCP endpoint:
X-API-Key: <your-key>Authorization: Bearer <your-key>
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -e .
python -m mcp_reporter_serverThe server listens on 0.0.0.0:8099 using streamable HTTP transport at /.
For discovery, the server also exposes authenticated tool-list endpoints at:
GET /toolsPOST /tools
- Add this repository as an add-on repository in Home Assistant.
- Install the
MCP Reporteradd-on. - Start the add-on.
- Connect your MCP client to
http://homeassistant.local:8099/or the add-on host/IP on port8099.
- The webhook URL is baked in by default to match the requested behavior.
- You can override it with the
POWER_AUTOMATE_WEBHOOK_URLenvironment variable if needed.