About Atlas Ui MCP
Atlas Ui MCP is an MCP server published by calebsjames in the Other category. Conduid read 24 tools from its source: audit_template_patterns, capture_flow, check_page, compare_implementations, find_component_usages, find_dangling_listeners and 18 more. No package is published for it, so it installs from a source checkout.
The repository has 2 stars and 0 forks, and its last commit was on 25 Nov 2026. Conduid has no tagged release on record for it.
Install
git clone https://github.com/calebsjames/atlas-ui-mcpTools (24)
audit_template_patternsRepo-wide template-layer design-drift audit for Vue overlays/modals — the one-call replacement for grepping overlay classes, backdrop @click handlers, Teleport, z-index, and header markup. Returns per-component signals (overlays + whether the backdrop click uses .self, Teleport target, z-index values, headings) plus synthesized findings: backdrop-click-missing-self, overlay-not-teleported, modal-no-heading, zindex-exceeds-max (only when templatePatterns.maxZIndex is configured), and more. Raw per-component signals are also on get_component_detail.templatePatterns. Vue only. Pass `file` to scope by path substring.| Parameter | Type | Description |
|---|---|---|
| file | string | Optional path substring — only audit components whose path matches. |
capture_flowDrive a multi-step user flow against a SINGLE persistent page and screenshot each step. Each step can navigate (component/route/url/section) and/or run interactions (click, fill, select, press, check, hover, waitFor, scroll, wait, and the read-only measure) — so you can log in, fill a form, submit, and verify the next screen as one flow. Each call opens a FRESH page (auth carries over; a previous call's open modal does not); `viewport` and `loginAs` (a browser.profiles role) apply to the whole flow, and a step's `viewport` resizes mid-flow. State (cookies, form values, SPA route) carries across steps. Each step reports the API calls it triggered ({method, path, status}) so you can confirm a click actually fired its mutation. Actions include `drag` (real pointer drag: sliders, sortable lists, HTML5 drag-and-drop) and `upload` (file inputs and file-chooser buttons; a bundled JPEG/PNG/MP4 when no `files` are given). `mockApi` stubs API responses for the whole flow (e.g. an endpoint the server doesn't have yet; a stub can read its body from a file with `jsonFile`). `captureBodies` (opt-in) adds the response body of the API calls you name to each step's `apiCalls` (`responseBody`), so a stub can copy the real shape. The result's `signedInAs` says which account the browser used (login email + the app's own user, roles, impersonation). If the session had expired when the flow started, it signs in again once and restarts from its first step (`reloggedIn: true`, `reloginReason`). If the login works but the page still looks signed out (typically a role without access to those calls), the result comes back complete with `stillSignedOut: true` and a `warning`, and that session does not sign in again for it until reset_login. A click that times out on a disabled control says so and names the alternative; `within` works with Playwright-syntax selectors. Aggregates diagnostics into a single pass/fail; on a failed action it screenshots the broken state and stops. Requires the dev server to be running.| Parameter | Type | Description |
|---|---|---|
| captureBodies | any | |
| loginAs | any | |
| mockApi | any | |
| public | boolean | Skip the configured login pre-step for the whole flow — use for flows that stay on public routes so a broken/missing credential can't block them (default false). |
| settleMs | number | Default extra ms to wait after each step before screenshotting (per-step settleMs overrides). |
| steps * | array | Ordered list of steps. A step may navigate (component/route/url), reveal a `section` of the page the flow is on, run actions, or do none of these — a step with only label/settleMs just settles and screenshots the current page. |
| viewport | any | |
| waitUntil | any |
check_pageNavigate to any URL (absolute, or a path relative to the dev server) and return a screenshot plus runtime diagnostics: console errors, uncaught exceptions, and failed network calls. Optional per-call `viewport` (responsive checks), `loginAs` (another role from browser.profiles), `measure` (read-only boxes / overflow / computed styles for selectors), `mockApi` (stub API responses for this call; a stub can read its body from a file with `jsonFile`) and `captureBodies` (opt-in: the response bodies of the API calls you name, on `apiCalls[].responseBody`). `signedInAs` reports which account the browser used (login email + the app's own user, roles, impersonation). If the session had expired, the call signs in again once and retries; the result then carries `reloggedIn: true` and `reloginReason`. If the login works but the page still looks signed out (typically a role without access to those calls), the result comes back complete with `stillSignedOut: true` and a `warning`, and that session does not sign in again for it until reset_login. The 'did my change break anything' workhorse — call it after editing to confirm the page still renders clean. Requires the dev server to be running.| Parameter | Type | Description |
|---|---|---|
| captureBodies | any | |
| fullPage | boolean | Capture the full scrollable page instead of just the viewport (default false). |
| loginAs | any | |
| measure | any | |
| mockApi | any | |
| public | boolean | Skip the configured login pre-step for this call — use for public routes (e.g. "/landing") so a broken/missing credential can't block them (default false). |
| settleMs | number | Extra milliseconds to wait after load before screenshotting (e.g. for animations). |
| url * | string | URL or path to check (e.g., "http://localhost:5173/login" or "/login"). |
| viewport | any | |
| waitUntil | any |
compare_implementationsCompare two implementations at SUB-FILE granularity and report exactly where they diverge — the safety check to run before unifying near-duplicates that find_similar_components / search_components rank together. Give two symbol references { file, symbol, enclosingSymbol? }; each resolves a function, arrow, class/static method, object getter/method, or computed()/useMemo()/useCallback() (compared by its callback body). Returns verdict `equivalent` (byte-equal after normalization — safe to unify) or `diverges`, plus classified divergences (literal / callee-changed / guard-changed / added-block / removed-block / changed) with source snippets and file line spans. Normalization strips comments/formatting and canonicalizes quotes & numeric literals; identifiers and type annotations are preserved. Works for both Vue (SFC <script> is extracted) and React. b.file may be omitted to compare two symbols in the same file. Note: Options-API `this.x` vs composable `x.value` access styles are NOT normalized in v1.| Parameter | Type | Description |
|---|---|---|
| a * | object | First implementation to compare. |
| b * | object | Second implementation to compare. `file` may be omitted to reuse a.file. |
| maxDivergences | number | Cap the number of reported divergences (default 40). |
find_component_usagesFind where ANY exported symbol is used across the codebase — a component mounted in a template/JSX, a hook/composable called, or a plain exported function (DTO predicates, utils) called. Works for symbols that are not the primary export of their file. Returns { symbol, resolution, externalUsageCount, selfModuleUsageCount, usages, siblingExports?, suggestions?, caveats }. `resolution.status` distinguishes `indexed` / `indexed-as-export` (the symbol exists — an empty usages list is a real 'unused') from `not-in-catalog` (the lookup missed; `suggestions` lists near-matches). Each usage has file, parent item, line, and usageType `template` | `jsx` | `import` | `call`; usages inside the declaring module are marked `scope: "self-module"`. PROPS AT THE MOUNT SITE (Vue SFCs): each template usage carries `staticProps` (literal values actually passed, e.g. scope="all"), `boundProps` / `vModelProps` (the expression SOURCE for `:prop="x"` — a pointer into that file's script, NOT a value), `flagProps` (valueless attributes), `spreadProps` (`v-bind="obj"`, an unknown set), and `renderedWhen` (the governing v-if/v-show/v-for). Use this — not get_component_props, which reports the DECLARED interface — to learn which literal each mount site passes. METHODS: `Owner.method` (e.g. `ProjectService.createProject`, `fittingAdapter.getSessions`) or a bare method name no module exports (`createProject`) resolves at method level (`resolution.status: "indexed-as-member"`, `members`), matching `Owner.method(` / `Owner.method` in importers of the owner and `this.method` inside it; each usage's `resolvesTo` names the member (usageType `call` or `reference`). SAME NAME IN TWO FILES: when a name is declared in more than one file, every usage carries `resolvesTo` (the declaring file its import points at); pass `file` (a path substring) to scope the whole report to one declaration.| Parameter | Type | Description |
|---|---|---|
| file | string | Optional path substring choosing ONE declaration when the name is declared in several files; only usages whose import resolves to it are returned. |
| name * | string | Symbol to search for — component, hook, service, or plain exported function (e.g., "Button", "useCart", "isOrderItemSettled", "OrderService.createOrder") |
find_dangling_listenersFind dead event wiring across the catalog: a parent binds @some-event on a child component that never fires it — either the child DECLARES the event but never emit()s it (dead plumbing), or it neither declares nor emits it (a typo/renamed event). Native DOM events and children with dynamic/undeclared emit APIs are excluded to avoid false positives. This is the cross-component companion to the per-component emitsDead/emitsFired fields (see get_component_detail). Vue only. Pass `file` to scope to parents under a path substring.| Parameter | Type | Description |
|---|---|---|
| file | string | Optional path substring — only check parent components whose path matches. |
find_dead_codeFind dead code — exported components, hooks, services, and adapters that are never imported or used anywhere else in the codebase, AND class / adapter-object methods (`Owner.method`, `unusedMethods`) that nothing calls or references. Returns unused exports and methods with reasons; read `methodCaveat` (dynamic access and framework-invoked methods can look unused) and confirm with a grep before deleting.| Parameter | Type | Description |
|---|---|---|
| layer | string | Optional: limit dead code search to a specific architecture layer |
find_similar_componentsFind components similar to a natural language description using keyword AND structural matching. Scores based on name, hooks, child components, data fetching pattern, and architecture layer. Returns up to 15 results.| Parameter | Type | Description |
|---|---|---|
| description * | string | Natural language description (e.g., "button for submitting forms", "hook that fetches order data") |
get_architecture_overviewGet a high-level overview of the entire application architecture. Returns counts by layer (components, pages, hooks, services, adapters, contexts), category breakdown, data flow chains (page -> hook -> service), and route map. If a coverageWarning field is present, the scan targets missed most of the app's UI files — read it and fix .atlas-ui.json scanTargets before trusting the catalog.get_component_detailGet detailed information about a specific component, page, hook, service, adapter, or store by name. Returns full metadata including props, hooks, state, child components, event handlers, data fetching pattern, test ids, form-field selectors, accessibility, API endpoints, and architecture layer. If the name matches multiple items, returns `ambiguous` with candidates — re-call with `file`.| Parameter | Type | Description |
|---|---|---|
| file | string | Optional file path to disambiguate if multiple items have the same name |
| name * | string | Item name (e.g., "Button", "OrderDetail", "useCart", "orderAdapter", "orderService") |
get_component_propsGet the DECLARED TypeScript prop interface for a specific component — prop names, types, required status, default values, and JSDoc descriptions. Supports both interface and type alias prop definitions. Provide either `name` (catalog lookup) or `componentPath` (file path). If the result is `ambiguous`, re-call with `file` to disambiguate. This is the contract, not the traffic: for the prop VALUES actually passed at each mount site (which of three call sites passes scope="all"), use find_component_usages, whose template usages carry staticProps/boundProps.| Parameter | Type | Description |
|---|---|---|
| componentPath | string | Relative path to component file from workspace root (e.g., "src/components/ui/button.tsx") |
| file | string | Optional path substring to disambiguate when `name` matches multiple files |
| name | string | Catalog component name (e.g., "Button"). Alternative to componentPath. |
get_data_flowTrace the full data path from a component through composables/stores → services → adapters → API endpoints, INCLUDING data fetched by child components. Returns per-chain detail (each tagged with the `via` render path that reached it) plus `allEndpoints` — the union of every endpoint the rendered route hits. Store-mediated flows (Pinia/Zustand) are traced too. Large traces come back with `mode: "summary"` (owners + counts; allEndpoints still complete) — pass summary:false for every chain. An EMPTY trace carries `resolved: true` and a `reason`; a lookup miss is `found: false`. If the name matches multiple items, returns `ambiguous` with candidates — re-call with `file`.| Parameter | Type | Description |
|---|---|---|
| depth | number | How deep into the child component tree to trace (default 3). 0 = the target's own calls only. |
| file | string | Optional path substring to disambiguate when the name matches multiple files |
| name * | string | Component or composable name (e.g., "ProjectModal", "useProjectModal") |
| summary | boolean | Summary mode: allEndpoints plus per-owner chain/endpoint counts instead of every chain. Turns on automatically when the full trace exceeds ~20k characters (a whole shell page); pass false to force full chains, true to force the summary. |
get_dependency_chainGet the full dependency chain for any component, hook, or service. Returns both upstream (what uses it) and downstream (what it depends on) relationships. Supports recursive traversal with depth parameter (1-3). Useful for understanding impact of changes and tracing data flow.| Parameter | Type | Description |
|---|---|---|
| depth | number | Recursion depth (1-3, default 1). Depth 2+ includes nested dependsOn/usedBy on child nodes. |
| file | string | Optional path substring to disambiguate when the name matches multiple files |
| name * | string | Item name (e.g., "CheckoutButton", "useCart") |
get_hook_detailGet detailed information about a custom hook or Vue composable. Resolves by SYMBOL NAME regardless of directory: a `use*`-named export is found whether it lives in src/composables/, src/services/, or anywhere else, and whether or not it is its file's primary export. Returns parameters, return type, query keys, adapter/service calls, data fetching pattern, which components use it, plus `architectureLayer` (the FILE's layer as indexed — a composable in src/services/ honestly reports `service`), `isPrimaryExport`, `siblingExports`, and a `caveat` flagging which fields are file-level rather than symbol-scoped. If the name matches multiple hooks, returns `ambiguous` with candidates — re-call with `file`. A name that resolves to nothing returns `found: false` WITH `suggestions` (near-matches, including matches on other modules' exported symbols) — never a bare miss.| Parameter | Type | Description |
|---|---|---|
| file | string | Optional path substring to disambiguate when the name matches multiple files |
| name * | string | Hook name (e.g., "useCart", "useOrders") |
get_route_mapGet the complete route -> page -> component mapping. Returns all routes (React Router or Vue Router) with their page components, protection status, hooks/composables used, child components rendered, dynamic segments, and nested route hierarchy.get_section_mapThe section-map companion to get_route_map, for SPAs that multiplex ONE route into several in-app sections (a role shell / tabbed page / sidebar switch where the lists are section switches, not routes). For each routed page (and each page/root shell) it detects a view multiplexer — a single state variable gating sibling views (Vue `v-if="view === 'x'"`, React `{tab === 'x' && <X/>}`) — and returns each container's `selector` (the state variable), its `route` when routed, and `sections[]`. Each section has an `id` (the literal value), the `child` component it renders, `reachedBy` (`query` | `click` | `unknown`), a `queryParam` when the view syncs to the URL, and an `activator` ({selector,label}) — the control that switches to it — when statically identifiable. Gates are parsed as expressions: `a === 'x' || a === 'y'` yields one section per literal, and an `&&` compound (`section === 'Projects' && tab === 'Club Fittings'`) yields one section whose `conditions` lists every {var: value} it needs. A `queryParam` is reported only when the URL value actually flows into the variable (not when it is mapped through a lookup table). Section ids are the exact literals the app compares against (case-sensitive in the app — e.g. `/home?view=Customers`); the runtime tools' `section` argument matches them case- and whitespace-insensitively and errors with the valid ids when nothing matches. Works for both Vue and React. Returns `{ containers, note? }`; `note` explains an empty result.inspect_rendered_pageThe reverse bridge: open a live page and report which CATALOG components are actually mounted on it, mapped back to their source files. Walks React/Vue dev internals in the running app — use it to go from 'the thing I see on screen' to 'the file I should edit' without grepping. Give a catalog `component`, a `route`, or a raw `url`. Text-only output (use render_component for a screenshot). Requires the dev server (dev build) to be running.| Parameter | Type | Description |
|---|---|---|
| component | string | Catalog component name whose route to open (resolved via the route map). |
| loginAs | any | |
| params | object | Values for dynamic route segments, e.g. {"id": "123"}. |
| route | string | Route path to open (e.g., "/orders/:id"). |
| section | string | Optional: reveal an in-app section of a one-route shell (see get_section_map) before inspecting, so its mounted components are what get reported. |
| settleMs | number | Extra milliseconds to wait after load before inspecting. |
| url | string | Absolute URL or dev-server-relative path to open. |
| viewport | any |
list_all_componentsList the codebase catalog as compact summaries: { totalCount, lastScanned, byLayer, components } where each entry has name, architecture layer, category, relative path, and description/routePath when present. byLayer counts cover the whole catalog; `layer` filters the components list. Pass verbose:true for full metadata objects (large). Follow up with get_component_detail for one item's full data. If a coverageWarning field is present, the scan targets missed most of the app's UI files — read it and fix .atlas-ui.json scanTargets before trusting the catalog.| Parameter | Type | Description |
|---|---|---|
| layer | string | Optional: filter the components list to one architecture layer |
| verbose | boolean | Return full Component objects instead of compact summaries (default false; large output) |
render_componentRender a catalog component in the running app and return a screenshot plus runtime diagnostics (console errors, uncaught exceptions, failed network requests). Resolves the component to its URL automatically via the route map — just name the component you changed. A component no route renders (a modal, a tab, a composable via the components that consume it) is reached through its nearest ROUTED ancestor: the result's `mountPath` lists each hop with the guard that mounts it, URL-query and section-click reveals are applied automatically, and when a hop sits behind app state (a modal's `v-if`) `targetMounted` is false and `captureFlowSteps` is a ready-to-run capture_flow plan (activator clicks found in the template; `<TODO>` where none is). Use this to visually confirm a change actually works. `mockApi` stubs API responses for this call (`jsonFile` for a body kept in a file); `captureBodies` (opt-in) returns the response bodies of the API calls you name under `apiCalls[].responseBody`. If the session had expired, the call signs in again once and retries (`reloggedIn: true`; `stillSignedOut: true` + `warning` when the login works but the page still looks signed out). Requires the dev server to be running.| Parameter | Type | Description |
|---|---|---|
| captureBodies | any | |
| component | string | Catalog component name to render (e.g., "OrderDetail"). The route map resolves it to a URL — directly, or through the nearest routed ancestor (see mountPath). |
| file | string | Optional path substring choosing one file when the component name is declared in several. |
| fullPage | boolean | Capture the full scrollable page instead of just the viewport (default false). |
| loginAs | any | |
| measure | any | |
| mockApi | any | |
| params | object | Values for dynamic route segments, e.g. {"id": "123"}. If omitted, sensible placeholders are guessed. |
| public | boolean | Skip the configured login pre-step for this call — use for public routes so a broken/missing credential can't block them (default false). |
| route | string | Optional: render a raw route path directly instead (e.g., "/orders/:id"). Use instead of `component`. |
| section | string | Optional: reveal a specific in-app section of a one-route shell (see get_section_map) — e.g. section "build-sheets" of a tabbed page. Auto-appends the query param or clicks the section's activator after load so the screenshot shows that section, not the container default. You can also just name the section's child `component`; it is revealed the same way. |
| settleMs | number | Extra milliseconds to wait after load before screenshotting (e.g. for animations). |
| viewport | any |
reset_loginRecover the browser's authenticated session in-place: re-reads .atlas-ui.json (so a browser.login block added or fixed after server startup takes effect — no restart needed), clears cookies/storage and any stuck login error, then (by default) re-runs the configured login flow immediately. Use this when authed runtime tools (render_component/check_page/capture_flow on protected routes) start failing with a login error, or right after adding/changing browser.login config. An expired session no longer needs it: an authed call that finds the session signed out signs in again once by itself and reports `reloggedIn: true`; call reset_login when a call fails with 'the automatic re-login failed', or when a result carries `stillSignedOut: true` and you believe the session (not the account's access) is the problem — reset_login also re-enables automatic re-login for that profile. No-op with a note if no browser.login is configured even after the re-read. Public routes never need this; pass "public": true on those tools to skip login entirely.| Parameter | Type | Description |
|---|---|---|
| loginAs | string | Reset only this browser.profiles login (default: reset every profile, re-login the default). |
| relogin | boolean | Re-run the login flow immediately after resetting (default true). Set false to just clear state and let the next authed call trigger login. |
search_componentsSearch across the full codebase (components, pages, hooks, services, adapters, stores, DTOs, types) by name, path, description, or keywords. Uses fuzzy matching and multi-token scoring. Returns compact summaries (name, layer, path, _score) ranked by relevance — follow up with get_component_detail / get_component_props for full data.| Parameter | Type | Description |
|---|---|---|
| layer | string | Optional: filter results to a specific architecture layer |
| limit | number | Maximum results to return (default 20) |
| query * | string | Search query - component name, keyword, or multi-word phrase (e.g., "order card", "checkout button") |
server_infoWhich atlas-ui code is answering and against what: version, git sha + dirty flag of the atlas-ui install, dist build time vs this process's start (a `build.stale` note means the running server is OLDER than the build on disk — reconnect the MCP), workspaceRoot, the effective config, catalog size / lastScanned / byLayer / unscannedDirs (directories under src/ the catalog does not index), browser login state per profile with WHO it signs in as (`account`: the login email resolved from config/env — never a password — and the app's own signed-in user, roles and impersonation as last read from storage), and whether the dev server answers (HTTP status + page <title>). Pass refresh:true to reload the WHOLE .atlas-ui.json (scan targets, aliases, route files, browser) and rescan the catalog without restarting — use it after editing config, or when results look stale.| Parameter | Type | Description |
|---|---|---|
| refresh | boolean | Reload the full config and rescan before reporting (default false). |
verify_data_flowRender a component's route and check the REAL network traffic against the endpoints that static analysis (get_data_flow, including child components and stores) predicts. Matching is method-aware. The key output is `unexpectedApiCalls` — observed calls that map to NO predicted endpoint, i.e. real source-vs-runtime drift (dynamic URLs, app-level fetches, or genuine divergence). `verdict` is 'confirmed' when every observed call is accounted for. `captureBodies` (opt-in) returns the response bodies of the API calls you name under `apiCalls[].responseBody`. Pass `actions` to drive interactions (fill/click/...) before the network is read — that's how predicted MUTATION endpoints (POST/PUT/DELETE) get exercised and verified. A target no route renders (modal, tab, composable) is reached through its nearest routed ancestor (`mountPath`); the ancestor's own predicted traffic is then expected too, and `targetEndpoints` reports how many of the TARGET's predicted endpoints were observed. When the target sits behind app state and no `actions` are given, it returns verdict `gated` with `captureFlowSteps` instead of navigating — pass those clicks as `actions`. Requires the dev server to be running.| Parameter | Type | Description |
|---|---|---|
| actions | array | Optional interactions to run after the route loads and BEFORE network traffic is evaluated (e.g. fill a form and click Save to exercise a POST). |
| captureBodies | any | |
| depth | number | How deep to trace the child component tree for predictions (default 3). |
| file | string | Optional path substring to disambiguate when the name matches multiple files |
| loginAs | any | |
| mockApi | any | |
| name * | string | Component or composable name whose data flow to verify (e.g., "OrderDetail"). |
| params | object | Values for dynamic route segments, e.g. {"id": "123"}. |
| section | string | Optional: reveal an in-app section of a one-route shell (see get_section_map) before reading the network — its reveal click runs first, so the section's OWN fetches are observed too. |
| settleMs | number | Extra milliseconds to wait before reading the observed network traffic (default 500). |
| viewport | any |
whats_affectedThe edit→verify glue: given changed files (or auto-detected from git status when omitted), walk the dependency graph UPSTREAM to find every component/page affected by the change, map those to routes, and return concrete verification targets — ready-to-run check_page/render_component suggestions. Each changed file gets a risk classification (low/medium/high/critical with a scoring breakdown: layer, blast radius, routes reached, direct dependents) and the result carries an overallRisk; routes and suggested checks are ordered riskiest-first. Affected items carry gatedBy when they mount their dependency behind v-if/v-show/v-for (e.g. a modal) — drive that guard during verification or the change won't be exercised. Call it after editing to know exactly what to re-check in the browser and how carefully.| Parameter | Type | Description |
|---|---|---|
| files | array | Workspace-relative changed files (e.g., ["src/composables/useOrders.ts"]). Omit to auto-detect from git status. |
| maxDistance | number | Cap the upstream walk at this distance (1 = direct users only). Default 5. |
| maxItems | number | Page size for affectedItems (max 500). Default 100. |
| offset | number | Skip this many affected items (for paging past the default 100-item page). Default 0. |
Security checks
6 checks have not been run yet.