MasterGo

MasterGo

A standalone MCP service connecting MasterGo design tools with AI models to retrieve DSL data.

185
Stars
33
Forks
0
Releases

Overview

MasterGo Magic MCP is a standalone MCP (Model Context Protocol) service designed to connect MasterGo design tools with AI models. It enables AI models to directly retrieve DSL data from MasterGo design files. The server runs directly with npx and requires no external dependencies beyond a Node.js environment. It supports token-based authentication via a MasterGo API token and configurable endpoints via command line arguments or environment variables. Usage includes obtaining a MG_MCP_TOKEN token, specifying the API base URL (default http://localhost:3000), and optionally applying design rules with --rule or disabling default rules with --no-rule. The project exposes a core implementation that registers MCP tools to fetch DSL data, retrieve metadata, fetch component documentation, and provide component development workflows (for Vue and React), enabling structured workflow generation and component specifications. In addition to CLI usage, the README outlines installation via Smithery for automated deployment and mentions LINGMA usage in VSCode as a workflow option. Local development steps show how to build and run a local MCP configuration, facilitating debugging and customization.

Details

Owner
mastergo-design
Language
TypeScript
License
Updated
2025-12-07

Features

Retrieve DSL data from MasterGo design files

Enables AI models to access domain-specific language data directly from MasterGo design files.

Runs directly with npx

Can be executed via npx without installing a global package.

No external dependencies required

Only requires a Node.js environment, avoiding extra dependencies.

Tags

MasterGoMCPModel Context ProtocolDSLAIDesign toolsCLInpxNode.jsToken authenticationRulesEnvironment variables