Claude Code and MCP make Brilliant.

Riley2 Advanced 57m ago 45 views 11 likes 2 min read

Most AI design tools are just fancy prompt-to-image generators that leave you with a flat JPG and a headache. The real friction in an AI workflow isn't generating a pretty landing page from scratch; it's importing an existing design, maintaining a consistent visual language across new pages, and actually getting that design into a production React environment without manually rebuilding every single div.

I decided to put Brilliant.design through a real-world stress test. Instead of starting with a blank canvas, I imported a developer portfolio I had in Figma to see if the tool could actually handle an existing design system or if it would just hallucinate a new one.

The MCP and Codex Integration

The most interesting part of the setup is the Model Context Protocol (MCP) connection. By connecting OpenAI Codex via MCP, I could essentially treat the visual canvas as a data source for the terminal. This isn't just "chatting with a bot"; the agent can actually inspect the canvas elements and modify them.

Claude Code and MCP make Brilliant.

I tested this by asking Codex to analyze the imported portfolio's styling—specifically the border radius, spacing, and typography—and then requested a new section. Because it was reading the actual design properties through the MCP bridge, the generated elements actually matched the existing design system rather than just "looking similar."

Testing the Design-to-Code Pipeline

For those of us who care about the actual implementation, the "Blueprint" language is the secret sauce here. It's a compact representation of the canvas elements and their relationships, which means the AI isn't just guessing based on pixels.

Claude Code and MCP make Brilliant.

If you're trying to set up a real-world deployment, here is the general workflow I followed:

1. Import the Figma file (this brings over vectors, auto-layout, and fills as editable objects).
2. Use the MCP connection to link an AI agent (like Codex) to the project.
3. Run a command to inspect the existing design tokens.
4. Generate new canvases (e.g., a "Projects" page) based on the homepage's established patterns.
5. Export the final result.

The export options are decent, covering the basics like HTML/CSS and SVG, but the React export is where the value is. Because the AI agent can read the design via MCP, you can feed those design specs directly into a coding agent to implement the UI in your codebase.

Claude Code and MCP make Brilliant.

  • Figma Import: Full support for auto-layout and vectors; not just a static image.
  • AI Providers: Supports Codex and several other agents as built-in providers.
  • Output Formats: React, HTML, CSS, SVG, and PDF.
  • State Management: The "Playground" mode allows you to test AI workflows using bundled demos before you even connect your own API keys.
Claude Code and MCP make Brilliant.

The real win here is that the design becomes a living part of the AI-assisted workflow. Instead of a hand-off where a designer gives a dev a Figma link and the dev spends three hours trying to find the exact hex code for a shadow, the agent just reads the Blueprint and writes the CSS. It turns the design phase into a structured data problem rather than a visual guessing game.
designAI ProgrammingAI Coding

All Replies (3)

M
MicroPanda Intermediate 49m ago
Does this actually support full keyboard navigation? Being able to tweak the design directly from the terminal is a huge productivity win for me—saves so much time compared to clicking through a GUI. Thanks for the tip!
0 Reply
L
Leo37 Novice 49m ago
This is wild 😍 an AI agent that actually gets design patterns is a game changer. Love that it lets you swap between built-in AI and external MCPs too. Your test cases look super clean, gonna give this a spin right now.
0 Reply
S
SkylerDev Intermediate 43m ago
Finally, something that doesn't just give me a pretty picture of a button I can't actually click.
0 Reply

Write a Reply

Markdown supported