1. Conduid
  2. Agents
  3. Ui Hierarchy
MCP server · Agents

Ui Hierarchy

MCP server that returns a Next.js App Router project's UI component hierarchy as a structured tree (markdown + JSON) so AI coding agents can ground image/description-based UI edits in exact file/component locations.

Unclaimed last commit 6 months ago agentic-workflowmcpmcp-serverui-components
49Fair

Scored 22 hours ago · breakdown

About Ui Hierarchy

Ui Hierarchy is an MCP server published by dovanhuy2298 in the Agents category: mCP server that returns a Next.js App Router project's UI component hierarchy as a structured tree (markdown + JSON) so AI coding agents can ground image/description-based UI edits in exact file/component locations. Conduid read 4 tools from its source: find_by_style, find_by_text, focus_on and get_full_hierarchy. It is published to npm as ui-hierarchy-mcp and starts with npx.

Conduid has no tagged release on record for it. Its topics include agentic-workflow and ui-components.

Install

Claude Code
claude mcp add ui-hierarchy -- npx -y ui-hierarchy-mcp
npx
npx -y ui-hierarchy-mcp
From source
git clone https://github.com/dovanhuy2298/ui-to-hierarchy

Tools (4)

find_by_styleFinds component nodes that use a given CSS class name or style prop. Returns nodes with `file:line` location.
find_by_textFinds component nodes whose rendered text content matches a query string. Returns nodes with `file:line` location.
focus_onReturns the component subtree rooted at a named JSX component, optionally including ancestors.
get_full_hierarchyReturns the ordered layout chain and page component subtree for a Next.js App Router route.

Security checks

6 checks have not been run yet.

Questions

About Ui Hierarchy

How do I install Ui Hierarchy?

In Claude Code, run claude mcp add ui-hierarchy -- npx -y ui-hierarchy-mcp. Other MCP clients take the command after "--" in their server configuration.

Is Ui Hierarchy safe to use with an AI agent?

Its trust score is 49 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ui Hierarchy still maintained?

The last commit was 6 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Ui Hierarchy provide?

Conduid read 4 tools from the source: find_by_style, find_by_text, focus_on and get_full_hierarchy.