MasterGo Magic

v1.0.0Developer Toolsstable

Connects AI models to MasterGo design tools, enabling retrieval of DSL data, component documentation, and metadata from MasterGo design files for structured component development workflows.

mastergo-magic-mcpmcpai-integration
Share:
255
Stars
0
Downloads
0
Weekly
0/5

What is MasterGo Magic?

MasterGo Magic is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to connects ai models to mastergo design tools, enabling retrieval of dsl data, component documentation, and metadata from mastergo design files for structured component development workflows.

Connects AI models to MasterGo design tools, enabling retrieval of DSL data, component documentation, and metadata from MasterGo design files for structured component development workflows.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Connects AI models to MasterGo design tools, enabling retrie

Use Cases

Retrieve DSL data and component documentation from MasterGo.
Access design metadata for structured component development.
Integrate design tools with AI-powered workflows.
mastergo-design

Maintainer

LicenseISC License
Languagetypescript
Versionv1.0.0
UpdatedMay 14, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mastergo-magic-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MasterGo Magic

MasterGo Magic MCP connects AI models to MasterGo design files, enabling them to retrieve DSL (Domain Specific Language) data, component documentation, metadata, and structured component development workflows directly from design files. It exposes four specialized tools that let AI assistants extract design specifications, generate component code scaffolding for Vue and React, and access component links — bridging the gap between visual design in MasterGo and structured code generation. Design engineers and frontend developers use it to automate the translation of MasterGo design file layers into production-ready component code.

Prerequisites

  • Node.js 18 or later installed
  • A MasterGo account with at least one design file containing components
  • A MasterGo API token (available from your MasterGo account settings)
  • An MCP-compatible client such as Claude Desktop, Claude Code, or Cursor
1

Obtain your MasterGo API token

Log in to MasterGo and navigate to your account settings to generate a personal API token. This token is required to authenticate all requests to the MasterGo API.

2

Run the MCP server via npx

Start the MasterGo Magic MCP server by passing your token directly as a flag. Optionally specify the API URL for enterprise MasterGo instances.

npx @mastergo/magic-mcp --token=YOUR_MASTERGO_TOKEN --url=https://mastergo.com
3

Configure environment variables (alternative approach)

Instead of passing the token as a flag, set it as an environment variable. The server reads `MG_MCP_TOKEN` or `MASTERGO_API_TOKEN` from the environment.

export MG_MCP_TOKEN=your_token_here
npx @mastergo/magic-mcp
4

Add the server to your MCP client config

Register the MasterGo Magic MCP server in your client configuration file, passing your token as an argument or environment variable.

5

Find the design file URL and layer ID

In MasterGo, open the design file and select the specific component layer you want to work with. Copy the URL — it will contain the `fileId` and `layer_id` parameters needed for tool calls.

6

Use the get-dsl or get-component-workflow tool

Ask the AI assistant to extract DSL data or generate a component workflow for a specific MasterGo layer URL. The server will fetch the design specification and return structured data for code generation.

MasterGo Magic Examples

Client configuration

Add MasterGo Magic MCP to claude_desktop_config.json with your token as an environment variable for security.

{
  "mcpServers": {
    "mastergo-magic": {
      "command": "npx",
      "args": ["@mastergo/magic-mcp"],
      "env": {
        "MG_MCP_TOKEN": "YOUR_MASTERGO_TOKEN"
      }
    }
  }
}

Prompts to try

Use these prompts after connecting to interact with your MasterGo design files through the AI assistant.

- "Extract the DSL data from this MasterGo layer: https://mastergo.com/file/abc123?layer_id=xyz"
- "Generate a Vue component from this design: https://mastergo.com/file/abc123?layer_id=xyz"
- "Get the component documentation for this MasterGo element"
- "Retrieve the metadata for the design file at this URL"
- "Create a React component workflow for this MasterGo component"

Troubleshooting MasterGo Magic

Authentication fails with 'Invalid token' or 401 errors

Verify that MG_MCP_TOKEN (or the --token flag) is set to a valid MasterGo personal access token. Tokens can be regenerated in MasterGo account settings. If using a corporate MasterGo instance, also set the --url flag to your company's MasterGo URL instead of https://mastergo.com.

get-dsl returns empty or incomplete data for a layer

Ensure the layer_id in the URL corresponds to a specific component layer, not the file root. Select the exact component in MasterGo before copying the URL. Shared links (short links in the format /goto/<shortLink>) are also supported — try converting to a full URL first using resolve-shortlink if available.

The server fails to start with a proxy error

If you are behind a corporate proxy, set HTTPS_PROXY or HTTP_PROXY environment variables before running npx. Alternatively, pass the proxy URL using the --proxy flag: `npx @mastergo/magic-mcp --token=TOKEN --proxy=http://proxy.company.com:8080`.

Frequently Asked Questions about MasterGo Magic

What is MasterGo Magic?

MasterGo Magic is a Model Context Protocol (MCP) server that connects ai models to mastergo design tools, enabling retrieval of dsl data, component documentation, and metadata from mastergo design files for structured component development workflows. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MasterGo Magic?

Follow the installation instructions on the MasterGo Magic GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MasterGo Magic?

MasterGo Magic works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MasterGo Magic free to use?

Yes, MasterGo Magic is open source and available under the ISC License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mastergo-magic-mcp": { "command": "npx", "args": ["-y", "mastergo-magic-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MasterGo Magic?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides