Atelier Board
v0.4.2Interactive composition and critique canvas (MCP App + Local Bridge) for AI image prompting.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
open_atelier_board Open Atelier Board
Open or focus the interactive Atelier Board UI, optionally switching between draft and critique mode, and return a truncated composition summary (up to 12,000 chars), document counts, and the Local Bridge URL. State behavior: mutates persisted board mode only when mode is provided and differs from the active mode; read-only otherwise. Use this first when starting a visual session or switching modes. Do NOT use this to read full semantic briefs, saved disk paths, or PNG images (call get_board_state instead), and do NOT use it to place layout elements or update prompts (use push_draft_to_board o…
| Parameter | Type | Description |
|---|---|---|
mode | string | Optional target board mode ("draft" for initial spatial composition, "critique" for reviewing generated outputs). Persists the mode switch only when provided and different from the active mode; omit t… |
push_draft_to_board Push Draft or Suggestions to Board
Push structured draft layout elements, MOSS JSON, camera framing, color palette, target model profile, or Critique diagnostic suggestions onto the board. Omitted fields keep their current values; palette or profile updates alone keep the active mode, while suggestions alone open Critique unless keepMode is true. Use this for layout drafting or defect proposals; use sync_prompt_to_board to save finalized generation prompts.
sync_prompt_to_board Sync Finalized Prompt to Board
Persist a finalized positive/negative image-generation prompt and optional diffusion parameters (model, LoRAs, sampler, scheduler, steps, CFG, guidance, seed, shift) as the board baseline, appending a prompt-history snapshot. Can optionally advance the Critique round counter (advanceRound), resolve open Critique items (markItemsResolved), clear inherited source settings (clearSourceParams), or refresh the MOSS Ghost Blueprint when positivePrompt contains single-line MOSS JSON (syncGhostBlueprint). Use this after synthesizing or revising generation prompts; use push_draft_to_board to create/mov…
| Parameter | Type | Description |
|---|---|---|
positivePrompt * | string | Required full positive image-generation prompt text (1 to 256000 chars) in English, Chinese, or mixed syntax. Also accepts a single-line MOSS abs_centralized JSON layout; replaces the current baseline… |
advanceRound | boolean | Optional boolean (defaults to false). Set true only to manually increment the Critique round counter without loading a new generated image; leave false for routine prompt edits since loading a new ima… |
cfg | number | Optional classifier-free guidance (CFG) scale controlling prompt adherence (e.g., 1.0 for distilled FLUX or 7.0 for SDXL). Omit to retain the existing value. |
clearSourceParams | boolean | Optional boolean (defaults to false). Set true when switching to a different model or workflow to clear inherited source parameters (model, LoRAs, sampler, scheduler, steps, CFG, guidance, seed, shift… |
guidance | number | Optional distilled guidance scale used by FLUX-family models (e.g., 3.5). Omit to retain the existing value. |
loras | array | Optional list of LoRA weights associated with this prompt (max 64 entries). Supplying an array replaces the active LoRA list; omit to keep existing LoRAs unless clearSourceParams is true. |
markItemsResolved | boolean | Optional boolean (defaults to false). Set true to mark all currently open Critique diff items as resolved once addressed by this prompt; users can reopen them anytime in the sidebar. |
model | string | Optional checkpoint or diffusion base model name to record in the prompt baseline metadata (e.g., "flux1-dev.safetensors" or "qwen-image"). Omit to keep the current value unless clearSourceParams is t… |
negativePrompt | string | Optional negative prompt text (up to 256000 chars) specifying undesired artifacts or concepts. Omit to preserve the existing negative prompt; pass an empty string "" to explicitly clear it. |
note | string | Optional concise revision summary saved alongside this prompt snapshot and shown in the board status (e.g., "Shifted subject left and added warm rim light"). |
sampler | string | Optional sampling algorithm identifier (e.g., "euler", "dpmpp_2m", "uni_pc"). Omit to retain the existing sampler. |
scheduler | string | Optional noise schedule name (e.g., "normal", "karras", "simple", "beta"). Omit to retain the existing scheduler. |
seed | integer | Optional non-negative integer RNG seed for reproducible image generation (e.g., 552909185362788). Omit to retain the existing seed. |
shift | number | Optional flow-matching or timestep shift parameter used by SD3/FLUX/Qwen models (e.g., 1.15 or 3.0). Omit to retain the existing value. |
steps | integer | Optional positive integer denoising step count (e.g., 8, 20, or 28). Omit to retain the existing step count. |
syncGhostBlueprint | boolean | Optional boolean (defaults to true). When true and positivePrompt contains valid MOSS JSON, updates the canvas Ghost Blueprint overlay and summary; set false to save the prompt text without updating t… |
get_board_state Get Board State and Images
Read the complete board semantic brief, saved disk file paths (state JSON, semantic context, MOSS/regional JSON, native ComfyUI workflow, and PNGs), and optional inline PNG images (annotated main canvas, multi-reference collage, and restoration target). Strictly read-only. Call this after user canvas edits or when inspecting rendered PNGs; pass includeImage: false for fast text-only checks. Distinct from open_atelier_board (which launches the UI and truncates summaries) and app_get_state (internal frontend polling only).
| Parameter | Type | Description |
|---|---|---|
includeImage | boolean | Optional boolean (defaults to true). When true, attaches up to 3 MiB per PNG and 5 MiB total inline (restoration target, annotated main canvas, and reference collage); set false for fast text-only rea… |
app_get_state Internal App State Fetch
[Internal UI bridge] Fetch the serialized board document and cached image hashes for the embedded MCP App frontend. Intended only for frontend synchronization; AI agents should call get_board_state instead.
| Parameter | Type | Description |
|---|---|---|
knownImageHash | string | Hash of the cached primary Critique image held by the UI. |
knownReferenceHashes | object | Map of reference asset IDs to cached image hashes held by the UI. |
knownRevision | integer | Last known board revision for lightweight delta checks. |
knownTargetImageHash | string | Hash of the cached restoration target image held by the UI. |
app_sync_state Internal App State Sync
[Internal UI bridge] Persist serialized board document edits and rendered PNG snapshots submitted by the embedded MCP App frontend, notifying connected clients. Intended only for frontend synchronization; AI agents should call push_draft_to_board or sync_prompt_to_board instead.
| Parameter | Type | Description |
|---|---|---|
document * | object | Serialized Atelier Board document JSON object from the UI client. |
annotatedPngBase64 | string | Optional base64-encoded PNG data (or data URL) of the annotated main canvas. |
baseRevision | integer | Expected board revision for optimistic concurrency control. |
referenceSheetPngBase64 | string | Optional base64-encoded PNG data (or data URL) of the compiled reference collage sheet. |
source | string | Originating client identifier (e.g., mcp-app or browser tab). |
submitted | boolean | Set true when the user explicitly submits the board to the agent. |