Use TypeUI with OpenClaw
Follow this guide to connect OpenClaw to TypeUI for OpenClaw-managed agent runs.
Open OpenClaw
Open a terminal in the project where you want OpenClaw to build or improve UI.
Add TypeUI to OpenClaw
Save TypeUI as an OpenClaw-managed MCP server:
openclaw mcp set typeui '{"url":"https://mcp.typeui.sh","transport":"streamable-http","auth":"oauth"}'
Start the TypeUI OAuth flow:
openclaw mcp login typeui
OpenClaw prints an authorization URL. Open it, sign in with TypeUI, and authorize the connection. If OpenClaw asks you to finish with a code, pass the returned code back to the same server:
openclaw mcp login typeui --code <code>
Check the saved server and live connection:
openclaw mcp status --verbose
openclaw mcp doctor typeui --probe
If OpenClaw is already running with cached MCP runtimes, reload MCP servers or restart the agent process:
openclaw mcp reload
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
Use TypeUI to help me build a dashboard for a project tracker.
Tell OpenClaw what to build. TypeUI helps it choose the right style and layout.
Review and refine
Run your app and review the changes. Ask OpenClaw 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 OpenClaw which one to use:
I like the comparison one. Let's use it.
Once OpenClaw 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 OpenClaw which direction to continue with.