Grid Accord

Note 014

Quickstart

Requires Node.js 22 or newer and pnpm 10. From a fresh clone:

pnpm install
pnpm test
pnpm dev:api

The API binds to 127.0.0.1 port 8787 unless PORT is set. In another shell, post the fictional fixture:

curl -s http://127.0.0.1:8787/v1/health
curl -s http://127.0.0.1:8787/v1/screens \
  -H 'content-type: application/json' \
  -d @packages/fixtures/examples/screen.json

The JSON file is a synthetic request shaped like a Florida Power & Light example. It is not the coverage map. Registered states are listed at /states. The response is an evidence envelope with nonproduction: true and charged_units: 0. Health and limits:

curl -s http://127.0.0.1:8787/v1/limits
curl -s http://127.0.0.1:8787/v1/openapi.json

Preview the site after a build:

pnpm build:site
pnpm --filter @grid-accord/site preview

The website demo does not call this API. It runs the same screen function in the browser. MCP is a separate process: stdio setup.