Use TypeUI with Qwen Code
Follow this guide to connect Qwen Code to TypeUI while it edits UI in your project.
Open Qwen Code
Open the project where you want Qwen Code to build UI.
Add TypeUI to Qwen Code
Run this command from your project root:
qwen mcp add --transport http typeui https://mcp.typeui.sh/mcp
You can also create or update .qwen/settings.json in your project root:
{
"mcpServers": {
"typeui": {
"httpUrl": "https://mcp.typeui.sh/mcp"
}
}
}
If Qwen Code asks you to authenticate, sign in with TypeUI. You can manage MCP authentication from Qwen Code with /mcp auth.
Create a draft
Start from a theme, a markdown ZIP, or a Figma import. TypeUI creates an editable draft design system in your workspace.
Review the markdown
Open View markdown source files and review them before publishing.
Files to review
Edit the source files
Adjust the markdown when you need clearer rules, stronger component guidance, or product-specific language. After publishing, TypeUI MCP uses your saved edits when it helps your AI tool build UI.
Publish for MCP
Publish when ready so your MCP-connected AI tool can use it.
Start building UI
Build me a landing page.
Tell Qwen Code what to build. TypeUI helps it choose the right style and layout.
Review and refine
Run your app and review the changes. Ask Qwen Code for targeted improvements:
I don't like this pricing section, give me more variations.
TypeUI will now create three pricing variations so you can compare different layouts before choosing one.
After you choose a direction, tell Qwen Code which one to use:
I like the comparison one. Let's use it.
Once Qwen Code is connected to TypeUI, you can keep working in the same flow: choose a design system, ask for the interface you need, review the generated variations, and tell Qwen Code which direction to continue with.