To install MasterGo Magic for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mastergo-design/mastergo-magic-mcp --client claude
LINGMA Usage
Search for LINGMA in the VSCode extension marketplace and install it. After logging in, click on [MCP tools] in the chat box. Click on [MCP Square] at the top to enter the MCP marketplace, find the MasterGo design collaboration tool and install it. After installation, go back to [MCP Servers], and edit our MCP service to replace it with your own MasterGo token. Finally, switch the chat mode to agent mode in the chat interface.
The src directory contains the core implementation of the MasterGo Magic MCP service:
index.ts: Entry point of the application that initializes the MCP server and registers all tools
http-util.ts: Utility for handling HTTP requests to the MasterGo API
types.d.ts: TypeScript type definitions for the project
src/tools
Contains implementations of MCP tools:
base-tool.ts: Base class for all MCP tools
get-dsl.ts: Tool for retrieving DSL data from MasterGo design files
get-component-link.ts: Tool for retrieving component documentation from links
get-meta.ts: Tool for retrieving metadata information
get-component-workflow.ts: Tool providing structured component development workflow for Vue and React components, generating workflow files and component specifications
src/markdown
Contains markdown files with additional documentation:
meta.md: Documentation about metadata structure and usage
component-workflow.md: Component development workflow documentation guiding structured component development process
Local Development
Run yarn and yarn build to install dependencies and build the code
Restart your editor to ensure the local MCP is enabled
After successful execution, you can debug based on the local running results. You can build your own MCP service based on your modifications. We welcome your code contributions and look forward to building MasterGo's MCP service together.