json
Default. Compact JSON — useful when piping output into tools that expect JSON. Byte-identical to the prior behavior.
How to use it
json is exposed by the Mastergo Magic MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the json 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]Other tools in Mastergo Magic MCP (2)
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.
Fewer tokens than JSON for typical designs (flat layouts with repeated values benefit most).