vmoo-mcp-database-server 1.1.0 → 1.2.1
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 +214 -185
- package/bin/vmoo-mcp-deliver.js +45 -45
- package/bin/vmoo-mcp-dev.js +45 -45
- package/bin/vmoo-mcp-prod.js +45 -45
- package/bin/vmoo-mcp-server.js +81 -81
- package/index.js +38 -38
- package/package.json +61 -61
- package/shared/database-utils.js +102 -102
- package/shared/privacy-utils.js +207 -207
- package/shared/security-utils.js +219 -219
- package/shared/time-utils.js +62 -62
- package/vmoo-database-deliver/config.json +25 -35
- package/vmoo-database-deliver/package.json +26 -28
- package/vmoo-database-deliver/server.js +297 -297
- package/vmoo-database-dev/config.json +25 -25
- package/vmoo-database-dev/package.json +32 -32
- package/vmoo-database-dev/server.js +294 -294
- package/vmoo-database-prod/config.json +41 -41
- package/vmoo-database-prod/package.json +33 -33
- package/vmoo-database-prod/server.js +313 -313
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"database": {
|
|
3
|
-
"host": "118.25.190.11",
|
|
4
|
-
"port": 3306,
|
|
5
|
-
"user": "ceshi_v_moo_com",
|
|
6
|
-
"password": "
|
|
7
|
-
"database": "ceshi_v_moo_com",
|
|
8
|
-
"charset": "utf8mb4"
|
|
9
|
-
},
|
|
10
|
-
"security": {
|
|
11
|
-
"level": "development",
|
|
12
|
-
"description": "开发环境:允许查询、插入、更新,禁止删除操作",
|
|
13
|
-
"features": [
|
|
14
|
-
"SELECT、INSERT、UPDATE、ALTER TABLE、CREATE TABLE",
|
|
15
|
-
"禁止DELETE、DROP TABLE、DROP DATABASE",
|
|
16
|
-
"自动LIMIT限制",
|
|
17
|
-
"时区自动转换"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"server": {
|
|
21
|
-
"name": "vmoo-database-dev-server",
|
|
22
|
-
"version": "1.0.0",
|
|
23
|
-
"description": "开发环境数据库服务器"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"database": {
|
|
3
|
+
"host": "118.25.190.11",
|
|
4
|
+
"port": 3306,
|
|
5
|
+
"user": "ceshi_v_moo_com",
|
|
6
|
+
"password": "${V_MOO_PASSWORD}",
|
|
7
|
+
"database": "ceshi_v_moo_com",
|
|
8
|
+
"charset": "utf8mb4"
|
|
9
|
+
},
|
|
10
|
+
"security": {
|
|
11
|
+
"level": "development",
|
|
12
|
+
"description": "开发环境:允许查询、插入、更新,禁止删除操作",
|
|
13
|
+
"features": [
|
|
14
|
+
"SELECT、INSERT、UPDATE、ALTER TABLE、CREATE TABLE",
|
|
15
|
+
"禁止DELETE、DROP TABLE、DROP DATABASE",
|
|
16
|
+
"自动LIMIT限制",
|
|
17
|
+
"时区自动转换"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"server": {
|
|
21
|
+
"name": "vmoo-database-dev-server",
|
|
22
|
+
"version": "1.0.0",
|
|
23
|
+
"description": "开发环境数据库服务器"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vmoo-database-dev-mcp-server",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "VMOO开发环境数据库MCP服务器",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "server.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"vmoo-mcp-dev": "./server.js"
|
|
9
|
-
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"start": "node server.js",
|
|
12
|
-
"test": "node test-connection.js",
|
|
13
|
-
"dev": "node --inspect server.js"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"@modelcontextprotocol/sdk": "^1.17.2",
|
|
17
|
-
"mysql2": "^3.6.5"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [
|
|
20
|
-
"mcp",
|
|
21
|
-
"database",
|
|
22
|
-
"mysql",
|
|
23
|
-
"vmoo",
|
|
24
|
-
"development",
|
|
25
|
-
"model-context-protocol"
|
|
26
|
-
],
|
|
27
|
-
"author": "VMOO Team",
|
|
28
|
-
"license": "MIT",
|
|
29
|
-
"engines": {
|
|
30
|
-
"node": ">=18.0.0"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vmoo-database-dev-mcp-server",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "VMOO开发环境数据库MCP服务器",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "server.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"vmoo-mcp-dev": "./server.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "node server.js",
|
|
12
|
+
"test": "node test-connection.js",
|
|
13
|
+
"dev": "node --inspect server.js"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@modelcontextprotocol/sdk": "^1.17.2",
|
|
17
|
+
"mysql2": "^3.6.5"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"mcp",
|
|
21
|
+
"database",
|
|
22
|
+
"mysql",
|
|
23
|
+
"vmoo",
|
|
24
|
+
"development",
|
|
25
|
+
"model-context-protocol"
|
|
26
|
+
],
|
|
27
|
+
"author": "VMOO Team",
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18.0.0"
|
|
31
|
+
}
|
|
32
|
+
}
|