K

Connect troubleshooting

Fixes for common problems connecting AI coding tools to your UI Rules brand over MCP.
PreviousNext

Most connection problems come down to a missing key, the wrong scope, or a transport mismatch. Work through the issue that matches your symptom.

For the shared endpoint and connection key, see Connect overview.

The server does not appear

The MCP server is not listed, or your tool shows no UI Rules tools.

  • Confirm the server config was saved in the right place for your tool, then fully restart the tool so it reloads its MCP servers.
  • Check that the URL is exactly https://mcp.uirules.com/mcp, with no extra spaces or trailing characters.
  • If your tool lists MCP servers with a status, look for a connection error there. A failed start usually points to an unreachable URL or a header the tool did not send.

Auth or 401 errors

A 401 Unauthorized means the connection key is missing, malformed, or wrong.

Confirm the key is set

Make sure the connection key is present and not empty in your tool config or environment. The exact field or variable name is shown in Connect overview.

Recopy the key

Open the Connect dialog in the app and copy the key again. A truncated or partially pasted key fails auth.

Use the project's own key

Each project has its own key. A key from a different project, or an old key that was rotated, returns 401.

Wrong scope (brand vs project)

The tool connects, but the served rules and tokens are not what you expected.

Each connection key belongs to one project, and that project resolves the brand ruleset plus its own overrides. If a project has overrides, the tool sees the overridden values, not the raw brand.

  • Open the project and check its Overrides list. An empty list means it serves the brand untouched; anything in it changes a token, a rule, or what is visible for that project.
  • Review the project's effective (resolved) view to see exactly what the tool reads.
  • To follow a different effective view, connect with the key for the project whose resolved view you want.

The tool wants a command, not a URL

UI Rules is a remote server over HTTP. There is no local process to install and no command to run, so a tool that only launches local MCP servers cannot connect directly. Every tool in the Connect overview takes a URL and a header.

Nothing is served

The tool connects and authenticates, but no styles or rules come through.

A brand new brand starts on the default theme with no authored rules yet. Until you configure it, there is little for the tool to read.

  • Check the dashboard for the Import your brand styles alert. If it is showing, your brand still has the default theme.
  • Import your styles by pasting a CSS theme or a preset code, or ask the Agent to scan your website.
  • Add at least one rule group so the tool has guidance to serve. Components and blocks must also be switched on to appear in the component vocabulary; a switched-off entry is held back from delivery.

The agent says a tool was renamed, or is out of date

The agent reports an error like "get_ruleset was renamed to list_rule_areas", or says its instructions name a tool that is not in the list.

The tool names changed and something you pasted still uses the old ones. The server does not answer to old names; it tells the agent the new one and asks it to let you know.

  • Check any custom instruction you saved in the tool itself, such as v0's Custom Instructions or Lovable's Workspace knowledge, and paste the current text from that tool's guide again.
  • For the full list of current names and what each replaced, see the MCP tools reference.

Calls stop with "Plan limit reached"

Your organization has used this month's MCP calls. Connected tools stop until the meter resets, and a call refused over the limit still counts. See Usage for where you stand and when it resets, and Plans for the limit on each tier.

A 429 with "Rate limit exceeded" is different: that is the per-minute limit, and it clears on its own. Wait for the retry-after and try again.

Bring your brand to every AI tool

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