asset_init_brand
Initialize brand configuration by scaffolding brand.json and ensuring an assets directory exists. Auto-detects framework and returns platform hints. Call at project start to establish a brand source-of-truth for asset generation.
Instructions
Scaffold brand.json in the project root + ensure the assets dir exists. MCP equivalent of the brand.json portion of p2a init. Auto-detects the framework (Next.js, Expo, Flutter, Xcode, Astro, Vite, Remix, Nuxt, React Native, Electron, Node) and returns platform hints. Deliberately does NOT do IDE MCP registration — that's the one piece the user handles once at install time via a terminal. Call this at the start of a new project so subsequent generator calls have a brand source-of-truth and a known output dir.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | Yes | App / brand name. Goes into brand.json and any PWA manifest. | |
| palette | No | Brand palette as hex strings. Defaults to ['#2563eb', '#ffffff']. | |
| assets_dir | No | Where generated assets should live. Defaults to the framework's conventional dir. | |
| display_font | No | Display font family. Defaults to Inter. | |
| body_font | No | Body font family. Defaults to Inter. | |
| do_not | No | Brand constraints to inject as negative anchors. Defaults to drop-shadows / heavy-gradients / skeuomorphic-bevels. | |
| overwrite | No | When true, overwrites an existing brand.json. | |
| cwd | No | Project root. Defaults to process.cwd(). |