Skip to main content
Glama
README.md
# sakugra-mcp

> *What if instead of generating... you taught AI to draw?*

The MIT open core of **Sakugra**: a local-first, fully deterministic creative engine with zero
diffusion weights. Every pixel, cloth fold and foley grain comes from code you can read.

| Layer | Package | What it does |
| :-- | :-- | :-- |
| L0 | `@sakugra/contracts` | IEEE-754 `detMath`, schemas, PNG/GIF codecs, SHA-256 provenance, 3 starter style cartridges |
| L1 | `@sakugra/rig-core`, `@sakugra/cloth-sim` | Superellipse loft rigs (starter: `capsule_man`), Verlet cloth |
| L2 | `@sakugra/mocap-bridge`, `@sakugra/sfx-foley` | Offline MediaPipe mocap smoothing, CC0 modal foley |
| L3 | `@sakugra/pixel-renderer`, `@sakugra/cinema-gpu` | Fixed-point CPU rasterizer, Godot 4.7.2 Vulkan cinema pass |
| L4 | `@sakugra/gate` | Proof gates incl. pure-TypeScript stripcheck, host doctor |

Starter content: palettes `sakugra_ink` and `sakugra_cel`, the `capsule_man` rig, and the
`dore_engraving`, `maritime_1bit_stipple` and `sobel_ascii` style cartridges. The 22 Pro Studio
cartridges, the Studio UI and the Brand Kit are part of the commercial Sakugra Pro.

```bash
pnpm install
pnpm typecheck
node tools/sakugra-gate/src/doctorCli.ts     # host readiness + MCP configs
pnpm mcp                                     # stdio MCP server: list/preview/bake/explain/verify
```

Licensed under the MIT License (see `LICENSE`).