@berthojoris/mcp-mysql-server 1.8.0 → 1.9.1
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 +102 -0
- package/DOCUMENTATIONS.md +703 -9
- package/README.md +466 -22
- package/dist/config/featureConfig.js +10 -0
- package/dist/index.d.ts +117 -0
- package/dist/index.js +95 -0
- package/dist/mcp-server.js +218 -0
- package/dist/tools/schemaVersioningTools.d.ts +147 -0
- package/dist/tools/schemaVersioningTools.js +1007 -0
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,102 @@ 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.9.1] - 2025-11-24
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **OpenAI Codex Integration** - Full support for OpenAI Codex CLI and VS Code Extension
|
|
12
|
+
- Added Codex configuration examples to README.md
|
|
13
|
+
- Added comprehensive Codex Integration section to DOCUMENTATIONS.md
|
|
14
|
+
- TOML configuration format (`~/.codex/config.toml`)
|
|
15
|
+
- CLI setup via `codex mcp add` command
|
|
16
|
+
- Environment variables configuration
|
|
17
|
+
- Multiple database configurations (prod/dev)
|
|
18
|
+
- Advanced options (timeouts, tool filtering)
|
|
19
|
+
- Codex MCP management commands reference
|
|
20
|
+
- Troubleshooting section for Codex-specific issues
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- Updated package.json keywords to include "codex" and "openai-codex"
|
|
24
|
+
- Updated feature list to include OpenAI Codex as supported AI agent
|
|
25
|
+
|
|
26
|
+
### Documentation
|
|
27
|
+
- README.md: Added OpenAI Codex CLI & VS Code Extension configuration section
|
|
28
|
+
- DOCUMENTATIONS.md: Added new section "OpenAI Codex Integration" with:
|
|
29
|
+
- Configuration overview table
|
|
30
|
+
- Quick setup via CLI
|
|
31
|
+
- Manual TOML configuration examples
|
|
32
|
+
- Configuration options reference table
|
|
33
|
+
- Advanced configurations (prod+dev, tool filtering, custom timeouts)
|
|
34
|
+
- VS Code Extension setup steps
|
|
35
|
+
- Verification instructions
|
|
36
|
+
- Common TOML syntax errors
|
|
37
|
+
- Permission sets for common use cases
|
|
38
|
+
|
|
39
|
+
## [1.9.0] - 2025-11-24
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
- **Schema Versioning & Migrations** - Complete database migration management system with 9 new tools:
|
|
43
|
+
- `initMigrationsTable` - Initialize the migrations tracking table (`_schema_migrations`)
|
|
44
|
+
- `createMigration` - Create new migration files with up/down SQL and automatic versioning
|
|
45
|
+
- `applyMigrations` - Apply pending migrations with dry-run support and transaction safety
|
|
46
|
+
- `rollbackMigration` - Rollback migrations with automatic down SQL execution
|
|
47
|
+
- `getMigrationStatus` - Get detailed status of all migrations
|
|
48
|
+
- `getSchemaVersion` - Get current schema version quickly
|
|
49
|
+
- `validateMigrations` - Validate migration checksums and detect tampering
|
|
50
|
+
- `resetFailedMigration` - Reset failed migrations for retry
|
|
51
|
+
- `generateMigrationFromDiff` - Auto-generate migrations by comparing table structures
|
|
52
|
+
|
|
53
|
+
### Changed
|
|
54
|
+
- **README.md Restructured** - Complete overhaul of MCP integration documentation
|
|
55
|
+
- Changed "Claude Desktop" references to "Claude Code"
|
|
56
|
+
- Added configuration examples for 12 AI tools/IDEs:
|
|
57
|
+
- Claude Code (CLI) - `.mcp.json`
|
|
58
|
+
- Cursor - `.cursor/mcp.json`
|
|
59
|
+
- Windsurf - `~/.codeium/windsurf/mcp_config.json`
|
|
60
|
+
- Cline (VS Code Extension)
|
|
61
|
+
- Gemini CLI - `~/.gemini/settings.json`
|
|
62
|
+
- Trae AI
|
|
63
|
+
- Qwen Code
|
|
64
|
+
- Droid CLI
|
|
65
|
+
- Zed IDE - `~/.config/zed/settings.json`
|
|
66
|
+
- Kilo Code (VS Code Extension)
|
|
67
|
+
- Roo Code (VS Code Extension)
|
|
68
|
+
- Continue (VS Code Extension)
|
|
69
|
+
|
|
70
|
+
### Documentation
|
|
71
|
+
- Added comprehensive Schema Versioning documentation to DOCUMENTATIONS.md
|
|
72
|
+
- Includes tool overview, permission requirements, best practices
|
|
73
|
+
- Common migration patterns with real-world examples
|
|
74
|
+
- Updated roadmap to mark Schema Versioning as COMPLETED
|
|
75
|
+
|
|
76
|
+
### Technical Details
|
|
77
|
+
- Migration tracking table stores: version, name, description, up_sql, down_sql, checksum, execution_time, status
|
|
78
|
+
- MD5 checksum validation prevents migration tampering
|
|
79
|
+
- Multi-statement SQL support for complex migrations
|
|
80
|
+
- Dry-run mode for safe migration testing
|
|
81
|
+
- Automatic version generation using timestamp format (YYYYMMDDHHMMSS)
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## [1.8.0] - 2025-11-24
|
|
86
|
+
|
|
87
|
+
### Added
|
|
88
|
+
- **Data Migration Tools** - Tools for data import/export and database transfer:
|
|
89
|
+
- Data import/export functionality
|
|
90
|
+
- Cross-database migration support
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## [1.7.0] - 2025-11-24
|
|
95
|
+
|
|
96
|
+
### Added
|
|
97
|
+
- **Database Backup/Restore** - Complete backup and restore functionality:
|
|
98
|
+
- Database backup tools
|
|
99
|
+
- Database restore tools
|
|
100
|
+
- Data import/export tools
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
8
104
|
## [1.6.3] - 2025-11-23
|
|
9
105
|
|
|
10
106
|
### Fixed
|
|
@@ -344,6 +440,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
344
440
|
|
|
345
441
|
## Version History Summary
|
|
346
442
|
|
|
443
|
+
- **1.9.0** - Schema Versioning & Migrations (9 new tools), MCP integration for 12 AI tools
|
|
444
|
+
- **1.8.0** - Data Migration Tools
|
|
445
|
+
- **1.7.0** - Database Backup/Restore, Data Import/Export
|
|
446
|
+
- **1.6.3** - Fixed missing tools in toolCategoryMap, security keyword refinement
|
|
447
|
+
- **1.6.2** - Fixed security keyword false positive bug
|
|
448
|
+
- **1.4.16** - Added get_table_size tool to manifest
|
|
347
449
|
- **1.4.4** - Bug fixes: First call failure & execute permission
|
|
348
450
|
- **1.4.3** - Permission error handling improvements
|
|
349
451
|
- **1.4.2** - Dynamic per-project permissions
|