easy-mysql-admin-mcp 0.1.0 → 0.1.2

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.
@@ -51,12 +51,12 @@ export declare function createAdminHandlers(store: ConfirmationStore, tokenTtlSe
51
51
  privileges: string[];
52
52
  withGrantOption?: boolean;
53
53
  }) => Promise<{
54
- database: string;
55
- privileges: string[];
56
- withGrantOption: boolean;
57
54
  user: string;
58
55
  host: string;
59
56
  ok: boolean;
57
+ database: string;
58
+ privileges: string[];
59
+ withGrantOption: boolean;
60
60
  }>;
61
61
  revokePrivileges: (input: {
62
62
  user: string;
@@ -64,11 +64,11 @@ export declare function createAdminHandlers(store: ConfirmationStore, tokenTtlSe
64
64
  database: string;
65
65
  privileges: string[];
66
66
  }) => Promise<{
67
- database: string;
68
- privileges: string[];
69
67
  user: string;
70
68
  host: string;
71
69
  ok: boolean;
70
+ database: string;
71
+ privileges: string[];
72
72
  }>;
73
73
  showGrants: (input: {
74
74
  user: string;
@@ -90,18 +90,18 @@ export declare function createAdminHandlers(store: ConfirmationStore, tokenTtlSe
90
90
  action?: undefined;
91
91
  target?: undefined;
92
92
  } | {
93
+ error?: undefined;
94
+ code?: undefined;
93
95
  status: string;
94
96
  ok: boolean;
95
97
  action: "drop_database";
96
98
  target: string;
99
+ } | {
97
100
  error?: undefined;
98
101
  code?: undefined;
99
- } | {
100
102
  status: string;
101
103
  ok: boolean;
102
104
  action: "drop_user";
103
105
  target: string;
104
- error?: undefined;
105
- code?: undefined;
106
106
  }>;
107
107
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-mysql-admin-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "High privilege MySQL admin MCP server for database and user management",
5
5
  "keywords": [
6
6
  "mcp",
@@ -45,13 +45,13 @@
45
45
  "prepack": "npm run build"
46
46
  },
47
47
  "dependencies": {
48
- "@modelcontextprotocol/sdk": "^1.29.0",
49
- "mysql2": "^3.22.5",
50
- "zod": "^4.4.3"
48
+ "@modelcontextprotocol/sdk": "^1.30.0",
49
+ "mysql2": "^3.24.4",
50
+ "zod": "^4.5.4"
51
51
  },
52
52
  "devDependencies": {
53
- "@types/node": "^25.9.3",
54
- "typescript": "^6.0.3"
53
+ "@types/node": "^26.5.0",
54
+ "typescript": "^7.0.2"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=20"