Blackstart MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Blackstart
Keep the essentials. Know the limit.
A portable-battery outage rehearsal for renters, with a working MCP server and an Alexa+ conversational simulator. Built for Build, Ship, Shape: Amazon Developer Hackathon 2026 — Alexa+ track.
Blackstart turns a battery's nameplate capacity into a specific plan: which appliances can stay on, what must wait, and which constraint breaks first. It distinguishes stored energy (Wh), running power (W), startup demand (W), and a reserve the planner cannot spend.
Run it in under a minute
Install Node.js 22 or later from nodejs.org. No package installation, account, API key, hardware, or paid service is needed.
node server.mjsOpen http://127.0.0.1:4173. The MCP endpoint is http://127.0.0.1:4173/mcp.
node --testThe test suite includes hand-calculated energy balances, an impossible target, protected-load preservation, charge at or below reserve, separate running/surge failures, a deterministic scenario sweep, and real HTTP MCP discovery and execution.
Related MCP server: mcp-ess-proposal
Judge's walkthrough
Open the app. The synthetic 1,536 Wh battery starts at 80% charge, retains a 15% nameplate reserve, and uses 88% conversion efficiency. That leaves 878.592 AC Wh above reserve.
All five appliances last 4.48 hours in the high-use scenario. The optimizer protects the refrigerator and router, adds the higher-priority 9 W light, and defers the fan and laptop. The recommended 101 W total reaches reserve in 8.70 hours.
Click What if it lasts 12 hours? The protected pair needs 1,104 Wh. Blackstart reports a 225.408 Wh shortfall and preserves the protected loads. It does not claim the target is achievable.
Reset; click Can I add a kettle? The sample 1,800 W kettle exceeds the 1,500 W continuous rating even by itself. Extra battery capacity cannot fix that mismatch.
Reset; edit the refrigerator's high-use duty cycle, protect a different appliance, or change starting charge. Every result is recalculated through MCP.
Open the calculation receipt and live MCP tool trace. These expose the inputs, formulas, tool requests, and structured results behind the answer.
What actually works
Dependency-free Node.js server implementing the tool-serving subset of MCP 2025-11-25 over Streamable HTTP, with JSON responses, initialization, notification handling, tool discovery, tool execution, and ping.
Three runtime tools:
get_outage_example,plan_backup_power, andcompare_outage_plan.A deterministic, bounded subset optimizer (up to 12 loads) that retains all enabled protected loads and compares optional loads lexicographically by priority.
Separate energy, continuous power, and simultaneous-start surge constraints.
Typical and high-use duty-cycle scenarios; no invented confidence intervals.
Responsive browser UI, editable appliance assumptions, typed follow-ups, optional browser speech playback, and a downloadable JSON receipt.
Local-only operation, no telemetry or external requests, local Origin/Host checks, and a restrictive content security policy.
What this is not
The browser is an explicitly labeled rule-based conversational simulator, not an LLM or an authenticated Alexa+ connection. It invokes the real MCP tools; it does not imitate Amazon's private API. It does not control appliances, measure battery telemetry, forecast grid restoration, guarantee internet availability, or model food/medicine temperatures. It is not validated for medical equipment. No AWS service is used in this version, and no AWS Builder qualification is claimed.
The browser maintains the active scenario in memory. Reloading resets it. Export the receipt to preserve the inputs and result. The local app can run without internet while its laptop has power; Alexa itself and home internet may be unavailable during an outage, so the primary use is rehearsal before an outage.
Calculations
usable DC Wh = capacity Wh × max(0, charge % − reserve %) / 100
usable AC Wh = usable DC Wh × efficiency % / 100
high-use draw W = Σ(running W × high-use duty % / 100) + idle W
target energy Wh = high-use draw W × target hours
runtime to reserve h = usable AC Wh / high-use draw W
continuous peak W = Σ(running W)
simultaneous startup W = Σ(startup W)Idle power is explicitly AC-equivalent overhead and is charged when at least one load is selected. A startup assumption is a bound supplied by the user, not a measurement. The prototype checks startup power but does not model transient duration or waveform. Actual temperature, battery age, varying inverter efficiency, unmodeled load variation, and rating accuracy can change real runtime. Solar input is zero. A successful calculation is conditional on these inputs.
Architecture
The web simulator initializes an MCP client, discovers tools, and sends tools/call requests to /mcp. The server dispatches those requests to the same pure planning engine used by the tests. The engine validates the inputs and returns structured calculations plus a concise spoken summary. The browser renders a chart, load selection, physical-limit checks, and the underlying calculation receipt.
File | Responsibility |
| HTTP transport, MCP lifecycle, tool dispatch, local origin restrictions, static app |
| Validation, energy accounting, constraints, subset selection, scenarios |
| Discoverable tool schemas and handlers |
| UI, conversation intent rules, MCP client, chart and receipt |
| Calculation and transport tests |
Root Markdown documents | Submission text, feedback, friction log, demo script |
The HTTP implementation intentionally supports the required read-only tool subset. It does not offer server-initiated SSE events, subscriptions, remote OAuth, or sampling. GET /mcp returns 405 as permitted for servers without a standalone event stream. Do not expose this local development service publicly without adding deployment-appropriate authentication and TLS.
Connect an MCP client
Use the Streamable HTTP URL http://127.0.0.1:4173/mcp, initialize with version 2025-11-25, and include Accept: application/json, text/event-stream. Subsequent calls send MCP-Protocol-Version: 2025-11-25. Begin with get_outage_example, then pass the returned object to plan_backup_power.
An agent should ask for missing ratings, use spokenSummary to answer, preserve protected loads, and describe all results as conditional estimates. See agent instructions and testing instructions.
Build provenance
New project created during the October 2026 submission window for Liam Stutz. Developed with substantial AI assistance through ChatGPT/Codex, including implementation, tests, interface, and draft submission material. The current project has not been field-tested with battery hardware or independently validated by users. No claims of interviews, deployments, measured savings, or production Alexa access are made.
MIT licensed. All sample household data is synthetic. No third-party music, stock footage, or product logos are included.
References
The planning assumptions are illustrative engineering inputs, not sourced appliance specifications.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Solar, weatherization, EV charging, battery and heat-pump decision tools for AI agents.
BusCalc provides business and trade calculations, Road Atlas lookups, and tools for AI assistants. Workload Relay includes Bid Capacity Review for staffing, cash reserves, and start-date options, plus Enterprise Capacity Portfolio for prioritizing work across teams, equipment, and budgets. Successful calculations return results, units, formulas, assumptions, and unsigned replayable receipts. Separate tools replay receipts and verify record proofs. Community road observations are unverified. Supports MCP 2026-07-28, 2025-11-25, 2025-06-18, and 2025-03-26 through the same Streamable HTTP endpoint. Direct access requires no account or key. Shared limits apply. Guide and OpenAPI: https://buscalc.com/for-ai/
Verified home backup power catalog: standby and portable generators, power stations, sizing.
BusCalc 1.8.0 exposes 33 public tool families: 26 calculations and seven attributed data lookups. Calculate business pricing, finance, uncertainty, lease economics and emergency dispatch margins. Look up metals, energy, exchange rates, weather, BLS, USDA, Census and selected emergency sources, including NOAA gauges and USGS flood-impact points. Calculations include unsigned replayable receipts. Lookup results include source and observation dates where available. Road and outage coverage varies by location. The public Streamable HTTP endpoint is https://buscalc.com/api/mcp. Direct access is anonymous and rate limited. Full guide: https://buscalc.com/for-ai/
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables home solar energy planning by estimating PV output, validating consumption plans against generation and battery constraints, and automatically shifting flexible loads to ensure power availability during scheduled outages.-
- AlicenseAqualityCmaintenanceGenerates deterministic solar and energy storage system preliminary proposal calculations from structured customer inputs.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables conversational home power management by providing real-time solar, battery, and grid status, plus forecasts to answer questions like whether you can run an appliance. It supports Victron and Growatt inverters, remembers household appliances and grid events, and renders an interactive dashboard card in MCP-compatible clients.6 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables comparing and ranking portable battery power stations and solar generator bundles by load, runtime, use case, solar charging, portability, battery chemistry, and budget, with modeled estimates and shopping guidance.-