MCP server: AI assistants that understand the building
Through the Model Context Protocol (MCP), AI assistants such as Claude or ChatGPT connect directly to Energy Manager. They read the balance, tariffs and weather and, if the person allows it, switch operating modes and set charge targets. Always with the person's rights, never more.
An example
"I'm leaving tomorrow at 7. Charge the car as cheaply as possible by then, sun first." The assistant queries energy, the tariff forecast and the weather, proposes a charge target, shows its effect as a preview and sets it only after the person says yes.
The tools
| Area | Tools |
|---|---|
| Energy | list_units, get_energy_now, get_energy_history |
| Tariffs and weather | get_tariff_now, get_tariff_forecast, get_weather_forecast |
| Read control | list_modes, list_optimizations, get_optimization_plan, list_alarms |
| ZEV and LEG | list_communities, get_billing_basis (with the property manager's rights) |
| Control, two-step | preview_charger_mode / set_charger_mode, preview_charge_target / set_charge_target, preview_optimization / toggle_optimization |
Secure by construction
- No rights of its own: the MCP server only forwards the person's token; every check in the API applies unchanged.
- Agents are narrower than their person: grade
readreads only, gradecontrolalso operating mode, charge target and optimisation. An agent never changes users, apartments, gateways or safety limits. - Preview before every change: a
preview_*tool shows the affected devices, the mode it replaces and the limits that stay in force; the change needs the confirmation it returns, valid for 5 minutes. - Audit log: every change by an agent is visible in the app under AI assistants, with tool and result; access can be revoked there.
- Standard sign-in: OAuth 2.1 with PKCE and dynamic client registration; personal tokens for your own scripts, valid for at most 365 days.
- No language model in the platform: the assistant brings its own model; forecasts and optimisation run on our own infrastructure.
How to connect an assistant
- Add the tenant's MCP server in the assistant:
https://<tenant>.energy-manager.com/mcp. - The assistant signs in through OAuth; in the Energy Manager app the person confirms the access and chooses read or control.
- From then on the assistant acts with that person's rights; access can be revoked in the app at any time.
Frequently asked questions
What is an MCP server?
The Model Context Protocol (MCP) is an open standard through which AI assistants use the tools of external systems. The Energy Manager MCP server provides energy balance, tariffs, weather, operating modes and charge targets as such tools.
Can an AI agent switch something in the building by accident?
No. Control needs the control grade, which the person grants. Every change shows a preview first and needs a confirmation; safety limits such as the grid import limit stay in force, and every action is logged.
Which AI assistants work?
Any assistant that supports MCP over Streamable HTTP with OAuth, for example Claude or ChatGPT with MCP connectors. Your own scripts use personal tokens.
Does the agent see other apartments' data?
No. It sees exactly what the signed-in person sees in the app, nothing more.
Your building in the demo environment
We show the multi-family building, ZEV, resident app, admin interface and gateway on an example building.