Skip to content

A design canvas for Codex

Brilliant gives Codex a real vector design canvas. Run one command and ask for a screen: Codex creates and edits frames, auto layout, components and text as editable elements, reads what you changed by hand, and exports PNG, SVG, PDF, HTML or React.

On this pageHow do I connect Codex to Brilliant?
  1. How do I connect Codex to Brilliant?
  2. What can Codex do on the canvas?
  3. What can I do by hand afterwards?
  4. What does it need?
  5. What does it cost?
  6. Questions

How do I connect Codex to Brilliant?

One command. It needs Node 20 or later and no API key.

  1. Run the command.Paste it into your terminal. It adds Brilliant to Codex as an MCP server.
  2. Ask for a screen.Ask Codex for a design, for example: Design a three-tier pricing section in Brilliant.
  3. Pair the canvas.When Codex calls Brilliant, brilliant.design opens in Chrome, Edge or Firefox and pairs with it. Allow the one-time local network prompt. If the Brilliant desktop app is running, Codex uses it instead.
npx -y @brilliant-hq/mcp install codex

What can Codex do on the canvas?

Everything the editor does.

CreateNative editable elements, from HTML and CSS or from Blueprint.
EditAny canvas: read structure, change properties, reparent, rename, delete, reorder.
SearchAcross canvases by name, text, type, color or component.
Run commandsOver a hundred canvas commands, each with full undo.
ExportPNG, JPEG, WebP, SVG, PDF, HTML, React, MP4, MOV and Replay.
GenerateRaster images and vectors, and vectorize a raster into editable paths.

What can I do by hand afterwards?

Everything Codex makes is a real, editable element, never a flattened image.

DragMove and resize frames, and change their auto layout.
RetypeEdit any text where it sits.
RestyleChange colors, fills, strokes, effects and components.
UndoEach command can be undone, so a wrong move is one keystroke back.
Hand it backCodex reads your changes and keeps going from them.

What does it need?

Node 20 or later, for the helper the command installs. A browser canvas in Chrome, Edge or Firefox. Safari cannot run the browser canvas.

Or the Brilliant desktop app for macOS or Windows, which serves MCP on your machine while it is open. The helper and the desktop app serve MCP on your own machine, so your design does not reach Brilliant over them, except an image generated on Brilliant AI and background removal.

Connect an agent, every client

What does it cost?

Brilliant has a Free plan, and canvas work by your own agents over MCP is unlimited on every plan, Free included. An image an agent generates on Brilliant AI uses your Brilliant AI usage.

See pricing

Questions

How do I get Codex to design a UI?

Connect Brilliant with one command, npx -y @brilliant-hq/mcp install codex, then ask Codex for the screen you want. Codex lays it out on a real canvas as frames, auto layout, components and text, and you can edit every part of it by hand.

How do I make a mockup with Codex?

Connect Brilliant, then ask for the mockup, for example: Mock up a mobile login screen in Brilliant. Codex builds it as editable layers. Move and restyle it by hand, ask for the next version, and export PNG, SVG, PDF, HTML or React when it is ready.

Can Codex make a poster?

Yes. With Brilliant connected, ask Codex for a poster at the size you need. Codex lays out the text, shapes and images as editable elements, and you export it as PNG, PDF or SVG.

Do I need an API key?

No. The helper needs Node 20 or later and no API key.

Is it free?

Yes. Brilliant has a Free plan, and canvas work by your own agents over MCP is unlimited on every plan. An image generated on Brilliant AI uses your Brilliant AI usage.

Codex already writes your code. Give it a canvas.