mastergo-developer-mcp
v0.2.1
Published
mastergo developer mcp for yeepay fe
Downloads
11
Readme
Give Cursor, Windsurf, Cline, and other AI-powered coding tools access to your MasterGo files with this Model Context Protocol server.
When Cursor has access to MasterGo design data, it's way better at one-shotting designs accurately than alternative approaches like pasting screenshots.
How it works
- Open your IDE's chat (e.g. agent mode in Cursor).
- Paste a link to a MasterGo file, frame, or group.
- Ask Cursor to do something with the MasterGo file—e.g. implement the design.
- Cursor will fetch the relevant metadata from MasterGo and use it to write your code.
This MCP server is specifically designed for use with Cursor. Before responding with context from the MasterGo API, it simplifies and translates the response so only the most relevant layout and styling information is provided to the model.
Reducing the amount of context provided to the model helps make the AI more accurate and the responses more relevant.
Getting Started
Many code editors and other AI clients use a configuration file to manage MCP servers.
The mastergo-developer-mcp server can be configured by adding the following to your configuration file.
NOTE: You will need to create a MasterGo access token to use this server. Instructions on how to create a MasterGo API access token can be found here.
MacOS / Linux
For Vant4:
{
"mcpServers": {
"MasterGo Developer MCP": {
"command": "npx",
"args": ["-y", "mastergo-developer-mcp", "--mastergo-api-key=YOUR-KEY", "--rule=vant4"]
}
}
}For AntDesignVue:
{
"mcpServers": {
"MasterGo Developer MCP": {
"command": "npx",
"args": ["-y", "mastergo-developer-mcp", "--mastergo-api-key=YOUR-KEY", "--rule=ant-design-vue"]
}
}
}Windows
{
"mcpServers": {
"MasterGo Developer MCP": {
"command": "cmd",
"args": ["/c", "npx", "-y", "mastergo-developer-mcp", "--mastergo-api-key=YOUR-KEY", "--rule=vant4"]
}
}
}Parameters:
--mastergo-api-key=YOUR_TOKEN(required): MasterGo API token for authentication--rule=RULE_NAME(optional): Add design rules to apply, now only support vant4
