@mastergo/magic-mcp 0.0.2-alpha
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 +40 -0
- package/bin/cli.js +129 -0
- package/dist/index.js +44 -0
- package/package.json +61 -0
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mastergo/magic-mcp",
|
|
3
|
+
"version": "0.0.2-alpha",
|
|
4
|
+
"description": "MasterGo MCP 独立服务",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"mastergo-magic-mcp": "bin/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist/**/*",
|
|
11
|
+
"bin/**/*",
|
|
12
|
+
"!**/*.map",
|
|
13
|
+
"!**/.DS_Store",
|
|
14
|
+
"!**/.idea",
|
|
15
|
+
"!**/.vscode"
|
|
16
|
+
],
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=16"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "node build.js",
|
|
22
|
+
"build:tsc": "tsc",
|
|
23
|
+
"build:prod": "node build.js && node -e \"console.log('产物大小: ' + require('fs').statSync('dist/index.js').size / 1024 + 'KB')\"",
|
|
24
|
+
"build:advanced": "node build-advanced.js",
|
|
25
|
+
"build:analyze": "node build-advanced.js --analyze",
|
|
26
|
+
"build:watch": "node build-advanced.js --watch",
|
|
27
|
+
"build:gzip": "node build-advanced.js --gzip",
|
|
28
|
+
"build:dev": "node build-advanced.js --no-minify --sourcemap",
|
|
29
|
+
"start": "node bin/cli.js --token=test",
|
|
30
|
+
"dev": "ts-node src/index.ts",
|
|
31
|
+
"lint": "eslint src/**/*.ts",
|
|
32
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
33
|
+
"test": "jest",
|
|
34
|
+
"prepublishOnly": "npm run build"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"mastergo",
|
|
38
|
+
"mcp",
|
|
39
|
+
"ai"
|
|
40
|
+
],
|
|
41
|
+
"author": "",
|
|
42
|
+
"license": "ISC",
|
|
43
|
+
"private": false,
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@modelcontextprotocol/sdk": "^1.6.1",
|
|
46
|
+
"axios": "^1.6.0",
|
|
47
|
+
"zod": "^3.22.4"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/node": "^20.8.10",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
52
|
+
"@typescript-eslint/parser": "^6.9.1",
|
|
53
|
+
"esbuild": "^0.25.1",
|
|
54
|
+
"esbuild-plugin-tsc": "^0.5.0",
|
|
55
|
+
"eslint": "^8.52.0",
|
|
56
|
+
"pkg": "^5.8.1",
|
|
57
|
+
"prettier": "^3.0.3",
|
|
58
|
+
"ts-node": "^10.9.1",
|
|
59
|
+
"typescript": "^5.2.2"
|
|
60
|
+
}
|
|
61
|
+
}
|