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?
How do I connect Codex to Brilliant?
One command. It needs Node 20 or later and no API key.
- Run the command.Paste it into your terminal. It adds Brilliant to Codex as an MCP server.
- Ask for a screen.Ask Codex for a design, for example: Design a three-tier pricing section in Brilliant.
- 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 codexWhat can Codex do on the canvas?
Everything the editor does.
What can I do by hand afterwards?
Everything Codex makes is a real, editable element, never a flattened image.
| Drag | Move and resize frames, and change their auto layout. | |
|---|---|---|
| Retype | Edit any text where it sits. | |
| Restyle | Change colors, fills, strokes, effects and components. | |
| Undo | Each command can be undone, so a wrong move is one keystroke back. | |
| Hand it back | Codex 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 clientWhat 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 pricingQuestions
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.