tree
Experimental compact format. Structural keys (id, name, type) are encoded positionally on each node line, and style values stay deduplicated in a globalVars block. Designs with heavy style reuse see the largest token savings.
How to use it
tree is exposed by the Mastergo Magic MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the tree tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Mastergo Magic MCP
$
npx @mastergo/magic-mcp --token=YOUR_TOKEN [--url=API_URL] [--rule=RULE_NAME] [--proxy=PROXY_URL] [--format=FORMAT] [--header "Key: Value"] [--debug] [--no-rule] [--no-prefix]