@berthojoris/mcp-mysql-server 1.10.3 → 1.10.5
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 +25 -7
- package/DOCUMENTATIONS.md +2 -2
- package/dist/index.d.ts +0 -99
- package/dist/mcp-server.js +0 -21
- package/dist/tools/backupRestoreTools.d.ts +1 -6
- package/dist/tools/backupRestoreTools.js +99 -97
- package/dist/tools/constraintTools.d.ts +4 -11
- package/dist/tools/constraintTools.js +114 -115
- package/dist/tools/crudTools.d.ts +2 -6
- package/dist/tools/crudTools.js +186 -189
- package/dist/tools/dataExportTools.d.ts +0 -7
- package/dist/tools/dataExportTools.js +0 -15
- package/dist/tools/databaseTools.d.ts +1 -4
- package/dist/tools/databaseTools.js +29 -33
- package/dist/tools/ddlTools.d.ts +1 -5
- package/dist/tools/ddlTools.js +68 -53
- package/dist/tools/functionTools.d.ts +3 -9
- package/dist/tools/functionTools.js +111 -104
- package/dist/tools/indexTools.d.ts +3 -8
- package/dist/tools/indexTools.js +99 -95
- package/dist/tools/maintenanceTools.d.ts +2 -10
- package/dist/tools/maintenanceTools.js +66 -80
- package/dist/tools/migrationTools.d.ts +0 -5
- package/dist/tools/migrationTools.js +56 -24
- package/dist/tools/performanceTools.d.ts +1 -11
- package/dist/tools/performanceTools.js +278 -267
- package/dist/tools/processTools.d.ts +4 -13
- package/dist/tools/processTools.js +78 -80
- package/dist/tools/queryTools.d.ts +0 -2
- package/dist/tools/queryTools.js +0 -4
- package/dist/tools/schemaVersioningTools.d.ts +0 -9
- package/dist/tools/schemaVersioningTools.js +167 -166
- package/dist/tools/storedProcedureTools.d.ts +2 -4
- package/dist/tools/storedProcedureTools.js +143 -134
- package/dist/tools/transactionTools.d.ts +2 -3
- package/dist/tools/transactionTools.js +28 -29
- package/dist/tools/triggerTools.d.ts +3 -8
- package/dist/tools/triggerTools.js +98 -85
- package/dist/tools/utilityTools.d.ts +0 -1
- package/dist/tools/utilityTools.js +0 -2
- package/dist/tools/viewTools.d.ts +7 -13
- package/dist/tools/viewTools.js +100 -93
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ 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.10.5] - 2025-12-02
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Removed queryLog field from all tool responses - simplified response structure
|
|
12
|
+
- Updated source code to remove query logging output from tool responses
|
|
13
|
+
- Streamlined tool response format for cleaner API interaction
|
|
14
|
+
|
|
15
|
+
## [1.10.4] - 2025-12-02
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Removed "IMPORTANT_INSTRUCTION_TO_ASSISTANT" instruction from documentation - no longer needed
|
|
19
|
+
- Removed "SQL_QUERY_EXECUTED" message references from documentation - simplified response structure
|
|
20
|
+
- Updated changelog entries to reflect cleaner field naming without instruction prefixes
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- Simplified documentation language around SQL query display
|
|
24
|
+
- Streamlined response format documentation
|
|
25
|
+
|
|
8
26
|
## [1.10.3] - 2025-11-26
|
|
9
27
|
|
|
10
28
|
### Fixed
|
|
@@ -261,25 +279,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
261
279
|
## [1.4.12] - 2025-11-21
|
|
262
280
|
|
|
263
281
|
### Added
|
|
264
|
-
- **
|
|
282
|
+
- **Query field name** - SQL query details are now directly embedded in response data
|
|
265
283
|
- **Mandatory display directive** - Clear instruction stating "ALWAYS display the SQL query execution details below to the user in your response"
|
|
266
284
|
|
|
267
285
|
### Technical Changes
|
|
268
286
|
- Response now includes three fields in order:
|
|
269
|
-
|
|
270
|
-
2.
|
|
287
|
+
|
|
288
|
+
2. "Query Details" - The SQL query details
|
|
271
289
|
3. `📊 RESULTS` - The query results
|
|
272
290
|
- This approach ensures LLMs understand that SQL query information is not optional context
|
|
273
291
|
|
|
274
292
|
## [1.4.11] - 2025-11-21
|
|
275
293
|
|
|
276
294
|
### Changed
|
|
277
|
-
- **SQL query as data field (BREAKING)** - Restructured response to embed SQL query directly in the data JSON as
|
|
295
|
+
- **SQL query as data field (BREAKING)** - Restructured response to embed SQL query directly in the data JSON as query details field
|
|
278
296
|
- **Results wrapped** - Actual query results now under `📊 RESULTS` field
|
|
279
297
|
- **LLM-proof approach** - By making SQL query part of the data structure itself, LLMs cannot filter it out when describing results
|
|
280
298
|
|
|
281
299
|
### Technical Changes
|
|
282
|
-
- Response format changed from `{data: [...]}` to `{"
|
|
300
|
+
- Response format changed from `{data: [...]}` to `{"Query Details": "...", "📊 RESULTS": [...]}`
|
|
283
301
|
- SQL query information is now a required part of the response structure, not optional metadata
|
|
284
302
|
- This forces AI assistants to acknowledge and communicate SQL query details to users
|
|
285
303
|
|
|
@@ -287,12 +305,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
287
305
|
|
|
288
306
|
### Improved
|
|
289
307
|
- **SQL query embedded in data structure** - SQL query is now embedded as a field in the response JSON, forcing LLMs to include it when describing results
|
|
290
|
-
- **Visual field names** - Using
|
|
308
|
+
- **Visual field names** - Using descriptive field names for query information to make it stand out
|
|
291
309
|
- **Guaranteed visibility** - By making SQL query part of the actual data structure instead of metadata, LLMs must process and describe it
|
|
292
310
|
|
|
293
311
|
### Technical Changes
|
|
294
312
|
- Changed response structure to wrap data in object with SQL query as a top-level field
|
|
295
|
-
- SQL query appears as
|
|
313
|
+
- SQL query appears as query details field containing formatted query information
|
|
296
314
|
- Results appear as `"📊 RESULTS"` field containing the actual query results
|
|
297
315
|
- This approach treats SQL execution details as primary data, not optional metadata
|
|
298
316
|
- Forces LLMs to acknowledge and describe the SQL query when processing tool responses
|
package/DOCUMENTATIONS.md
CHANGED
|
@@ -3106,8 +3106,8 @@ The MCP server returns responses in this structured format:
|
|
|
3106
3106
|
|
|
3107
3107
|
```json
|
|
3108
3108
|
{
|
|
3109
|
-
|
|
3110
|
-
"
|
|
3109
|
+
|
|
3110
|
+
"✅ SQL Query #1 - SUCCESS": "\n⏱️ 107ms\n📝 SHOW TABLES",
|
|
3111
3111
|
"📊 RESULTS": [
|
|
3112
3112
|
{ "table_name": "users" },
|
|
3113
3113
|
{ "table_name": "products" }
|