@yanzhang123/readonly-db-mcp 0.7.4 → 0.7.6
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
|
@@ -49,9 +49,12 @@ npx -y @yanzhang123/readonly-db-mcp
|
|
|
49
49
|
For controlled production rollouts, pin the reviewed version:
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
|
-
npx -y @yanzhang123/readonly-db-mcp@
|
|
52
|
+
npx -y @yanzhang123/readonly-db-mcp@x.y.z
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
+
Replace `x.y.z` with the version approved by your organization. The unversioned
|
|
56
|
+
examples below intentionally resolve the npm `latest` tag.
|
|
57
|
+
|
|
55
58
|
On first use, the launcher creates a versioned virtual environment in the user
|
|
56
59
|
cache and installs the bundled wheel plus exact Python dependencies from a
|
|
57
60
|
version-controlled SHA-256 lock file. Downloads use the configured pip index
|
|
@@ -73,7 +76,7 @@ passwords in environment variables, and use an absolute path:
|
|
|
73
76
|
"mcpServers": {
|
|
74
77
|
"mysql-readonly": {
|
|
75
78
|
"command": "npx",
|
|
76
|
-
"args": ["-y", "@yanzhang123/readonly-db-mcp
|
|
79
|
+
"args": ["-y", "@yanzhang123/readonly-db-mcp"],
|
|
77
80
|
"env": {
|
|
78
81
|
"MYSQL_PROFILES_FILE": "C:/absolute/path/mysql-connections.toml",
|
|
79
82
|
"MYSQL_DEV_PASSWORD": "set-in-the-client-secret-store"
|
|
@@ -370,7 +373,7 @@ Add this to your `claude_desktop_config.json`:
|
|
|
370
373
|
"mcpServers": {
|
|
371
374
|
"mysql-readonly": {
|
|
372
375
|
"command": "npx",
|
|
373
|
-
"args": ["-y", "@yanzhang123/readonly-db-mcp
|
|
376
|
+
"args": ["-y", "@yanzhang123/readonly-db-mcp"],
|
|
374
377
|
"env": {
|
|
375
378
|
"MYSQL_PROFILES_FILE": "C:/absolute/path/mysql-connections.toml",
|
|
376
379
|
"MYSQL_DEV_PASSWORD": "your_dev_password",
|
|
@@ -391,7 +394,7 @@ Add this to your `mcp.json`:
|
|
|
391
394
|
"mysql-readonly": {
|
|
392
395
|
"type": "stdio",
|
|
393
396
|
"command": "npx",
|
|
394
|
-
"args": ["-y", "@yanzhang123/readonly-db-mcp
|
|
397
|
+
"args": ["-y", "@yanzhang123/readonly-db-mcp"],
|
|
395
398
|
"env": {
|
|
396
399
|
"MYSQL_PROFILES_FILE": "C:/absolute/path/mysql-connections.toml",
|
|
397
400
|
"MYSQL_DEV_PASSWORD": "your_dev_password",
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yanzhang123/readonly-db-mcp",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"description": "Enterprise-auditable, strictly read-only MySQL MCP server with multi-environment profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"url": "git+https://github.com/12zhangyan/mysql_mcp_server.git"
|
|
15
15
|
},
|
|
16
16
|
"bin": {
|
|
17
|
+
"readonly-db-mcp": "npm/bin/mysql-mcp-server-readonly.cjs",
|
|
17
18
|
"mysql-mcp-server-readonly": "npm/bin/mysql-mcp-server-readonly.cjs"
|
|
18
19
|
},
|
|
19
20
|
"files": [
|