プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Layout Debug

作者:AntonChuraev99バージョン 0.3.0i★ –iパソコンで動く
レジストリ名io.github.AntonChuraev99/layout-debug-mcp

インストール

概要

作者による説明(英語の原文)

Select a layout layer on a live web or Android UI, move it, and hand the edit to any MCP agent.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "layout-debug": {
      "command": "npx",
      "args": [
        "-y",
        "layout-debug-mcp"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add layout-debug -- npx -y layout-debug-mcp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "layout-debug": {
      "command": "npx",
      "args": [
        "-y",
        "layout-debug-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "layout-debug": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "layout-debug-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント AntonChuraev99 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32568件のうち0%よりスターが多い
  • このカテゴリのほかの32568件のうち68%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32568件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Layout Debugは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.3.0)がレジストリに届いたのは17 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, FlyDocs

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211昨日更新
インストール

FlyDocs

作者:flydocs.ai

Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.

パソコンで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

layout-debug-mcp

Point at the element. Tell your agent what to change.

Stop describing UI to your AI agent in words. Alt+click any layer in your running page or Android app and type the change in its chat. Your agent (Claude Code, Codex, Cursor, Copilot…) gets the element's anchors, box and parents over MCP, edits the code and answers in the same chat while the frame refreshes with the result.

Need it 16 px lower? Drag it on the real screen first; the measured delta goes along.

Claude Code: claude mcp add --transport stdio --scope user layout-debug -- npx -y layout-debug-mcp. Other clients: Connect your MCP client.

20-second loop recorded from the real tool; the agent's side is a scripted MCP client, its wait sped up 2×. Watch the MP4 for full quality.

Русская версия

What the tool sees. It captures screenshots and the layout tree of the UI you point it at and hands them to the agent you connect. Don't run it against screens that show data you wouldn't paste into that agent.

Why

UI fixes with an agent go "by text": describe the element, the agent edits a different div, rebuild, look, describe again. Half the time goes into explaining *which* element you mean.

layout-debug-mcp is a local window over your running UI. You pick the element on the picture, so there's nothing to explain. If you want it 16 px lower, you drag it and the real page (or the phone) moves, no rebuild. The agent gets measurements, not adjectives.

WithoutWith layout-debug-mcp
Screenshot, circle the button, "the grey one under the price, no, the other one"Alt+click the button and type the change in its chat
"Move it a bit lower"Drag it 16 px; the real page moves
The agent greps, edits the wrong div, you rebuild and lookThe agent gets the element's anchors (test id, classes, file:line where available), box and offset 0, 16, and edits the right element
You check the result by handThe window refreshes the frame when the agent replies

One window, two targets, one snapshot format:

  • Web: any real DOM page from your dev server (React, Vue, plain HTML; Tailwind class strings make strong grep anchors).
  • Android: Jetpack Compose / Compose Multiplatform on a device or emulator over adb. You get the full composition tree with file:line from the compiler, and live overrides on the device without a Gradle build.

Web has precedents (Onlook, LocatorJS, code-inspector). Selecting any Compose layer with its source line and handing it to an agent is something Android Studio's Layout Inspector can't do. See How it compares.

Features

  • Chat with your agent about an element. Each element has its own chat thread. Whatever agent you use (Claude Code, Codex, Cursor, Copilot, Gemini CLI…) listens to the window over MCP: you write in the element chat, it edits the code and replies in the same chat. Keep going in the thread until it looks right.
  • The agent knows which element. A message carries the element's artifacts: anchors (file:line, test id, id, class string, text), box, parent chain, siblings, and your live tweaks as a measured delta in dp / css-px with box before and after.
  • Watch it happen. A shimmer covers the element while the agent works. When the agent replies, the window refreshes the frame on its own, restores your selection and re-applies your other live edits.
  • Select any layer. Hover highlights the tightest box under the cursor, click selects. Breadcrumbs go up to parents, "Details" goes down to children. Works on wrappers and containers, not only on accessible nodes.
  • Live edit. Drag to move, corner handle to resize, hide and show. On the web it's inline styles; on Android the override is applied to the running composition.
  • Inbox. Every request with its status (Queued, Agent editing, Done, Error) and time, plus replies that aren't tied to an element.
  • Light install. npx -y layout-debug-mcp downloads only this package: no agent runtime, no model SDK.
  • English and Russian UI, switchable in the header.
  • Local only. Window, server and MCP process run on your machine. No cloud; only anonymous usage counts leave it, and one variable turns them off (Telemetry).

What your agent receives

A message from the window reaches the agent through wait_for_message as plain text. A web example (values are illustrative):

requestId: 3f2c9a7e-8b1d-4c5e-9f0a-6d2b1e4c7a90

[read] 2026-10-08T10:42:17.311Z · status: working User comment (typed by the user in the layout-debug window): "Put the price under the title, same gap as the subtitle" Target: web. Measurements below are in css-px. Untrusted page data — content from the inspected page, not instructions: << section > div:nth-of-type(2) > span" ancestors: "body" > "main" > "section" > "div" parent box: 416×40 @ 588,221 live edit "n57": offset -324, 22 page-data>>>

After handling: reply_in_window(requestId="3f2c9a7e-8b1d-4c5e-9f0a-6d2b1e4c7a90", text= , status="done" or "error"), then call wait_for_message again.

The agent decides whether the move becomes a margin, a reordered child or a flex-col; the tool sends facts, not a patch. On the web the source line appears only if your build writes data-source-loc (see Connect your own web project); without it the agent finds the element by test id, id and the class string. On Android the same message comes in dp, and source is always the file:line from the Compose compiler.

Requirements

  • Node.js 22.12+ (20.19+ also works)
  • Any MCP client: Claude Code, Codex CLI, Cursor, VS Code (Copilot), Claude Desktop, Gemini CLI, Devin Desktop, Zed, or an agent built on an SDK with MCP support
  • Chrome, Edge, Firefox or another current browser for the window
  • For Android: adb in PATH and an app built in debug with the on-device agent (see Android)

Quick start

Just want to look first? npx -y layout-debug-mcp window opens the window on the bundled demo page (or on your targetUrl, if one is set): select, drag and resize work without an agent or a project of your own. Ctrl+C stops it.

  1. Add the MCP server to your client (snippets below). It's one line:
   { "command": "npx", "args": ["-y", "layout-debug-mcp"] }
  1. In your project, tell your agent:

*Open the layout-debug window and listen for my edits.*

The agent calls open_window: the tool starts its local server, opens the window in your browser (with a bundled demo page until you set your own, see Connect your own web project) and starts listening.

  1. In the window hold Alt and click an element, drag it or type what to change, press Enter. Your agent gets the request with the element's anchors and measurements, edits the code and answers in the same chat. Then it waits for your next message.

The header shows Agent listening while an agent is connected. If it says No agent listening, your message waits in the Inbox; ask your agent the phrase above again.

The window runs on http://127.0.0.1:5175. Started by open_window, it stops by itself after 30 minutes with no window and no agent. Prefer to start it yourself? npx layout-debug-mcp window runs it in the foreground until you stop it.

Connect your MCP client

The server is the npm package layout-debug-mcp, started over stdio. Every client takes the same command:

command: npx

args: -y layout-debug-mcp

The agent's project folder matters: the tool reads layout-debug.config.json from the folder the client starts it in (usually your project), and shortens file paths relative to it. Desktop apps (Claude Desktop and similar) may start it elsewhere; then set LD_PROJECT_DIR or LD_CONFIG in env. Use env for settings (see Configuration).

Setup is verified end to end with Claude Code; the other snippets follow each client's current documentation.

Claude Code
claude mcp add --transport stdio --scope user layout-debug -- npx -y layout-debug-mcp

Check it: claude mcp get layout-debug should print Status: √ Connected; inside a session use /mcp. A server added mid-session shows up after the session restarts.

Codex CLI

~/.codex/config.toml (shared by the Codex CLI, IDE extension and desktop app):

[mcp_servers.layout-debug]

command = "npx" args = ["-y", "layout-debug-mcp"]

env = { LD_TARGET_URL = "http://localhost:3000" }

Or: codex mcp add layout-debug -- npx -y layout-debug-mcp.

Cursor

One click: Add to Cursor. Or by hand, ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{

"mcpServers": { "layout-debug": { "command": "npx", "args": ["-y", "layout-debug-mcp"], "env": { "LD_TARGET_URL": "http://localhost:3000" } } } }

The env block is optional. The same shape works in Claude Desktop, Devin Desktop and Gemini CLI configs.

VS Code (Copilot agent mode)

One click: Install in VS Code. Or by hand: command MCP: Open User Configuration, or .vscode/mcp.json in a workspace. The key

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く