MCPVault

xcresult_get_ui_hierarchy

MCP tool from XcodeMCP by lapfelix

Get UI hierarchy as AI-readable JSON with timestamp selection

How to use it

xcresult_get_ui_hierarchy is exposed by the XcodeMCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the xcresult_get_ui_hierarchy tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install XcodeMCP

$npx -y xcodemcp@latest
FULL XCODEMCP LISTING