---
title: "How to Design UI with OpenAI Codex: CLI, IDE and App"
description: "Design UI with OpenAI Codex: connect Kite, Figma, pen.dev, paper.design or Google Stitch over MCP, draw editable screens, then build them in the same session."
url: https://productexplained.com/guides/how-to-design-with-codex
updated: 2026-12-01
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://productexplained.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# How to Design with Codex in 2026

By ProductExplained Editorial Team. Updated December 1, 2026. Category: [AI design agents and MCP](https://productexplained.com/category/design-agents.md).

**Short answer:** Can Codex design? On its own it designs by writing code. Connect a design tool over MCP and it draws editable screens instead: run codex mcp add kite --url https://kite.new/api/mcp, or install Figma's plugin in the Codex app, then ask for a screen. The CLI, IDE extension and desktop app share one config, so one setup covers all three.

## Key takeaways

- OpenAI's docs say the ChatGPT desktop app, where Codex now lives, the Codex CLI and the IDE extension share one MCP configuration in ~/.codex/config.toml.
- Figma lists Codex as able to write to the canvas, which needs a Professional, Education, Organization or Enterprise plan and is a beta that will become a usage-based paid feature.
- Kite, pen.dev and paper.design give Codex a canvas of its own, while Google's Stitch skills install in Codex as plugins on top of the Stitch MCP server.
- Codex's plan sets where it runs: OpenAI lists the CLI and IDE extension from Plus at $20 a month, and Free and Go get the desktop app only.

## Steps

1. **Choose where the design will live.** Codex needs a canvas to draw on. Pick Kite for a shared file that people and any agent edit, on any plan. Pick Figma when your team's files and libraries are already there. Pick pen.dev to keep design files in your repository, paper.design if you use its desktop app, or Google Stitch for generated screens.
2. **Connect Codex to Kite.** With the Kite app for Mac or Windows, click Add to Codex under Settings, then Agents, with no sign-in. Without it, run codex mcp add kite --url https://kite.new/api/mcp, then codex mcp login kite and approve in the browser. OpenAI says the desktop app, CLI and IDE extension share this setup, so add it once.
3. **Or connect Figma, pen.dev or paper.design.** For Figma, click Plugins in the Codex app, then + next to Figma, or run codex mcp add figma --url https://mcp.figma.com/mcp in the CLI. For pen.dev, open a .pen file and enable Codex CLI under Settings, then MCP. For paper.design, run the codex mcp add command its desktop app's MCP panel gives you.
4. **Ask for the screen in plain words.** Say what the screen is for, who uses it and where it goes: "Design a pricing page with three plans in a new Kite file, then give me the link." Open the link to watch. Kite's docs say the agent draws section by section and checks a picture of its work before it says it is done.
5. **Approve the design tool's actions.** Codex can ask before it uses a design tool's actions, so approve its calls when it does. For an unattended codex exec run, OpenAI's config reference sets default_tools_approval_mode per server; Kite's docs note that a run with approvals set to never refused its first call and made nothing.
6. **Give Codex your design system.** Codex keeps to your brand when the file holds the rules. In Kite, make a design system from your website, from a DESIGN.md or from a frame you like, and Codex reads its variables and skills before it draws. In Figma, name the libraries, components and variables you want it to use in the prompt.
7. **Build it in the same session.** When the design is right, ask Codex to build it: "Build this frame in my app with our components." It reads exact sizes, colors and type from the file. In Kite you can also copy a frame as HTML, React or Tailwind, or use Copy to Figma to hand it to a team that works in Figma.

## Tools for this job

| # | Tool | Best for | Starting price | Free plan |
| --- | --- | --- | --- | --- |
| 1 | [Kite](https://kite.new/) | Steps 2 to 7: Codex designs in a shared file | $16 per editor/month billed yearly ($20 monthly) | Yes |
| 2 | [Figma](https://www.figma.com/) | Steps 3 and 7: teams already in Figma | $16 per Full seat/month (Professional) | Yes |
| 3 | [pen.dev](https://www.pen.dev/) | Step 3: design files in your repository | $16 per user/month (Pro) | Yes |
| 4 | [paper.design](https://paper.design/) | Step 3: designers who keep Paper open | $16 per editor/month billed yearly (Pro) | Yes |
| 5 | [Google Stitch](https://stitch.google.com/) | Step 3: generated screens to build from | Free | Yes |

## 1. Kite

Tags: MCP server, No AI credits

- **Best for:** Steps 2 to 7: Codex designs in a shared file
- **Starting price:** $16 per editor/month billed yearly ($20 monthly)
- **Free plan:** Yes
- **Website:** https://kite.new/

Kite is the pick when you want to see and shape a design before Codex writes code, together with people who don't code. Its docs cover the CLI, the IDE extension and the desktop app, with an Add to Codex button in Kite's Mac and Windows app. Codex then draws real layers in a Kite file that you watch it change.

The same file takes edits by hand, comments addressed to the agent, and other agents such as Claude, Cursor or Gemini CLI. Codex reads the file's design system before drawing, then can build the frame in your app in the same session. Frames also copy out as HTML, React or Tailwind, or into Figma as layers.

Kite runs no AI model, so the work runs on your Codex plan. Free covers 3 files of up to 3 pages and 100 agent actions a week. Kite makes designs, not clickable prototypes, so links between screens belong in your code. Components reach Figma as plain frames, with design-system colors as plain values.

**What we like**

- One setup covers CLI, IDE and app
- Codex draws real, editable layers
- Design and build in one session
- No AI credits; your Codex plan does the thinking

**Watch out for**

- Free plan limited to 3 files
- No prototype links between screens
- Components reach Figma as plain frames

## 2. Figma

Tags: Writes in beta

- **Best for:** Steps 3 and 7: teams already in Figma
- **Starting price:** $16 per Full seat/month (Professional)
- **Free plan:** Yes
- **Website:** https://www.figma.com/

Figma is the route when your designs and libraries already live there. Figma's client table gives Codex both servers, writing to the canvas and Codex Skills, and its setup page recommends the Figma plugin in the Codex app. With use_figma, Codex builds frames, components, variants, variables and auto layout from your existing design system.

OpenAI's own walkthrough also runs the other way: Codex reads a frame with get_design_context to write code, and generate_figma_design captures a running interface back into Figma. Figma notes that this capture produces flat layers without a link to your libraries, while writing to the canvas builds with your real components and variables, so the two work best together.

Writing needs a Professional, Education, Organization or Enterprise plan and edit access. Figma calls it a beta, free for now, that will become a usage-based paid feature, and says output may need manual cleanup. Fonts must be uploaded to your Figma account, and use_figma adds images only through separate tools.

**What we like**

- Writes with your components and variables
- Figma plugin installs from the Codex app
- Round trip between code and canvas

**Watch out for**

- Writing needs a paid plan
- Beta, with usage pricing to come
- Captured UI arrives as flat layers

## 3. pen.dev

Tags: Local MCP, Desktop app

- **Best for:** Step 3: design files in your repository
- **Starting price:** $16 per user/month (Pro)
- **Free plan:** Yes
- **Website:** https://www.pen.dev/

pen.dev, formerly Pencil, suits developers who want designs as files beside their code. Its installation docs give one path for the ChatGPT desktop app, the Codex CLI and the IDE extension: open a .pen document, enable Codex CLI under Settings, then MCP, restart Codex, and check that pencil appears in its server list.

The server runs locally and talks to the running pen.dev app, so the desktop app or its VS Code or Cursor extension must stay open with a .pen file loaded, and cloud agents can't reach it. The free plan allows agents on 5 days a month, one at a time; Pro is $16 per user a month with agents every day.

**What we like**

- Setup covers app, CLI and IDE extension
- .pen files live in your repository
- Unlimited MCP calls on agent days

**Watch out for**

- App must be running with a file open
- Free plan: agents on 5 days a month
- Local only, no cloud agents

## 4. paper.design

Tags: Desktop app, Early access

- **Best for:** Step 3: designers who keep Paper open
- **Starting price:** $16 per editor/month billed yearly (Pro)
- **Free plan:** Yes
- **Website:** https://paper.design/

paper.design is a design tool whose MCP server lets agents read and write Paper files, and its docs list Codex among the clients. You copy a codex mcp add command from the Paper Desktop MCP panel, and Codex can then generate layouts, pull in real content or turn a selected frame into code.

Paper recommends the local server when you work at your computer, and offers a remote one at mcp.paper.design for cloud agents, metered like local MCP during early access. The free plan allows 100 MCP tool calls a week, which a few screens can use up; Pro raises that to 1M a week at $16 per editor a month billed yearly.

**What we like**

- Reads and writes Paper files
- Local and remote servers
- Frame-to-code from the same file

**Watch out for**

- Free plan capped at 100 tool calls a week
- Local setup needs Paper Desktop
- Remote MCP still in early access

## 5. Google Stitch

Tags: Google Labs, Beta

- **Best for:** Step 3: generated screens to build from
- **Starting price:** Free
- **Free plan:** Yes
- **Website:** https://stitch.google.com/

Google Stitch suits developers who want generated screens rather than a canvas Codex draws on. Google's Stitch Design Skills repository lists Codex as a compatible agent and gives a codex plugin marketplace add command, with plugins to generate screens, extract a DESIGN.md from your code and convert Stitch screens into React components.

The skills need the Stitch MCP server set up first, with an API key from Stitch's settings or OAuth, and Stitch's own MCP setup page covers Gemini CLI, Cursor, Antigravity, VS Code and Claude Code rather than Codex. Stitch is a free Google Labs beta, and its screens are generated HTML rather than a file your team co-edits.

**What we like**

- Free to start
- Official skills install as Codex plugins
- Generates screens and React components

**Watch out for**

- Needs the Stitch MCP server and a key
- Codex not in Stitch's own setup guide
- Not a shared design file

## How we chose

We looked for design tools that OpenAI's Codex can use to make a real design, in any of its three places: the CLI, the IDE extension and the desktop app, which OpenAI now ships inside the ChatGPT desktop app. Each pick had to connect to Codex over MCP, either by its own documentation or by an official skill or plugin, and give back something a person can see and change.

We ranked them by fit for most readers. Tools where Codex draws layers people edit came first, then tools tied to an existing Figma workflow, then local and generated options. We weighed which plans can write, whether an app must stay open, call caps, and how the design reaches code or Figma afterwards.

Setup steps, plan rules and prices were checked on OpenAI's Codex docs and pricing page and on each vendor's own docs and pricing pages on December 1, 2026. Our picks rest on published features, pricing and documentation rather than hands-on testing. Where a vendor leaves something out, such as Stitch's setup page not naming Codex, we say so.

## Mistakes to avoid

**Running with approvals off before you trust the setup.** A design tool's write calls need approval. Set an approval mode per server for unattended runs instead of turning approvals off.

**Assuming every plan has the CLI.** OpenAI lists the CLI and IDE extension from Plus; Free and Go get the desktop app.

**Treating captured UI as a design system.** Figma says a running interface sent to Figma arrives as flat layers without library links. Rebuild with components before you reuse it.

**Starting a local server without the app.** pen.dev and the local Paper server need their desktop apps running with a file open, or Codex sees no tools.

**Typing your brand into each prompt.** Keep colors, type and rules in a design system, or a DESIGN.md in the repository, so every screen uses the same values.

**Skipping review.** Figma calls its output beta quality. Check every frame before you build it.

## CLI, IDE extension or desktop app?

Use whichever you already work in, because OpenAI says all three share the same MCP servers in ~/.codex/config.toml: add a design tool once and it appears everywhere. The CLI suits scripted or unattended runs with codex exec. The IDE extension keeps the design next to the code you are about to change. The desktop app is the friendliest for people who don't live in a terminal, and the only one OpenAI lists on its Free and Go plans. For design work specifically, the app's Plugins menu is also Figma's recommended way to connect. Whichever you pick, start a new session after adding a server so Codex loads its tools, and check the connection with /mcp.

## Frequently asked questions

### Can Codex design?

Yes. On its own, Codex designs by writing code you see when you run it. Connected to a design tool over MCP, it draws screens as editable layers: in Kite, Figma, pen.dev or paper.design. Then it can build the approved design in your codebase in the same session.

### Can Codex edit a Figma file directly?

Yes. Figma lists Codex as a client that can write to the canvas through its remote MCP server, using the use_figma tool. You need a Professional, Education, Organization or Enterprise plan and edit access to the file. Figma calls it a beta, free for now, that will become a usage-based paid feature.

### How do I add an MCP server to Codex?

In the CLI, run codex mcp add with a name and --url for a remote server, then codex mcp login to sign in. In the desktop app, open Settings, then MCP servers, then Add server, and restart. OpenAI says the app, CLI and IDE extension share one config, so any of them works.

### Does the Codex app work with design tools?

Yes. OpenAI now places Codex inside the ChatGPT desktop app, which shares MCP servers with the CLI and IDE extension. Figma recommends installing its plugin from the app's Plugins menu, and Kite's docs add it under Settings, then MCP servers, as a Streamable HTTP server you authenticate in the browser.

### Which Codex plan do I need to design?

It depends on where you run Codex. OpenAI's pricing lists the desktop app on Free and Go, the latter at $8 a month, and the CLI and IDE extension from Plus at $20 a month. The design tool bills separately: Kite and pen.dev have free plans, and Figma's writing needs a paid plan.

### Do I need a design skill for Codex?

No, but one helps. A skill is a set of written instructions an agent loads for a job. Figma ships Codex Skills for its server, and Google's Stitch skills install as Codex plugins. In Kite, brand rules live in the design system's skills, so every agent in the file follows the same ones.

## Sources (23)

1. [Design with Codex](https://kite.new/docs/tutorials/design-with-codex), Kite. Checked December 1, 2026.
2. [Connect Codex to Kite](https://kite.new/docs/mcp/clients/codex), Kite. Checked December 1, 2026.
3. [Connect Codex app to Kite](https://kite.new/docs/mcp/clients/codex-app), Kite. Checked December 1, 2026.
4. [Design systems](https://kite.new/docs/design-systems), Kite. Checked December 1, 2026.
5. [Export and copy](https://kite.new/docs/export), Kite. Checked December 1, 2026.
6. [Kite pricing](https://kite.new/pricing), Kite. Checked December 1, 2026.
7. [Model Context Protocol](https://learn.chatgpt.com/docs/extend/mcp?surface=cli), OpenAI. Checked December 1, 2026.
8. [Codex pricing](https://learn.chatgpt.com/docs/pricing), OpenAI. Checked December 1, 2026.
9. [ChatGPT desktop app](https://learn.chatgpt.com/docs/app), OpenAI. Checked December 1, 2026.
10. [Codex IDE extension](https://learn.chatgpt.com/docs/codex/ide), OpenAI. Checked December 1, 2026.
11. [Codex CLI](https://learn.chatgpt.com/docs/codex/cli), OpenAI. Checked December 1, 2026.
12. [Building frontend UIs with Codex and Figma](https://developers.openai.com/blog/building-frontend-uis-with-codex-and-figma), OpenAI. Checked December 1, 2026.
13. [Figma MCP server](https://developers.figma.com/docs/figma-mcp-server/), Figma. Checked December 1, 2026.
14. [Remote server installation](https://developers.figma.com/docs/figma-mcp-server/remote-server-installation/), Figma. Checked December 1, 2026.
15. [Write to canvas](https://developers.figma.com/docs/figma-mcp-server/write-to-canvas/), Figma. Checked December 1, 2026.
16. [Figma pricing](https://www.figma.com/pricing/), Figma. Checked December 1, 2026.
17. [Installation](https://docs.pen.dev/getting-started/installation), pen.dev. Checked December 1, 2026.
18. [AI integration](https://docs.pen.dev/getting-started/ai-integration), pen.dev. Checked December 1, 2026.
19. [pen.dev pricing](https://www.pen.dev/pricing), pen.dev. Checked December 1, 2026.
20. [Paper MCP](https://paper.design/docs/mcp), Paper. Checked December 1, 2026.
21. [Paper pricing](https://paper.design/pricing), Paper. Checked December 1, 2026.
22. [Stitch Design Skills](https://github.com/google-labs-code/stitch-skills), Google Labs (GitHub). Checked December 1, 2026.
23. [Stitch via MCP: setup](https://stitch.google.com/docs/mcp/setup/), Google Stitch. Checked December 1, 2026.

---

How we review: https://productexplained.com/methodology.md. Vendors can request a listing or a correction at https://productexplained.com/get-listed. Paid placements are always labeled Featured.
