@berthojoris/mcp-mysql-server 1.37.0 → 1.38.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/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ All notable changes to the MySQL MCP Server will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.38.0] - 2026-03-06
9
+
10
+ ### Fixed
11
+ - **Missing Tool Mapping**: Added `repairQuery` to `toolDocCategoryMap` in `featureConfig.ts` (QUERY_OPTIMIZATION category)
12
+ - **Deprecated Tool Cleanup**: Removed deprecated tools from category mappings:
13
+ - Removed `getTableRelationships` (replaced by `get_all_tables_relationships`)
14
+ - Removed `cloneTable`, `compareTableStructure`, `syncTableData` (previously removed in v1.36.0, now cleaned from mappings)
15
+ - Removed `safe_export_table` (previously removed, now cleaned from mappings)
16
+ - **Backup Tools Mapping**: Added missing backup/restore tools to `toolCategoryMap`: `backupDatabase`, `restoreFromSql`, `getCreateTableStatement`, `getDatabaseSchema`
17
+
18
+ ### Changed
19
+ - Updated `featureConfig.ts` to ensure all 106 tools have proper category mappings
20
+ - Maintained consistency between code implementation and documentation (106 tools, 21 categories)
21
+ - Bumped package version to `1.38.0`
22
+
8
23
  ## [1.37.0] - 2026-03-06
9
24
 
10
25
  ### Removed
package/DOCUMENTATIONS.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # MySQL MCP Server - Documentation
2
2
 
3
3
  **Last Updated:** 2026-03-06 00:00:00
4
- **Version:** 1.37.0
4
+ **Version:** 1.38.0
5
5
  **Total Tools:** 106
6
6
 
7
7
  Comprehensive documentation for the MySQL MCP Server. For quick start, see [README.md](README.md).
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  **A production-ready Model Context Protocol (MCP) server for MySQL database integration with AI agents**
6
6
 
7
- **Last Updated:** 2026-03-06 00:00:00
7
+ **Last Updated:** 2026-03-06 12:00:00
8
8
 
9
9
  [![npm version](https://img.shields.io/npm/v/@berthojoris/mcp-mysql-server)](https://www.npmjs.com/package/@berthojoris/mcp-mysql-server)
10
10
  [![npm downloads](https://img.shields.io/npm/dm/@berthojoris/mcp-mysql-server)](https://www.npmjs.com/package/@berthojoris/mcp-mysql-server)
@@ -86,11 +86,9 @@ exports.toolCategoryMap = {
86
86
  // Utility tools
87
87
  describeConnection: ToolCategory.UTILITY,
88
88
  testConnection: ToolCategory.UTILITY,
89
- getTableRelationships: ToolCategory.UTILITY,
90
89
  getAllTablesRelationships: ToolCategory.UTILITY,
91
90
  exportTableToCSV: ToolCategory.UTILITY,
92
91
  exportQueryToCSV: ToolCategory.UTILITY,
93
- safe_export_table: ToolCategory.UTILITY,
94
92
  read_changelog: ToolCategory.UTILITY,
95
93
  // Transaction tools
96
94
  beginTransaction: ToolCategory.TRANSACTION,
@@ -169,9 +167,10 @@ exports.toolCategoryMap = {
169
167
  showReplicationStatus: ToolCategory.LIST,
170
168
  // Backup and restore tools
171
169
  backupTable: ToolCategory.UTILITY,
172
- cloneTable: ToolCategory.DDL,
173
- compareTableStructure: ToolCategory.LIST,
174
- syncTableData: ToolCategory.UPDATE,
170
+ backupDatabase: ToolCategory.UTILITY,
171
+ restoreFromSql: ToolCategory.UTILITY,
172
+ getCreateTableStatement: ToolCategory.UTILITY,
173
+ getDatabaseSchema: ToolCategory.UTILITY,
175
174
  // Schema versioning and migrations tools
176
175
  initMigrationsTable: ToolCategory.DDL,
177
176
  createMigration: ToolCategory.DDL,
@@ -211,7 +210,6 @@ exports.toolDocCategoryMap = {
211
210
  listDatabases: DocCategory.DATABASE_DISCOVERY,
212
211
  listTables: DocCategory.DATABASE_DISCOVERY,
213
212
  readTableSchema: DocCategory.DATABASE_DISCOVERY,
214
- getTableRelationships: DocCategory.DATABASE_DISCOVERY,
215
213
  getAllTablesRelationships: DocCategory.DATABASE_DISCOVERY,
216
214
  // CRUD Operations
217
215
  createRecord: DocCategory.CRUD_OPERATIONS,
@@ -323,6 +321,7 @@ exports.toolDocCategoryMap = {
323
321
  // Query Optimization
324
322
  analyzeQuery: DocCategory.QUERY_OPTIMIZATION,
325
323
  getOptimizationHints: DocCategory.QUERY_OPTIMIZATION,
324
+ repairQuery: DocCategory.QUERY_OPTIMIZATION,
326
325
  // Backup & Restore
327
326
  backupTable: DocCategory.BACKUP_RESTORE,
328
327
  backupDatabase: DocCategory.BACKUP_RESTORE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berthojoris/mcp-mysql-server",
3
- "version": "1.37.0",
3
+ "version": "1.38.0",
4
4
  "description": "Model Context Protocol server for MySQL database integration with dynamic per-project permissions, backup/restore, and schema migration capabilities",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",