tell-ai-ui-critic

tell-ai-ui-critic

An MCP server that captures rendered UI, diagnoses design tells and consistency drift, and generates redesign diffs from natural language art direction, all within Cursor.

Category
访问服务器

README

<div align="center">

Tell

Every AI-built UI has a tell.

Tell is an open-source design critic that reads the rendered UI of your product, names exactly what makes it look AI-generated, and helps you art-direct a distinctive redesign — without leaving Cursor.

Quick start · Features · How it works · Use it in Cursor · Project structure

License: MIT Built for Cursor TypeScript Next.js 14 MCP

<br/>

Tell capturing a page, naming its tells, and revealing a redesign

The shipped README demo asset lives in docs/media/tell-demo.gif. Raw Playwright recordings can be regenerated under output/playwright/, which stays ignored as local build output.

</div>


The problem

You can ship a whole product in a weekend now. That's the good news.

The bad news is that most of what gets shipped looks identical. Inter everywhere. One purple gradient in the hero. A soft shadow on every card. Rounded corners at exactly 8 pixels. It isn't ugly — it's forgettable. And as you and your AI agent keep iterating, the surface quietly drifts: six almost-identical grays, focus rings that only half the app bothers with, an empty state nobody designed.

You can feel that something is off, but you can't name it. "Add more whitespace" isn't a direction. Hiring a designer for a day is $800 and a two-week wait. Your demo is tomorrow.

Tell fixes the part that's actually hard: knowing what's wrong, and showing you a better direction you can ship yourself.


What Tell does

Tell looks at your product the way a person does — it opens the page in a real browser and reads what actually renders, not your source code. Then it does four things:

  1. Names the tells. It points at the specific patterns that read as generic, with evidence you can see on the screenshot.
  2. Catches the drift. It flags where your design has quietly become inconsistent across the surface.
  3. Uses taste, not lint rules. It tells the difference between a lazy default and a deliberate choice, and explains why.
  4. Closes the loop in Cursor. You describe a direction in plain English (or with your voice), and Tell drafts the redesign as a diff you apply right inside your editor.

No new dashboard to babysit. No design handoff. No leaving your workflow.


Features

Feature What it does
🔍 Rendered capture Opens your URL in a headless browser and records a full screenshot plus a computed-style fingerprint — fonts, colors, shadows, radii, spacing, contrast, and interactive states.
🎯 8 genericness detectors Deterministic checks for the classic AI tells: SystemFontTell, GradientCrutchTell, ShadowEverywhereTell, RadiusMonotoneTell, AcidAccentTell, EmojiChromeTell, CenteredEverythingTell, GrayMushTell.
📉 6 consistency-drift detectors Catches the slow decay: TokenBypass, NearDuplicateValues, FocusRingInconsistency, TypeScaleDrift, SpacingChaos, StateGap.
🧠 Taste engine Classifies every finding as generic, drift, or intentional with a plain-English rationale and a confidence score. A reflection pass rejects any reasoning that contradicts the measured facts.
🎙️ Voice art-direction Say "warmer, more editorial, less shadow" and Tell breaks the instruction into action items, maps it to a direction preset, and refines with Gemini when available. Text presets keep the demo safe when mic access fails.
🪄 Redesign as a diff Turns a chosen direction into a unified diff. It never auto-applies — you stay in control.
↔️ Before/after seam A draggable diagonal reveal between your captured page and a live reconciliation — same content, restyled from detected tokens with contrast ratios called out.
🐙 GitHub repo setup Paste github.com/owner/repo and Tell clones it, reads the README, installs deps, boots the dev server on a reachable free port, and captures localhost automatically.
📄 Multi-page scanning Discovers routes from the captured snapshot; scan each page to catch drift that only shows on some routes.
🔌 Cursor MCP server Run the whole pipeline from Cursor chat with tell_capture, tell_diagnose, tell_redesign, and tell_apply.

How it works

Tell is one pipeline, shared by both the web app and the Cursor MCP server. Everything up to the taste step is deterministic — no model, no network — so results are reproducible run to run. The model is only used for judgment and for drafting diffs.

flowchart LR
    url["Your URL or a\nlocal route"] --> capture["Capture\nrendered UI"]
    capture --> fingerprint["Build a\ndesign fingerprint"]
    fingerprint --> tells["Detect\ngenericness tells"]
    fingerprint --> drift["Detect\nconsistency drift"]
    tells --> taste["Taste engine\n(generic / drift / intentional)"]
    drift --> taste
    voice["Voice / text\nart-direction"] --> taste
    taste --> report["Tell Report +\nbefore/after seam"]
    report --> contrast["Contrast floor +\nreachable-state feedback"]
    taste --> diff["Redesign diff"]
    diff --> cursor["Apply in Cursor\nvia MCP"]

Why deterministic-first matters: the parts that must be trustworthy — reading the page and measuring it — never hallucinate. The model only weighs in where judgment is genuinely needed, and even then its rationale is checked against the hard facts before you see it.


Quick start

You'll need Node 20+ and pnpm 9+.

git clone <your-repo-url> tell
cd tell
pnpm install

Then start the Tell app:

pnpm dev           # the Tell app → http://localhost:3000

The one-click way — point Tell at a GitHub repo. Paste a repo URL (e.g. github.com/owner/app) into the bar and hit Set up & run. Tell clones it, reads the README + package.json to figure out how to start it, installs, boots the dev server on a free port, verifies the URL responds, and captures localhost automatically. The UI blocks duplicate clicks, hides stale captures while work is running, and surfaces success or failure in plain language. If the run steps aren't clear, Tell shows what it found from the README and asks you to start it and paste the URL — no guessing.

The direct way — capture any URL. Paste a live URL (your deployed app, or a local http://localhost:3000) and hit Capture.

Either way: read the report, walk every page from the Pages strip, drag the before/after seam, art-direct a new direction, draft the diff, and copy it back into Cursor.

<details> <summary><strong>Prefer the seeded sample app?</strong></summary>

Run the deliberately bland fixture in a second terminal and capture it:

pnpm dev:fixture   # a deliberately bland sample app → http://localhost:3001

</details>

No time to wait on live capture? Tell ships with a committed report at fixtures/reports/tell-report.json and loads it automatically as an offline fallback, so the demo always works.

<details> <summary><strong>Environment variables (optional)</strong></summary>

Copy .env.example to .env and fill in what you have. Tell runs fully without keys — the taste and redesign steps simply fall back to their deterministic behavior.

GEMINI_API_KEY=            # powers richer taste/voice direction parsing
CURSOR_API_KEY=            # enables Cursor-SDK-backed redesign drafts
CURSOR_MODEL=composer-2.5  # optional; defaults to composer-2.5
CURSOR_AGENT_TIMEOUT_MS=75000
ANTHROPIC_API_KEY=         # reserved for richer source-aware diffs (optional)

</details>

<details> <summary><strong>Handy scripts</strong></summary>

pnpm test              # run the golden detector tests
pnpm typecheck         # strict type-check across every package
pnpm capture:fixture   # capture the sample app to a fresh report
pnpm diagnose:fixture  # diagnose the sample app from a capture

</details>


Use it in Cursor

Tell registers itself as an MCP server, so you can drive the whole pipeline from Cursor's Agent chat.

  1. Open this repo in Cursor — the tell server is already registered in .cursor/mcp.json.

  2. In Agent chat, ask for a diagnosis in plain English:

    "Run tell_diagnose on http://localhost:3001 and draft an editorial redesign."

  3. Review the findings and the proposed diff, then apply it — Tell hands you the patch, but you decide what lands.

Available tools

Tool What it returns
tell_capture The rendered screenshot + computed-style evidence for a URL.
tell_diagnose The full report: findings, taste verdicts, and the Tell score.
tell_redesign A redesign proposal (patch text) for one finding or the whole report.
tell_apply The unified diff plus instructions — it never writes files for you.

Project structure

Tell is a pnpm monorepo. Each package has one job.

tell/
├── packages/
│   ├── schema/      # zod contracts shared by everything
│   ├── core/        # capture + fingerprint + detectors (pure, no model)
│   ├── taste/       # taste engine + voice/text art-direction
│   ├── redesign/    # turns a direction into a diff
│   └── mcp/          # the Cursor-facing MCP server
├── apps/
│   └── web/         # the Tell app: report, before/after seam, voice director
├── fixtures/
│   ├── generic-app/ # a deliberately bland app used as demo input
│   └── reports/     # a committed report artifact for offline demos
└── docs/            # design system and reference notes

Tech stack

Layer Choice
Language TypeScript (strict)
Monorepo pnpm workspaces
Capture Playwright / Chrome DevTools Protocol
Web app Next.js 14 + Tailwind CSS
Taste reasoning Google Gemini with deterministic fallback
Redesign diffs Deterministic reconciliation CSS; Anthropic-ready interface
Editor integration Model Context Protocol (stdio)
Validation zod
Tests Vitest (golden detector tests)

Roadmap

  • [x] Deterministic capture → fingerprint → 14 detectors
  • [x] Taste engine with reflection + safe fallback
  • [x] Tell Report with draggable before/after seam
  • [x] Voice art-direction with text-preset fallback
  • [x] Cursor MCP server (capture / diagnose / redesign / apply)
  • [x] Live URL capture (any reachable HTTP URL, with offline artifact fallback)
  • [x] GitHub repo setup — clone, install, run, and capture localhost
  • [x] Token-grounded live reconciliation in the before/after seam
  • [x] Contrast-grounded reconciliation with readable text/control pairings
  • [x] Multi-page route discovery and per-page scanning
  • [ ] Per-state evidence thumbnails (hover, focus, error) in the report
  • [ ] A shareable, hosted report link

Contributing

Contributions are welcome. The short version:

  1. Fork the repo and create a branch: git checkout -b feature/your-idea
  2. Make your change and keep it green: pnpm typecheck && pnpm test
  3. Open a pull request describing the why, not just the what.

New detectors are the highest-leverage contribution — they live in packages/core/src/detectors and each ships with a golden test.


License

Released under the MIT License.

The sample app under fixtures/generic-app/ is a deliberately bland demo target used only as input for Tell — it is not part of the product. See CONTRIBUTIONS.md for the full breakdown of what's original work versus demo input.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选