@xingyuchen/mysql-mcp-server 3.0.0 → 3.1.0
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 +316 -240
- package/dist/httpServer.js +847 -0
- package/dist/index.js +1 -1
- package/package.json +81 -75
package/dist/index.js
CHANGED
package/package.json
CHANGED
@@ -1,75 +1,81 @@
|
|
1
|
-
{
|
2
|
-
"name": "@xingyuchen/mysql-mcp-server",
|
3
|
-
"version": "3.
|
4
|
-
"type": "module",
|
5
|
-
"main": "dist/index.js",
|
6
|
-
"bin": {
|
7
|
-
"guangxiang-mysql-mcp": "dist/index.js"
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"
|
14
|
-
"
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"start": "node dist/index.js",
|
26
|
-
"start
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"
|
31
|
-
"logs
|
32
|
-
"logs:
|
33
|
-
"logs:
|
34
|
-
"logs:
|
35
|
-
"
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
"
|
40
|
-
"
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
"
|
52
|
-
|
53
|
-
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"
|
57
|
-
|
58
|
-
"
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
"
|
66
|
-
"
|
67
|
-
"winston
|
68
|
-
|
69
|
-
|
70
|
-
"
|
71
|
-
"
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
1
|
+
{
|
2
|
+
"name": "@xingyuchen/mysql-mcp-server",
|
3
|
+
"version": "3.1.0",
|
4
|
+
"type": "module",
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"bin": {
|
7
|
+
"guangxiang-mysql-mcp": "dist/index.js",
|
8
|
+
"guangxiang-mysql-mcp-http": "dist/httpServer.js"
|
9
|
+
},
|
10
|
+
"files": [
|
11
|
+
"dist/**/*",
|
12
|
+
"README.md",
|
13
|
+
"README_ENHANCED.md",
|
14
|
+
"SMITHERY_DEPLOY.md",
|
15
|
+
"smithery.yaml"
|
16
|
+
],
|
17
|
+
"engines": {
|
18
|
+
"node": ">=18.0.0"
|
19
|
+
},
|
20
|
+
"scripts": {
|
21
|
+
"build": "tsc && node -e \"try{require('fs').chmodSync('dist/index.js', '755')}catch(e){} try{require('fs').chmodSync('dist/httpServer.js', '755')}catch(e){}\"",
|
22
|
+
"dev": "ts-node --esm src/index.ts",
|
23
|
+
"dev:http": "ts-node --esm src/httpServer.ts",
|
24
|
+
"start": "node dist/index.js",
|
25
|
+
"start:stdio": "node dist/index.js",
|
26
|
+
"start:http": "node dist/httpServer.js",
|
27
|
+
"start-gateway": "npm run build && npx supergateway --stdio \"node dist/index.js\" --port 3101",
|
28
|
+
"install-global": "npm run build && npm install -g .",
|
29
|
+
"quick-setup": "npm install && npm run build && echo \"✅ 安装完成!请查看 README.md 了解配置方法\"",
|
30
|
+
"prepublishOnly": "npm run build",
|
31
|
+
"logs": "npm run build && node dist/log-viewer.js",
|
32
|
+
"logs:errors": "npm run build && node dist/log-viewer.js errors",
|
33
|
+
"logs:stats": "npm run build && node dist/log-viewer.js stats",
|
34
|
+
"logs:db": "npm run build && node dist/log-viewer.js db-analysis",
|
35
|
+
"logs:tail": "npm run build && node dist/log-viewer.js tail",
|
36
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
37
|
+
},
|
38
|
+
"keywords": [
|
39
|
+
"mcp",
|
40
|
+
"mysql",
|
41
|
+
"database",
|
42
|
+
"model-context-protocol",
|
43
|
+
"ai-assistant",
|
44
|
+
"vscode",
|
45
|
+
"cline",
|
46
|
+
"sql",
|
47
|
+
"crud",
|
48
|
+
"transaction"
|
49
|
+
],
|
50
|
+
"author": {
|
51
|
+
"name": "guangxiangdebizi",
|
52
|
+
"url": "https://github.com/guangxiangdebizi"
|
53
|
+
},
|
54
|
+
"license": "MIT",
|
55
|
+
"description": "功能强大的MySQL数据库MCP服务器,支持多数据库连接、完整CRUD操作、智能事务管理和回滚功能,专为AI助手设计",
|
56
|
+
"homepage": "https://github.com/guangxiangdebizi/MySQL_MCP#readme",
|
57
|
+
"repository": {
|
58
|
+
"type": "git",
|
59
|
+
"url": "https://github.com/guangxiangdebizi/MySQL_MCP.git"
|
60
|
+
},
|
61
|
+
"bugs": {
|
62
|
+
"url": "https://github.com/guangxiangdebizi/MySQL_MCP/issues"
|
63
|
+
},
|
64
|
+
"dependencies": {
|
65
|
+
"@modelcontextprotocol/sdk": "^1.12.0",
|
66
|
+
"mysql2": "^3.6.5",
|
67
|
+
"winston": "^3.13.0",
|
68
|
+
"winston-daily-rotate-file": "^5.0.0",
|
69
|
+
"express": "^4.19.2",
|
70
|
+
"cors": "^2.8.5",
|
71
|
+
"dotenv": "^16.3.1"
|
72
|
+
},
|
73
|
+
"devDependencies": {
|
74
|
+
"@types/node": "^22.15.21",
|
75
|
+
"@types/express": "^4.17.21",
|
76
|
+
"@types/cors": "^2.8.17",
|
77
|
+
"supergateway": "^2.8.3",
|
78
|
+
"ts-node": "^10.9.2",
|
79
|
+
"typescript": "^5.8.3"
|
80
|
+
}
|
81
|
+
}
|