Connect v0 to UI Rules

Connect v0 using OAuth, choose a scope, and keep brand instructions active while you build.
PreviousNext

Choose what to connect

In UI Rules, click Connect in the top bar and choose v0. Select an organization, brand, or project, or turn on Whole account. Turn on Read-only if this tool should not make changes.

Copy the URL or configuration shown for your selection. It includes your chosen scope, so keep the full URL, including anything after ?. See connection scopes for how the choices work.

Add the connection

  1. In a v0 chat, click + → MCPs → Custom MCP.
  2. Name it UI Rules and paste the full URL from Connect.
  3. Choose OAuth and click Authorize.
  4. Sign in to UI Rules and approve the connection.

Add your instructions

In v0, click + → Instructions → New Instruction, paste the following, and keep it checked for your chats:

Before any UI work, call the UI Rules MCP tools get_brand_brief, list_notes, get_rules_index and get_design_tokens, in that order. Do not generate design inspiration or choose a visual direction; the brand's rules and tokens are the design direction. Every word of copy you write is governed too: call get_rules for the area covering writing before you write any text. Run verify_rule_compliance at the end and report what it returns.

If you saved an older version of these instructions, replace it. The current tool names include list_notes and verify_rule_compliance.

Start working

Tell your agent which brand and project to use. For example:

Use the Acme brand and Website project in UI Rules. Read its guidelines and design tokens before building the page.

Use your own brand and project names. With an organization or brand connection, you can ask the agent to work on another brand or project within that scope without switching connections.

If you connected before the October 31 update, remove the old UI Rules connection and add it again using these steps. API keys no longer work for MCP connections. See Troubleshooting if sign-in or tool calls fail.

See v0's MCP documentation for client settings.

Bring your brand to every AI tool

Set your rules once and use them in every AI tool you work in.