Create an Info Icon with Codex CLI
By the Axialis Engineering team ·
You want an AI agent to draw a real, pixel-aligned vector icon instead of handing back loose SVG markup you still have to clean up. This walkthrough drives IconVectors entirely from Codex CLI over MCP to produce a finished 32x32 "info" icon — a blue circle with a centered white "i" — exported straight to SVG from one prompt.
It works on Windows, macOS, and Linux as long as your Codex MCP setup is already running. If it isn't, set that up first with Using IconVectors with Codex CLI.
Exact prompt
Using IconVectors MCP commands, create a new 32x32 document named "info icon", draw a blue circle
in the center, use a color from the "Axialis Colors" palette, draw a large info "i" white letter
using 2px round corners, center vertically and horizontally the "info" group, and export it as SVG.
What this prompt asks Codex to do
- Create a new 32x32 document.
- Pick a blue swatch from the Axialis Colors palette.
- Draw the circle and the "i" letter as real vector geometry.
- Use round corners for the letter, center the
infogroup, and export the result as SVG.
Watch the icon get built in real time
Codex CLI runs on the left and IconVectors on the right. As the prompt executes you can watch the 32x32 document open, the blue circle and white "i" appear as editable vector shapes, and the SVG export complete — no manual drawing.
Reuse and troubleshoot the result
- The exported SVG is a normal, editable file: open it in IconVectors to adjust the geometry, or drop it straight into your project's icon set.
- Need the same icon in another format? Ask Codex to re-export the document as SwiftUI, Android VectorDrawable, or WPF Geometry — the vector source stays the same, only the output target changes.
- If the colors look off, confirm the Axialis Colors palette is loaded in the current environment before re-running the prompt.
- If Codex cannot find the MCP server, verify the configuration in
~/.codex/config.tomland check that IconVectors is already running.
Related guides
Start Making SVG Icons Today with IconVectors
Download the fully-functional 30‑Day Free Trial and unlock your icon design workflow.
Version 1.70 for Windows, macOS, and Linux