- /api/v1/* REST endpoints: health, model catalog (vehicles, functions,
distributions, profiles, defaults), and simulate. Accepts functionCounts
and/or functionBvoM2 (auto-converted via DEFAULT_BVO_PER_UNIT). Runs 2500
Monte Carlo iterations by default; response adds a labeled `summary`
(totalLengthM, totalAreaM2, per-vehicle + per-cluster) alongside the raw
SimulationResult.
- /api/mcp Streamable-HTTP MCP endpoint (hand-rolled JSON-RPC 2.0, no new
deps). Tools: get_model_info, list_vehicles/functions/distributions,
get_delivery_profile, run_simulation.
- /api/v1/openapi.json + /api-docs: OpenAPI 3.0.3 spec rendered with ReDoc,
themed to DMI palette + IBM Plex typography, DMI logo in the sidebar.
- /mcp-connect: DMI-styled page with copy-paste config blocks for Claude
Code, Claude Desktop, Cursor, Codex CLI, Windsurf, and VS Code. MCP URL
substituted from window.location.origin.
- Cover page gets an "Integraties" section with pill buttons linking to
API-referentie and MCP instellen.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>