MCP.so
登录

Layout Debug MCP Server

@AntonChuraev99

基本信息

分类

其他

最近更新

许可证

MIT

作者

AntonChuraev99

关于 Layout Debug MCP Server

Point at a layer in a live UI (web DOM, Android Compose), drag it on the real screen, hand it to your AI agent via MCP

Layout Debug MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "Layout-debug-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "layout-debug-mcp"
      ],
      "env": {
        "LD_TARGET": "android",
        "LD_DEVICE": "emulator-5554"
      }
    }
  }
}

Layout Debug MCP Server 工具

6

Starts the local server if it isn't running, opens the window, and tells the agent to start listening

Waits for the next message or edit from the window and returns it with the element's artifacts. Returns "no message yet" after the timeout, and the agent calls it again

Writes to the window's chat: what changed, which files, what's left. With `requestId` it closes exactly that request

Tree of the latest snapshot: nodes, sizes, anchors for finding them in code. Depth-limited

What the user has selected in the window right now: box, anchors, parent chain, live tweaks

All requests sent from the window, for agents that don't listen

概览

What is Layout Debug?

Point at a layer in a live UI (web DOM, Android Compose), drag it on the real screen, hand it to your AI agent via MCP

How to use Layout Debug?

The README includes setup instructions such as { "command": "npx", "args": ["-y", "layout-debug-mcp"] }.

Key features of Layout Debug

  • 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
  • Node.js 22.12+ (20.19+ also works)
  • 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)

Use cases of Layout Debug

  • Connect an MCP-compatible client to this repository's service.
  • Review the README-backed setup before enabling it in production.

常见问题

1

Where is the source code for Layout Debug?

The source code is linked from the repository URL on this page.

2

Does Layout Debug include a standard MCP config?

If the README contains a parseable MCP configuration block, it is shown in the Config tab.

评论

其他 分类下的更多 MCP 服务器