stdio MCP plugin for visual AI work. It brings an Excalidraw infinite canvas, Modellix image generation and editing, paid-operation confirmation, durable task recovery, HTML drafts, presentations, and project-local persistence into one workspace.
Canvas runs on your machine. It does not require a deployed Canvas service. Hosts with MCP Apps can embed the full canvas; other compatible hosts open the same server through a short-lived loopback page.
Agent Canvas is separate from the Modellix Plugin, which teaches agents to run media tasks through
modellix-cli or the REST API. Use Agent Canvas when you want a visual workspace; use the Plugin or Skill when you want CLI-first image, video, and speech generation.What You Get
- Infinite canvas — text, shapes, lines, arrows, freehand drawing, frames, images, grouping, locking, layers, alignment, and undo/redo
- Multi-page projects — create, rename, duplicate, reorder, and delete pages with independent viewports
- Image placeholders — reserve a target area before generation; results replace the placeholder and stay undoable
- Image generation and editing — text-to-image, single-image edit, ordered multi-image references, transparent backgrounds, and 1–4 outputs
- Paid-operation safety — prepare is free; submit needs explicit one-time confirmation; unknown submissions are never retried automatically
- Durable tasks — task IDs and local results persist so work can continue after the host or browser closes
- HTML drafts and presentations — sandboxed HTML preview, slide layouts, presentation mode, and PNG-sequence export
- Local credentials — API keys use the
modellix-clisystem credential store and are never written to chat, MCP arguments, URLs, or project files
@modellix/agent-canvas
Requirements
- Node.js
^20.19.0or>=22.12.0, with npm onPATH - Network access to
https://api.modellix.aiandhttps://registry.npmjs.org - A Modellix API key from the Modellix Console
Install
Choose one path for your host.- Codex
- Cursor
- Claude Code
- OpenCode
- Other MCP Hosts
/plugins or the desktop Plugins directory. Start a new task after installation so the session loads the skills and MCP tools.On first use, the Codex adapter caches the pinned npm runtime in a user-local directory. Warm starts reuse that cache without a persistent npx wrapper.Host Compatibility
Full protocol details live in the repository host compatibility guide.
First Use and API Key
After install, ask your agent to open Canvas for the active project:workspacePath automatically. The path must be a real absolute directory, and one MCP session binds to one workspace.
If status is missing or invalid, Canvas shows a password field in its credential card. The form is an isolated, one-time loopback page that expires after five minutes. Submitting the key validates it through the bundled CLI, stores it in the system credential store, and refreshes status. The key never enters Canvas state or MCP tool arguments.
Credential resolution order:
- Reuse a valid credential already saved by
modellix-cli - Otherwise enter a key in the Canvas credential card
Typical Image Workflow
Paid image work follows a prepare → confirm → submit → finalize path:- Prepare —
prepare_modellix_image_taskresolves references, selects a model, and returns routing reason, effective specification, limitations, and estimated total cost. Prepare is free and does not create a paid task. - Confirm — review the model, quantity, warnings, and cost in the UI or agent reply.
- Submit — after explicit approval,
submit_modellix_image_tasksubmits the unchanged intent with the same confirmation fingerprint. - Poll —
get_modellix_image_tasktracks registered tasks only. If status isSUBMISSION_UNKNOWN, query only—do not automatically resubmit. - Finalize —
finalize_modellix_image_taskdownloads assets into the project and places them on the canvas.
Useful MCP Tools
Agent-facing tools include:Project Data
Each bound workspace stores Canvas data under:modellix-cli auth status --json, then run modellix-cli auth logout --profile <PROFILE> only when you intend to drop that credential.
Upgrade and Uninstall
Troubleshooting
Next Steps
Plugin
CLI-first media generation for coding agents.
Skill
Install the Modellix Agent Skill on its own.
REST API
Call Modellix media endpoints directly.
GitHub Repository
Source, host adapters, and release details.