@mastergo/magic-mcp 0.0.4-beta.1 → 0.0.4-beta.11
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 +162 -0
- package/README.zh-CN.md +97 -2
- package/bin/cli.js +17 -4
- package/dist/index.js +424 -19
- package/package.json +1 -1
- package/readme.md +0 -67
package/package.json
CHANGED
package/readme.md
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# MasterGo Magic MCP
|
|
2
|
-
|
|
3
|
-
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.
|
|
4
|
-
|
|
5
|
-
## Key Features
|
|
6
|
-
|
|
7
|
-
- Retrieves DSL data from MasterGo design files
|
|
8
|
-
- Runs directly with npx
|
|
9
|
-
- No external dependencies required, only Node.js environment needed
|
|
10
|
-
|
|
11
|
-
## Tutorial
|
|
12
|
-
|
|
13
|
-
- https://mastergo.com/file/155675508499265?page_id=158:0002
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
### Obtaining MG_MCP_TOKEN
|
|
18
|
-
|
|
19
|
-
1. Visit https://mastergo.com
|
|
20
|
-
2. Enter personal settings
|
|
21
|
-
3. Click the Security Settings tab
|
|
22
|
-
4. Find the personal access token
|
|
23
|
-
5. Click to generate the token
|
|
24
|
-
|
|
25
|
-
### cursor Usage
|
|
26
|
-
|
|
27
|
-
Cursor Mcp usage guide reference: https://docs.cursor.com/context/model-context-protocol#using-mcp-tools-in-agent
|
|
28
|
-
|
|
29
|
-
```json
|
|
30
|
-
{
|
|
31
|
-
"mcpServers": {
|
|
32
|
-
"mastergo-magic-mcp": {
|
|
33
|
-
"command": "npx",
|
|
34
|
-
"args": [
|
|
35
|
-
"-y",
|
|
36
|
-
"@mastergo/magic-mcp",
|
|
37
|
-
"--token=<MG_MCP_TOKEN>",
|
|
38
|
-
"--url=https://mastergo.com"
|
|
39
|
-
],
|
|
40
|
-
"env": {}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### cline Usage
|
|
47
|
-
|
|
48
|
-
```json
|
|
49
|
-
{
|
|
50
|
-
"mcpServers": {
|
|
51
|
-
"@master/mastergo-magic-mcp": {
|
|
52
|
-
"command": "npx",
|
|
53
|
-
"args": [
|
|
54
|
-
"-y",
|
|
55
|
-
"@mastergo/magic-mcp",
|
|
56
|
-
"--token=<MG_MCP_TOKEN>",
|
|
57
|
-
"--url=https://mastergo.com"
|
|
58
|
-
],
|
|
59
|
-
"env": {}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## License
|
|
66
|
-
|
|
67
|
-
ISC
|