GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Deterministic UI extraction and screenshot diffing for AI coding agents.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"one-shot-ui": {
"command": "npx",
"args": [
"-y",
"one-shot-ui",
"mcp"
]
}
}
}ターミナルでこれを実行します
claude mcp add one-shot-ui -- npx -y one-shot-ui mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"one-shot-ui": {
"command": "npx",
"args": [
"-y",
"one-shot-ui",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"one-shot-ui": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"one-shot-ui",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント TN0123 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.7.0)がレジストリに届いたのは5 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Deterministic screenshot diffing for AI coding agents. Turn a reference screenshot into structured data, diff any build against it — pixel, layout, color, and type — then get the exact CSS to fix. Or copy a UI's design language onto a brand-new screen.
AI agents get UI ~90% of the way there — then stall. The layout looks right, but a card is 8px too tall, a panel is the wrong shade of gray, a shadow is flat, a gap is off by 24px. Asking the model to "look at the screenshot again and fix it" is slow, and you get a different answer every time.
one-shot-ui closes that last 10% deterministically. It extracts structured data from a reference screenshot — layout regions, colors, typography, spacing, design tokens — diffs your implementation against it, and returns specific, ranked fixes, not "make it look more like this."
Set width to 616px (currently 640px)
Change the fill color to #303040. Set box-shadow to -3px 0px 24px 0px rgba(28, 29, 38, 0.32). gap: 176px; /* currently ~152px */
Copy-paste CSS, ranked by visual impact — every example above is real output from the run below.
The run command loops extract → capture → compare → fix until the heatmap goes quiet. In the run above, the agent's first build looked identical to the eye — one-shot-ui flagged 15 concrete deltas (position, size, color, shadow, spacing) and the loop drove the build to ~2.5% pixel mismatch, within ~0.5% of the tool's own estimated *irreducible* floor (≈2%, sub-pixel font rendering) for this design.
width: 616px, #303040, gap: 176px), grouped by component and ranked by visual impact.converge scores structural fidelity — is the reference's content present, placed, and legible? — not just pixel mismatch, and it refuses to win pixels by hiding, overlapping, or recoloring text into its background. It even flags reference text your build renders but clips out of view (a fixed-height overflow:hidden box) — the failure a pixel diff *rewards*, because cropped text lowers the mismatch.AGENTS.md (auto-discovered by Claude Code, Cursor, Codex, …) plus a Claude Code skill, so your agent drives it without hand-holding.Matching a screenshot pixel-for-pixel is one job. The other: building a different screen that feels like it belongs to the same design system. one-shot-ui extracts the *design language* from a reference and verifies a new UI conforms to it — deterministically, with no pixel oracle to lean on.
# Extract a reusable style system — palette, spacing scale, type ratio, radii, elevation
one-shot-ui tokens reference.png --emit shadcn # or: tailwind | json
one-shot-ui style-check reference.png ./pricing.html
It reports measured facts and leaves the taste to the agent: it won't name your "primary" color or classify the mood — you decide those from the image (you're the vision model; the tool is your exact, hallucination-free eyes). Conformance is judged on what a screenshot grounds reliably — palette, spacing rhythm, type scale — while roundedness and elevation are flagged as advisories, since a raster can't pin them down.
npm install -g one-shot-ui
For commands that need a browser (capture, run):
npx playwright install chromium
# Diff your implementation against a reference and see exactly what's off
one-shot-ui compare reference.png build.png --json --heatmap heatmap.png
one-shot-ui suggest-fixes reference.png build.png --json
one-shot-ui converge reference.png --impl ./index.html
one-shot-ui run reference.png --impl ./index.html --max-passes 5 --threshold 0.02
Every command supports --json for structured, agent-friendly output.
one-shot-ui ships an AGENTS.md (auto-discovered by Claude Code, Cursor, Codex, and other agent tools) plus a skill/SKILL.md for Claude Code.
Install the skill in one line:
mkdir -p .claude/skills/one-shot-ui && cp "$(npm root -g)/one-shot-ui/skill/SKILL.md" .claude/skills/one-shot-ui/
one-shot-ui also runs as a local MCP server, so any MCP-capable agent (Claude Code, Cursor, Cline, Windsurf, VS Code) can call compare, converge, suggest_fixes, extract, tokens, plan, and style_check as tools — no shell glue. It runs over stdio, makes no network calls, and needs no API keys.
claude mcp add one-shot-ui -- npx -y one-shot-ui mcp
Or add to any client's MCP config:
{
"mcpServers": { "one-shot-ui": { "command": "npx", "args": ["-y", "one-shot-ui", "mcp"] } } }
See docs/MCP.md for per-client setup and registry publishing.
| Command | Purpose | Key Flags | ||
|---|---|---|---|---|
extract | Analyze a screenshot into layout, color, and text data | --json, --no-ocr, --overlay, --fine | ||
compare | Pixel + structural diff between two screenshots | --json, --heatmap, --dom-diff | ||
tokens | Design tokens + a reusable style system (palette, spacing, type, radii) | --json, `--emit shadcn\ | tailwind\ | json` |
style-check | Check a new UI conforms to a reference's design language | --json (new UI = URL / HTML / screenshot) | ||
plan | Generate an implementation strategy | --json | ||
capture | Screenshot a URL or local HTML file | --url, --file, --output | ||
suggest-fixes | Tailwind/CSS fix suggestions from a diff | --json, --top, --dom-diff, --framework | ||
converge | Closed-loop optimizer: pixel-verified CSS patch + structural fidelity score, flags hidden/clipped text | --impl, --out, --json, --budget-seconds | ||
run | Multi-pass extract→capture→compare→fix loop | --impl, --max-passes, --threshold | ||
benchmark | Run benchmark suites | --json, --output |
run chains all four in a loop until the diff drops below --threshold.
Requires Bun.
bun install
bun run install:browsers # Playwright Chromium bun run typecheck
Dev scripts run directly from source:
bun run dev:extract -- ./reference.png --json
bun run dev:compare -- ./reference.png ./build.png --json
Build for npm:
bun run build
MIT