Mastergo Mcp

Created at 11 days ago

by mastergo-design

starstarstarstarstar

# 获取 MG_MCP_TOKEN 1. 访问 https://mastergo.com 2. 进入个人设置 3. 点击安全设置选项卡 4. 找到个人访问令牌 5. 点击生成令牌 # 设计文件需要放入团队版团队项目中,草稿箱文件不适用

Categories

developer-tools

Tags

mastergo

mcp

design-tools

What is MasterGo Magic MCP?

MasterGo Magic MCP is a standalone Model Context Protocol (MCP) service that connects MasterGo design tools with AI models, allowing for the retrieval of DSL data from MasterGo design files.

How to use MasterGo Magic MCP?

To use MasterGo Magic MCP, you need to obtain an MG_MCP_TOKEN from the MasterGo website and run the service using Node.js with the command: npx @mastergo/magic-mcp --token=YOUR_TOKEN --url=https://mastergo.com/.

Key features of MasterGo Magic MCP?

  • Retrieves DSL data from MasterGo design files.
  • Runs directly with npx, requiring only a Node.js environment.
  • No external dependencies needed.

Use cases of MasterGo Magic MCP?

  1. Extracting design properties for analysis.
  2. Generating frontend code based on design components.
  3. Building structured workflows for component development.

FAQ from MasterGo Magic MCP?

  • What is the requirement for using MasterGo Magic MCP?

You need a Team Edition or higher MasterGo account, as personal free editions do not support MCP tool access.

  • Can I use it with draft files?

No, design files must be placed in Team Projects; files in the draft box cannot be accessed via MCP tools.

  • What if I encounter a "no permission" error?

Ensure that your account version is correct and that the design files are in the appropriate location.

View More