Lumenhaus Energy
v0.1.0Read-only MCP server for Lumenhaus Energy sites, devices, charging sessions, and energy history.
Values you need
| Variable | What it is | |
|---|---|---|
LUMENHAUS_API_BASE_URL | required | Lumenhaus Energy API base URL. Default: https://api.ecoflare.com/cloud/ |
LUMENHAUS_ACCESS_TOKEN | required secret | Your short-lived Lumenhaus Bearer token. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add lumenhaus-energy-mcp -e 'LUMENHAUS_ACCESS_TOKEN=<LUMENHAUS_ACCESS_TOKEN>' -e LUMENHAUS_API_BASE_URL=https://api.ecoflare.com/cloud/ -- npx -y lumenhaus-energy-mcp@0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"lumenhaus-energy-mcp": {
"args": [
"-y",
"lumenhaus-energy-mcp@0.1.0"
],
"command": "npx",
"env": {
"LUMENHAUS_ACCESS_TOKEN": "<LUMENHAUS_ACCESS_TOKEN>",
"LUMENHAUS_API_BASE_URL": "https://api.ecoflare.com/cloud/"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"lumenhaus-energy-mcp": {
"args": [
"-y",
"lumenhaus-energy-mcp@0.1.0"
],
"command": "npx",
"env": {
"LUMENHAUS_ACCESS_TOKEN": "<LUMENHAUS_ACCESS_TOKEN>",
"LUMENHAUS_API_BASE_URL": "https://api.ecoflare.com/cloud/"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "LUMENHAUS_ACCESS_TOKEN",
"id": "lumenhaus-access-token",
"password": true,
"type": "promptString"
},
{
"description": "LUMENHAUS_API_BASE_URL",
"id": "lumenhaus-api-base-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"lumenhaus-energy-mcp": {
"args": [
"-y",
"lumenhaus-energy-mcp@0.1.0"
],
"command": "npx",
"env": {
"LUMENHAUS_ACCESS_TOKEN": "${input:lumenhaus-access-token}",
"LUMENHAUS_API_BASE_URL": "${input:lumenhaus-api-base-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.lumenhaus-energy-mcp]
command = "npx"
args = ["-y", "lumenhaus-energy-mcp@0.1.0"]
env = { "LUMENHAUS_ACCESS_TOKEN" = "<LUMENHAUS_ACCESS_TOKEN>", "LUMENHAUS_API_BASE_URL" = "https://api.ecoflare.com/cloud/" }For AI agents
- Ask the user for: LUMENHAUS_API_BASE_URL, LUMENHAUS_ACCESS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_sites, get_site_overview, list_site_devices, get_device_details, get_site_energy_history, get_sunsaver_energy_history, get_sunsaver_soc_history, get_sunmini_energy_history, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json