Troubleshoot a UI Rules connection
An existing connection stopped working
The October 31, 2026 update requires a one-time reconnect. Remove UI Rules from your AI tool, then open Connect in UI Rules, choose the tool and scope, and follow the new steps. Sign in with your UI Rules account when prompted.
API keys no longer work for MCP. Remove old x-api-key headers or manually configured Authorization headers from the connection. Do not paste an old key into the OAuth form.
Sign-in does not finish
Check that you are using the current version of your AI tool and that it supports OAuth for remote MCP servers. Copy the full URL from Connect, start the tool's sign-in action, and finish approval in the browser.
For Claude Code, run claude mcp login uirules in a regular terminal. For Codex, run codex mcp login uirules; a project configuration must be in a trusted folder. Cursor offers Authenticate in its MCP settings.
If the tool still holds the old connection, remove it and add it again. Check that the UI Rules account you sign in with belongs to the organization you need.
The agent cannot find a brand or project
Check the scope selected in Connect:
- A project connection serves that project.
- A brand connection can use that brand and its projects.
- An organization connection can use its brands and projects.
- A whole-account connection can use the organizations available to your account.
Tell the agent the brand and project names. It should use the available listing tools to resolve them, and ask when the choice is ambiguous. Some listing tools are intentionally absent when that level is already fixed by the URL.
If the target is within the connection's scope, you do not need to reconnect. If it is outside, generate a new URL with the needed scope and update the tool's configuration. Your existing account permissions still apply.
The agent reads the wrong guidelines
Confirm the brand and project it selected. A project serves its brand guidelines plus its own overrides, and a pinned version may differ from the live version. Ask the agent to read the brand brief, rules index, and relevant rules again for the intended project.
Writing tools are missing or changes are refused
A Read-only connection excludes writing tools. If you want editing, return to Connect, turn Read-only off, and update the connection with the newly generated details. Complete any requested authorization.
Writing also depends on your UI Rules permissions. A broader connection scope does not grant additional permissions. Ask the agent to show the target and preview before changing rules or tokens, especially at brand level.
The agent calls an old tool name
Replace saved instructions that refer to get_project_notes, save_project_notes, check_rule_compliance, set_design_token, add_project_rule, or add_rule_group. The tools reference lists their current names.
For Lovable and v0, copy the current instruction from their setup guides into workspace knowledge or chat instructions. Reconnecting does not replace text you saved in those tools.
The agent ignores UI Rules
Make sure UI Rules is enabled in this conversation. In ChatGPT, add the UI Rules plugin with @. Name the brand and project and ask the agent to read their guidelines and tokens before building. In Lovable and v0, also check that your saved UI Rules instructions are active.
Still stuck?
Contact support with the tool name, the connection scope, and the error text. Remove credentials and personal information from screenshots or logs.
