Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Coherent

by skovtunversion 0.33.1i★ 22iRuns on your computerOfficial site ↗
Registry nameio.github.skovtun/coherent

How to install

What it does

Governs UI edits by coding agents in Next.js: scope, real-browser verification, rollback.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Developer tools

Use together with

Skills that teach the AI this kind of work; they work alongside this one

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

by morluto★ 467,2351 skills

Skill · How-to guide

andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

by multica-ai★ 234,1251 skills

Skill · How-to guideNo license stated

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

by Graphify-Labs★ 149,8731 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity16/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score28/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Coherent. Follow https://mcp.popnx.com/i/skovtun-coherent.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 19, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Coherent for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "coherent": { "command": "npx", "args": [ "-y", "@getcoherent/cli", "mcp", "--profile", "agent" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Coherent tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "coherent": {
          "command": "npx",
          "args": [
            "-y",
            "@getcoherent/cli",
            "mcp",
            "--profile",
            "agent"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Coherent and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Coherent or shows a Coherent tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Coherent yet

Coherent runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Coherent

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Coherent for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user coherent -- npx -y @getcoherent/cli mcp --profile agent 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Coherent tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user coherent -- npx -y @getcoherent/cli mcp --profile agent
  4. Type /mcp in Claude Code

    You should see Coherent listed as connected

  5. Try it

    Use Coherent and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Coherent or shows a Coherent tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Coherent for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "coherent": { "command": "npx", "args": [ "-y", "@getcoherent/cli", "mcp", "--profile", "agent" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Coherent tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Coherent and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Coherent or shows a Coherent tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Coherent for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "coherent": { "type": "stdio", "command": "npx", "args": [ "-y", "@getcoherent/cli", "mcp", "--profile", "agent" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Coherent tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Coherent and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Coherent or shows a Coherent tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Coherent💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user coherent -- npx -y @getcoherent/cli mcp --profile agent

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "coherent": {
      "command": "npx",
      "args": [
        "-y",
        "@getcoherent/cli",
        "mcp",
        "--profile",
        "agent"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "coherent": {
      "command": "npx",
      "args": [
        "-y",
        "@getcoherent/cli",
        "mcp",
        "--profile",
        "agent"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "coherent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getcoherent/cli",
        "mcp",
        "--profile",
        "agent"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
106/wk
Connection
Runs on your computer
Latest versioni
0.33.1
Published to registryi
Nov 19, 2026
Code last changedi
Nov 19, 2026
Maker
skovtun
Packages
npm: @getcoherent/cli
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account skovtun, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @getcoherent/cli@0.33.1

Checks only this package version, not every dependency · checked Nov 19, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skovtun-coherent.svg)](https://mcp.popnx.com/en/servers/skovtun-coherent)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Developer toolsi

  • More stars than 93% of the other 6136 servers in this category
  • Published to the registry more recently than 99% of the other 6136 servers in this category
  • Basic checks equal to or better than 99% of the other 6136 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Coherent safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (0.33.1) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

by ahmedkhaleel2004Widely used★ 19KUpdated 2 months ago

Runs in the cloud✓ service owner · gitdiagram.comTried by the PopNx team

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

by AppllamaWidely used★ 5.2KUpdated 3 months ago

Runs in the cloud✓ service owner · appllama.io

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

by repowise-devWidely used↓ 6.5K/wk★ 8.2K Stars for the whole repoUpdated 6 days ago

Computer or cloud✓ service owner · repowise.dev
Compared with similar ones
This one
Coherent
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoYesNoNo
Basic checks3/34/44/44/44/45/5
LicenseMITMITMITApache-2.0Apache-2.0AGPL-3.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Coherent Design Method

The model designs. Coherent governs.

An open-source platform that governs AI-built frontends: your coding agent designs and builds the UI;

Coherent scopes every edit, verifies it in a real browser and rolls back what fails.


What is Coherent?

Frontier coding agents already write good UI. What they don't do is prove an edit stayed inside its lane: that "make the KPI cards on Earnings more prominent" changed Earnings and left the two other pages using the same card pixel-identical, that the build still passes, that no hydration error appeared, that your git config name didn't end up in a mock profile.

Coherent is that layer. Since v0.27.0 it no longer generates design itself (ADR-0011: in a head-to-head on the same spec, plain Claude Code beat Coherent's own generation pipeline on every screen). Instead, every edit the agent makes goes through a governed session:

  1. Inventory. A graph of your app built from the code itself (TypeScript AST): pages, layouts, shared components, who imports what. Nothing stored that can drift.
  2. Begin edit. The agent declares a scope (tokens, component, variant, page, new-component) and the files it will write. Coherent answers with the impact: which routes must change, which must not.
  3. Verify. Type errors (against a baseline, so pre-existing ones don't block you), a production build, before/after screenshots on desktop and mobile, an exact pixel diff on control routes, new browser and hydration errors, identity leaks.
  4. Verdict. verified, partially_verified, verified_without_visual, blocked_by_preexisting_failure or failed. A failed edit is never committed: in agent mode it stays open until the agent fixes it or rolls it back; coherent edit rolls it back by default. Rollback touches only that edit's own files, so your concurrent hand edits survive.

Quick Start

Prerequisites: Node.js 20 or later, and Claude Code (CLI or desktop app) or Codex.

New app
npx @getcoherent/cli init my-app

In an empty folder this runs the official create-next-app and shadcn init, adds a welcome page, and installs the Coherent agent. Open my-app in Claude Code and describe what you want; the Coherent agent is the project's default agent, so there is nothing to select.

Existing Next.js app
cd my-next-app

npx @getcoherent/cli init

Adds only the agent; your code is not touched. Run it again later to update the agent files.

As a plugin (Claude Code, Codex)
/plugin marketplace add skovtun/coherent-design-method

/plugin install coherent@coherent

Adds the coherent skill: your agent sets Coherent up in a Next.js app when you ask, and follows the governed edit loop.

What init writes
FilePurpose
.claude/agents/coherent.mdThe Coherent agent (prompt + the coherent MCP server)
.mcp.jsoncoherent mcp --profile agent: four governance tools
.claude/settings.jsonMakes coherent the default agent and adds the write guard hook (merged with your settings)
AGENTS.mdA managed section for agents without hooks (Codex)
.gitignoreLocal state under .coherent/
package.json@getcoherent/cli and playwright as dev dependencies, installed with your project's package manager

Dynamic routes (/orders/[id]) need an example URL to be screenshotted; init lists them and tells you where to add one (.coherent/preview-params.json).

How It Works

agent ──► coherent_inventory      code graph, open edit, files changed outside Coherent

──► coherent_begin_edit scope + write set → impact, baseline renders, transaction ──► (agent writes files) PreToolUse hook denies writes outside the write set ──► coherent_verify_edit fast: write set, new type errors, identity leaks final: + production build, renders, pixel diff → verdict ──► coherent_rollback_edit restore only this edit's files

The hook is fast feedback, not the boundary: Bash, subagents and IDE writes bypass it. The boundary is verification, which diffs the whole tree after the edit. Agents without hooks are covered by changedOutsideCoherent in the inventory.

The verification browser runs in a far time zone and another locale (Pacific/Kiritimati, de-DE) so server/client mismatches show up as errors instead of passing silently on your machine.

Without an agent

The same governed session is available from the CLI, with Coherent's own model routing the request:

coherent edit "make the primary color emerald"            # plan → impact → apply → verify

coherent edit "tighten the pricing cards" --dry-run # scope and affected routes only coherent edit --undo # byte-exact rollback of the last edit

Classic generator (deprecated)

Everything below describes the old generation pipeline (coherent chat, /coherent-generate, the Design System viewer). It still works in projects created with coherent init --classic, but it is no longer developed and will be removed in a future release. See MIGRATION-v0.27.

CLI Commands

CommandDescription
coherent init [dir]Agent mode setup: new Next.js app in an empty folder, agent only in an existing app
coherent edit " "Governed edit from the CLI: scope, impact, apply, verify, undo
coherent mcp --profile agentMCP server with the four governance tools
coherent init --classicDeprecated: old generator project with design system viewer
coherent chat " "Generate or modify pages using natural language
coherent previewStart the dev server with auto-fix and file watching
coherent checkShow all problems: page quality, component integrity, broken links
coherent fixAuto-fix everything: cache, dependencies, components, syntax, quality
coherent fix --journalCapture fix session to .coherent/fix-sessions/ for later review
coherent journal list / aggregate / pruneReview captured fix sessions, rank recurring issues, prune old entries
coherent syncSync Design System with code after manual edits in your editor
coherent exportExport a clean, deployable Next.js project (strips DS overlay)
coherent undoRestore project to state before the last coherent chat
coherent rulesRegenerate .cursorrules and CLAUDE.md (AI editor context)
coherent updateApply platform updates to an existing project
coherent statusShow current project status
coherent components listList all shared and UI components
coherent chat -iInteractive chat mode (REPL)
Examples
# Generate a complete multi-page app

coherent chat "create an e-commerce site with product catalog, cart, checkout, and account pages"

Modify design tokens

coherent chat "change primary color to #6366f1 and use Inter font"

Target a specific component

coherent chat --component "Header" "add a search button"

Target a specific page — surgical edit (single LLM call, minimal diff)

coherent chat --page "pricing" "add a fourth enterprise tier"

Target a design token

coherent chat --token "primary" "change to indigo"

Interactive mode

coherent chat -i

After editing code manually in Cursor/VS Code

coherent sync

Export for deployment

coherent export

Two Workflows

Coherent supports two ways of working. Use whichever fits your task — or combine them.

CLI (fast scaffolding)

Run commands in your terminal. Each command goes through the full pipeline: AI generation, component reuse, validation, and auto-fix.

coherent chat "add a dashboard with revenue stats and user growth chart"

coherent chat "add a settings page with profile form and notification preferences" coherent preview

Best for: creating pages, changing tokens, batch operations, quick prototyping.

Editor (fine-grained control)

Edit code directly in Cursor, VS Code, or any editor. Coherent provides AI context via .cursorrules and CLAUDE.md — your editor's AI knows about your shared components, design tokens, and quality rules.

After manual edits, run coherent sync to update the Design System:

# Edit files in your editor...

coherent sync # updates Design System to match your code coherent check # verify everything is consistent

Best for: custom components, complex logic, pixel-perfect styling, detailed work.

Recommended workflow
# 1. Scaffold with CLI

coherent chat "add e-commerce: products, cart, checkout"

2. Fix any generation issues

coherent fix

3. Preview

coherent preview

4. Polish in your editor

- Customize ProductCard component

- Add business logic

- Fine-tune responsive styles

5. Sync and commit

coherent sync git commit -m "Product catalog complete"

6. Continue building

coherent chat "add admin panel with order management"

What Coherent Creates

When you run coherent init followed by coherent chat, your project gets this structure:

my-app/

├── app/ │ ├── layout.tsx # Root layout with shared header/footer │ ├── page.tsx # Home page │ ├── about/page.tsx # Generated pages... │ ├── pricing/page.tsx │ ├── AppNav.tsx # Platform navigation + Design System button │ ├── ShowWhenNotAuthRoute.tsx # Route-based component visibility │ └── design-system/ # Design System viewer (auto-generated) │ ├── page.tsx # Overview │ ├── components/page.tsx # Component library │ ├── shared/page.tsx # Shared components (CID-xxx) │ ├── tokens/page.tsx # Design tokens │ ├── sitemap/page.tsx # Page architecture │ └── docs/ # Documentation & recommendations ├── components/ │ ├── ui/ # shadcn/ui components (Button, Card, Input...) │ └── *.tsx # Custom components (auto-detected by sync) ├── design-system.config.ts # Single source of truth for the design system ├── coherent.components.json # Shared component manifest (CID registry) ├── .cursorrules # AI context for Cursor ├── CLAUDE.md # AI context for Claude Code └── globals.css # Tailwind CSS with design tokens

Key files

`design-system.config.ts` — The single source of truth. Contains all pages, components, design tokens (colors, typography, spacing), and page metadata. Every Coherent command reads from and writes to this file.

`coherent.components.json` — The shared component registry. Each component gets a unique ID (CID-001, CID-002...) and tracks where it's used. This enables component reuse across pages and powers the Design System viewer.

`.cursorrules` / `CLAUDE.md` — AI context files that tell your editor's AI about your design system. Automatically regenerated when you run coherent sync or coherent rules.

AI Provider Setup

Coherent uses Claude (by Anthropic) for code generation. coherent init auto-

Only the beginning is shown; read the rest in the repo