- Mastergo Mcp
Mastergo Mcp
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?
- Extracting design properties for analysis.
- Generating frontend code based on design components.
- 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.
Server Config
{
"mcpServers": {
"mastergo-magic-mcp": {
"command": "npx",
"args": [
"-y",
"@mastergo/magic-mcp",
"--token=YOUR_TOKEN",
"--url=https://mastergo.com/"
],
"env": {
"NPM_CONFIG_REGISTRY": "https://registry.npmjs.org/"
}
}
}
}