@berthojoris/mcp-mysql-server 1.40.2 → 1.40.3

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,17 @@ 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.40.3] - 2026-03-07
9
+
10
+ ### Fixed
11
+ - Added missing tool-category mappings for snake_case and camelCase variants in `src/config/featureConfig.ts`
12
+ - Resolved unmapped tools: `get_schema_erd`, `repair_query`, `export_table_to_csv`, `export_query_to_csv`, `analyze_query`, `get_optimization_hints`
13
+ - Ensured dual-layer filtering recognizes all registered MCP tools from `src/mcp-server.ts`
14
+
15
+ ### Changed
16
+ - Synchronized versions to `1.40.3` in `package.json`, `src/mcp-server.ts`, and `manifest.json`
17
+ - Updated `README.md` and `DOCUMENTATIONS.md` Last Updated metadata
18
+
8
19
  ## [1.40.2] - 2026-03-07
9
20
 
10
21
  ### Removed
package/DOCUMENTATIONS.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # MySQL MCP Server - Documentation
2
2
 
3
- **Last Updated:** 2026-03-07 10:30:00
4
- **Version:** 1.40.2
3
+ **Last Updated:** 2026-03-07 11:05:00
4
+ **Version:** 1.40.3
5
5
  **Total Tools:** 62
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-07 10:30:00
7
+ **Last Updated:** 2026-03-07 11:05: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)
@@ -57,6 +57,8 @@ exports.toolCategoryMap = {
57
57
  // Analysis tools (added here to group with database tools)
58
58
  getDatabaseSummary: ToolCategory.LIST,
59
59
  getSchemaERD: ToolCategory.LIST,
60
+ getSchemaErd: ToolCategory.LIST,
61
+ get_schema_erd: ToolCategory.LIST,
60
62
  getSchemaRagContext: ToolCategory.LIST,
61
63
  // CRUD tools
62
64
  createRecord: ToolCategory.CREATE,
@@ -82,7 +84,11 @@ exports.toolCategoryMap = {
82
84
  testConnection: ToolCategory.UTILITY,
83
85
  getAllTablesRelationships: ToolCategory.UTILITY,
84
86
  exportTableToCSV: ToolCategory.UTILITY,
87
+ exportTableToCsv: ToolCategory.UTILITY,
88
+ export_table_to_csv: ToolCategory.UTILITY,
85
89
  exportQueryToCSV: ToolCategory.UTILITY,
90
+ exportQueryToCsv: ToolCategory.UTILITY,
91
+ export_query_to_csv: ToolCategory.UTILITY,
86
92
  read_changelog: ToolCategory.UTILITY,
87
93
  // Transaction tools
88
94
  beginTransaction: ToolCategory.TRANSACTION,
@@ -133,6 +139,13 @@ exports.toolCategoryMap = {
133
139
  getTableStatus: ToolCategory.LIST,
134
140
  flushTable: ToolCategory.UTILITY,
135
141
  getTableSize: ToolCategory.LIST,
142
+ // Query optimization tools
143
+ analyzeQuery: ToolCategory.UTILITY,
144
+ analyze_query: ToolCategory.UTILITY,
145
+ getOptimizationHints: ToolCategory.UTILITY,
146
+ get_optimization_hints: ToolCategory.UTILITY,
147
+ repairQuery: ToolCategory.UTILITY,
148
+ repair_query: ToolCategory.UTILITY,
136
149
  // Full-Text Search Tools
137
150
  createFulltextIndex: ToolCategory.DDL,
138
151
  fulltextSearch: ToolCategory.READ,
@@ -171,7 +184,11 @@ exports.toolDocCategoryMap = {
171
184
  testConnection: DocCategory.UTILITIES,
172
185
  describeConnection: DocCategory.UTILITIES,
173
186
  exportTableToCSV: DocCategory.UTILITIES,
187
+ exportTableToCsv: DocCategory.UTILITIES,
188
+ export_table_to_csv: DocCategory.UTILITIES,
174
189
  exportQueryToCSV: DocCategory.UTILITIES,
190
+ exportQueryToCsv: DocCategory.UTILITIES,
191
+ export_query_to_csv: DocCategory.UTILITIES,
175
192
  read_changelog: DocCategory.UTILITIES,
176
193
  list_all_tools: DocCategory.UTILITIES,
177
194
  // Transaction Management
@@ -225,11 +242,16 @@ exports.toolDocCategoryMap = {
225
242
  getTableSize: DocCategory.TABLE_MAINTENANCE,
226
243
  // Query Optimization
227
244
  analyzeQuery: DocCategory.QUERY_OPTIMIZATION,
245
+ analyze_query: DocCategory.QUERY_OPTIMIZATION,
228
246
  getOptimizationHints: DocCategory.QUERY_OPTIMIZATION,
247
+ get_optimization_hints: DocCategory.QUERY_OPTIMIZATION,
229
248
  repairQuery: DocCategory.QUERY_OPTIMIZATION,
249
+ repair_query: DocCategory.QUERY_OPTIMIZATION,
230
250
  // Analysis
231
251
  getDatabaseSummary: DocCategory.ANALYSIS,
232
252
  getSchemaERD: DocCategory.ANALYSIS,
253
+ getSchemaErd: DocCategory.ANALYSIS,
254
+ get_schema_erd: DocCategory.ANALYSIS,
233
255
  getColumnStatistics: DocCategory.ANALYSIS,
234
256
  getSchemaRagContext: DocCategory.ANALYSIS,
235
257
  // Full-Text Search
@@ -1850,7 +1850,7 @@ const TOOLS = [
1850
1850
  // Create the MCP server
1851
1851
  const server = new index_js_1.Server({
1852
1852
  name: "mysql-mcp-server",
1853
- version: "1.40.2",
1853
+ version: "1.40.3",
1854
1854
  }, {
1855
1855
  capabilities: {
1856
1856
  tools: {},
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mysql-mcp",
3
3
  "description": "A Model Context Protocol for MySQL database interaction",
4
- "version": "1.40.2",
4
+ "version": "1.40.3",
5
5
  "tools": [
6
6
  {
7
7
  "name": "list_databases",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berthojoris/mcp-mysql-server",
3
- "version": "1.40.2",
3
+ "version": "1.40.3",
4
4
  "description": "Model Context Protocol server for MySQL database integration with dynamic per-project permissions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",