Skip to content

MCP and API Stack

Stack

LayerTechnologyPurpose
ServerHono + ZodIsomorphic HTTP API with validation
AuthBetter-AuthTypeScript authentication
Docs@hono/zod-openapiAuto-generated OpenAPI documentation
AI@hono/mcpModel Context Protocol integration

Cloudflare Worker

The CAD API runs as a Cloudflare Worker (systems/truck/worker/):

  • Hono router for API endpoints
  • Static asset serving for the web GUI
  • R2 bucket bindings for document storage
  • Deployed to truck-cad.gedw99.workers.dev and cad.ubuntusoftware.net

CAD Documentation