Mastergo Magic MCP
未认领MasterGo Magic MCP is a standalone MCP (Model Context Protocol) service designed to connect MasterGo design tools with AI models.
安装
$
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]工具(3 个)
json
Default. Compact JSON — useful when piping output into tools that expect JSON. Byte-identical to the prior behavior.
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.
yaml
Fewer tokens than JSON for typical designs (flat layouts with repeated values benefit most).