@mastergo/magic-mcp 0.0.4-beta.7 → 0.0.4-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -41,6 +41,28 @@ You can also use space-separated format for parameters:
41
41
  npx @mastergo/magic-mcp --token YOUR_TOKEN --url API_URL --rule RULE_NAME --debug
42
42
  ```
43
43
 
44
+ ### LINGMA Usage
45
+
46
+ Search for LINGMA in the VSCode extension marketplace and install it.
47
+
48
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507174245589.png" alt="image-20250507174245589" style="zoom:25%;" />
49
+
50
+ After logging in, click on [MCP tools] in the chat box.
51
+
52
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507174511910.png" alt="image-20250507174511910" style="zoom:25%;" />
53
+
54
+ Click on [MCP Square] at the top to enter the MCP marketplace, find the MasterGo design collaboration tool and install it.
55
+
56
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507174840456.png" alt="image-20250507174840456" style="zoom:25%;" />
57
+
58
+ After installation, go back to [MCP Servers], and edit our MCP service to replace it with your own MasterGo token.
59
+
60
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507175005364.png" alt="image-20250507175005364" style="zoom:25%;" />
61
+
62
+ Finally, switch the chat mode to agent mode in the chat interface.
63
+
64
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507175107044.png" alt="image-20250507175107044" style="zoom:25%;" />
65
+
44
66
  ### cursor Usage
45
67
 
46
68
  Cursor Mcp usage guide reference: https://docs.cursor.com/context/model-context-protocol#using-mcp-tools-in-agent
package/README.zh-CN.md CHANGED
@@ -8,7 +8,7 @@ MasterGo Magic MCP 是一个独立的 MCP(Model Context Protocol)服务,
8
8
  - 可直接通过 npx 运行
9
9
  - 仅需 Node.js 环境,无需其他外部依赖
10
10
 
11
- ### 教程
11
+ ## 教程
12
12
 
13
13
  - https://mastergo.com/file/155675508499265?page_id=158:0002
14
14
 
@@ -41,6 +41,28 @@ npx @mastergo/magic-mcp --token=YOUR_TOKEN [--url=API_URL] [--rule=RULE_NAME] [-
41
41
  npx @mastergo/magic-mcp --token YOUR_TOKEN --url API_URL --rule RULE_NAME --debug
42
42
  ```
43
43
 
44
+ ### LINGMA 使用方法
45
+
46
+ 在 vscode 拓展市场中搜索 LINGMA -> 然后安装该拓展
47
+
48
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507174245589.png" alt="image-20250507174245589" style="zoom:25%;" />
49
+
50
+ 登录后 -> 在聊天框中点击 [MCP tools]
51
+
52
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507174511910.png" alt="image-20250507174511910" style="zoom:25%;" />
53
+
54
+ 点击顶部 [MCP Sqaure] 进入mcp市场,在市场中找到 Mastergo设计协作工具并安装
55
+
56
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507174840456.png" alt="image-20250507174840456" style="zoom:25%;" />
57
+
58
+ 安装完成后,需要回到 [MCP Servers], 并编辑我们的mcp服务,将自己的mastergo token 替换上去
59
+
60
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507175005364.png" alt="image-20250507175005364" style="zoom:25%;" />
61
+
62
+ 最后在聊天界面中将聊天模式切换为agent模式。
63
+
64
+ <img src="https://github.com/mastergo-design/mastergo-magic-mcp/blob/main/images/image-20250507175107044.png" alt="image-20250507175107044" style="zoom:25%;" />
65
+
44
66
  ### Cursor 使用方法
45
67
 
46
68
  Cursor Mcp 使用指南参考:https://docs.cursor.com/context/model-context-protocol#using-mcp-tools-in-agent
@@ -108,11 +130,11 @@ Cursor Mcp 使用指南参考:https://docs.cursor.com/context/model-context-pr
108
130
  - `meta.md`:关于元数据结构和用法的文档
109
131
  - `component-workflow.md`:组件开发工作流程文档,指导结构化组件开发过程
110
132
 
111
- ## 本地运行
133
+ ## 本地开发
112
134
 
113
- 1. 运行`yarn`,`yarn build`。安装依赖并构建代码
114
- 2. 查看`bin/cli.js`的绝对路径
115
- 3. 在MCP配置中添加本地MCP配置,其中token为您换区的token
135
+ 1. 运行 `yarn` 和 `yarn build`,安装依赖并构建代码
136
+ 2. 查看 `bin/cli.js` 的绝对路径
137
+ 3. 在 MCP 配置中添加本地 MCP 配置,其中 token 为您获取的 token
116
138
 
117
139
  ```json
118
140
  "mastergo-mcp-local": {
@@ -127,11 +149,11 @@ Cursor Mcp 使用指南参考:https://docs.cursor.com/context/model-context-pr
127
149
  },
128
150
  ```
129
151
 
130
- 4. 重启编辑器,确认本地mcp已开启
152
+ 4. 重启编辑器,确认本地 MCP 已开启
131
153
 
132
- 运行成功后,就可以基于本地运行的结果进行调试。您可以基于自己的修改构建自己的MCP服务。
154
+ 运行成功后,就可以基于本地运行的结果进行调试。您可以基于自己的修改构建自己的 MCP 服务。
133
155
 
134
- 欢迎您为我们提供代码贡献,并期待大家一起共建MasterGo的MCP服务。
156
+ 欢迎您为我们提供代码贡献,并期待大家一起共建 MasterGo 的 MCP 服务。
135
157
 
136
158
  ## 许可证
137
159