Skip to main content
Modellix Agent Canvas is a local, workspace-bound 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-cli system credential store and are never written to chat, MCP arguments, URLs, or project files
Source and release notes: GitHub · npm @modellix/agent-canvas

Requirements

  • Node.js ^20.19.0 or >=22.12.0, with npm on PATH
  • Network access to https://api.modellix.ai and https://registry.npmjs.org
  • A Modellix API key from the Modellix Console
Install from the host once. Codex, Cursor, and Claude Code load the plugin from Git or Marketplace and resolve the pinned npm runtime in the background. OpenCode and generic MCP hosts add the npm-backed MCP once. You do not run a second global CLI install. Verify the runtime on any host:

Install

Choose one path for your host.
You can also install Modellix Agent Canvas from /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:
Codex skills often supply 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:
  1. Reuse a valid credential already saved by modellix-cli
  2. Otherwise enter a key in the Canvas credential card
Never put an API key in chat, MCP config, command-line arguments, repository files, screenshots, project backups, or task reports. Canvas does not store keys in localStorage, sessionStorage, or IndexedDB.

Typical Image Workflow

Paid image work follows a prepare → confirm → submit → finalize path:
  1. Prepareprepare_modellix_image_task resolves 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.
  2. Confirm — review the model, quantity, warnings, and cost in the UI or agent reply.
  3. Submit — after explicit approval, submit_modellix_image_task submits the unchanged intent with the same confirmation fingerprint.
  4. Pollget_modellix_image_task tracks registered tasks only. If status is SUBMISSION_UNKNOWN, query only—do not automatically resubmit.
  5. Finalizefinalize_modellix_image_task downloads assets into the project and places them on the canvas.
Prompts and input images are sent to Modellix only after you confirm the paid task. Completed outputs are downloaded into project assets so you are not dependent on expiring remote URLs.

Useful MCP Tools

Agent-facing tools include:

Project Data

Each bound workspace stores Canvas data under:
Uninstalling the plugin does not delete this directory or shared system credentials. Back up project data before you remove it. To remove a stored CLI profile, check 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.