@berthojoris/mcp-mysql-server 1.16.1 → 1.16.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +30 -8
  3. package/package.json +89 -89
package/CHANGELOG.md CHANGED
@@ -5,6 +5,25 @@ 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.16.3] - 2025-12-11
9
+
10
+ ### Documentation
11
+ - **README.md Enhancement** - Added comprehensive AI Enhancement tools documentation
12
+ - Updated total tool count from 134 to 142 tools
13
+ - Added detailed "🤖 AI Enhancement Tools (Phase 1 - Implemented)" section
14
+ - Listed all 8 AI tools in Available Tools table with full names
15
+ - Included practical use cases for each AI tool category
16
+ - Tools documented: `build_query_from_intent`, `suggest_query_improvements`, `smart_search`,
17
+ `find_similar_columns`, `discover_data_patterns`, `generate_documentation`,
18
+ `generate_data_dictionary`, `generate_business_glossary`
19
+
20
+ ## [1.16.2] - 2025-12-11
21
+
22
+ ### Fixed
23
+ - **Documentation Update** - Added missing `ai_enhancement` category to the Documentation Categories table in README.md
24
+ - The table now correctly shows all 24 documentation categories
25
+ - Added entry for `ai_enhancement` category with 8 tools and description
26
+
8
27
  ## [1.16.1] - 2025-12-09
9
28
 
10
29
  ### Improved
package/README.md CHANGED
@@ -152,7 +152,7 @@ Most AI agents use a similar JSON configuration format. Use the appropriate conf
152
152
  "-y",
153
153
  "@berthojoris/mysql-mcp",
154
154
  "mysql://user:password@localhost:3306/database",
155
- "list,read,utility"
155
+ "list,read,utility,create,update,ddl",
156
156
  ]
157
157
  }
158
158
  }
@@ -168,9 +168,9 @@ Most AI agents use a similar JSON configuration format. Use the appropriate conf
168
168
  "args": [
169
169
  "-y",
170
170
  "@berthojoris/mysql-mcp",
171
- "mysql://user:password@localhost:3306/database",
172
- "list,read,utility",
173
- "database_discovery,crud_operations,custom_queries"
171
+ "mysql://user:password@localhost:3306/database_name_here",
172
+ "list,read,utility,create,update,ddl",
173
+ "database_discovery,crud_operations,custom_queries,schema_management,index_management,constraint_management,table_maintenance,query_optimization,analysis"
174
174
  ]
175
175
  }
176
176
  }
@@ -496,6 +496,7 @@ Use these categories for fine-grained control that matches the tool organization
496
496
  | `data_migration` | 5 | Copy, move, clone, sync table data |
497
497
  | `schema_migrations` | 9 | Version control for database schema |
498
498
  | `analysis` | 4 | AI context optimization and data analysis |
499
+ | `ai_enhancement` | 8 | AI-powered query building, smart search, and documentation generation |
499
500
 
500
501
  ### Legacy Categories (Backward Compatible)
501
502
 
@@ -646,11 +647,11 @@ Use both 2nd argument (permissions) and 3rd argument (categories):
646
647
 
647
648
  ## Available Tools
648
649
 
649
- The MCP server provides **134 powerful tools** organized into 23 categories:
650
+ The MCP server provides **142 powerful tools** organized into 23 categories:
650
651
 
651
652
  ### Quick Reference
652
653
 
653
- **134 Tools Available** - Organized into 23 categories
654
+ **142 Tools Available** - Organized into 23 categories
654
655
 
655
656
  | Category | Count | Key Tools |
656
657
  |----------|-------|-----------|
@@ -677,7 +678,28 @@ The MCP server provides **134 powerful tools** organized into 23 categories:
677
678
  | Schema Migrations | 9 | `create_migration`, `apply_migrations` |
678
679
  | Utilities | 4 | `test_connection`, `export_table_to_csv` |
679
680
  | Analysis | 4 | `get_column_statistics`, `get_database_summary`, `get_schema_erd` |
680
- | **AI Enhancement** | 8 | `build_query_from_intent`, `smart_search`, `generate_documentation` |
681
+ | **AI Enhancement** | 8 | `build_query_from_intent`, `suggest_query_improvements`, `smart_search`, `find_similar_columns`, `discover_data_patterns`, `generate_documentation`, `generate_data_dictionary`, `generate_business_glossary` |
682
+
683
+ ### 🤖 AI Enhancement Tools (Phase 1 - Implemented)
684
+
685
+ The MySQL MCP server includes advanced AI-powered productivity tools:
686
+
687
+ #### **Intelligent Query Assistant**
688
+ - **`build_query_from_intent`** - Converts natural language to optimized SQL queries
689
+ - **`suggest_query_improvements`** - AI-powered query optimization suggestions
690
+ - *Use case: "Show me active users from last month" → Automatically generates SQL*
691
+
692
+ #### **Smart Data Discovery Agent**
693
+ - **`smart_search`** - Semantic search for tables, columns, and data patterns
694
+ - **`find_similar_columns`** - Discover columns with similar names or data patterns
695
+ - **`discover_data_patterns`** - Automatic identification of data patterns and relationships
696
+ - *Use case: Find all customer-related columns across hundreds of tables*
697
+
698
+ #### **AI-Powered Documentation Generator**
699
+ - **`generate_documentation`** - Automatic database documentation with business glossary
700
+ - **`generate_data_dictionary`** - Interactive data dictionaries with examples
701
+ - **`generate_business_glossary`** - Business terminology mapping to technical fields
702
+ - *Use case: Generate complete documentation for a new database in seconds*
681
703
 
682
704
  > **📖 For detailed tool descriptions, parameters, and examples, see [DOCUMENTATIONS.md](DOCUMENTATIONS.md#🔧-complete-tools-reference)**
683
705
 
@@ -695,7 +717,7 @@ For comprehensive documentation, see **[DOCUMENTATIONS.md](DOCUMENTATIONS.md)**:
695
717
  - **Schema Versioning** - Version control for database schema changes
696
718
  - **Transaction Management** - ACID transactions
697
719
  - **Stored Procedures** - Create and execute with IN/OUT/INOUT parameters
698
- - **AI Enhancement** - Natural language to SQL, smart discovery, and auto-documentation
720
+ - **🤖 AI Enhancement** - Natural language to SQL, smart data discovery, and auto-documentation (Phase 1 Complete)
699
721
  - **Query Logging** - See all SQL queries executed automatically
700
722
  - **Security Features** - Built-in security and best practices
701
723
  - **Bulk Operations** - High-performance batch processing
package/package.json CHANGED
@@ -1,89 +1,89 @@
1
- {
2
- "name": "@berthojoris/mcp-mysql-server",
3
- "version": "1.16.1",
4
- "description": "Model Context Protocol server for MySQL database integration with dynamic per-project permissions, backup/restore, data import/export, and data migration capabilities",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "bin": {
8
- "mcp-mysql": "bin/mcp-mysql.js"
9
- },
10
- "scripts": {
11
- "build": "tsc",
12
- "start": "node dist/server.js",
13
- "start:mcp": "node dist/mcp-server.js",
14
- "start:api": "node dist/server.js",
15
- "dev": "ts-node src/index.ts",
16
- "dev:mcp": "ts-node src/mcp-server.ts",
17
- "dev:api": "ts-node src/server.ts",
18
- "test": "jest",
19
- "prepare": "npm run build",
20
- "prepublishOnly": "npm run build"
21
- },
22
- "keywords": [
23
- "mcp",
24
- "mysql",
25
- "database",
26
- "llm",
27
- "ai",
28
- "model-context-protocol",
29
- "claude",
30
- "cline",
31
- "windsurf",
32
- "codex",
33
- "openai-codex",
34
- "agent",
35
- "database-tools",
36
- "sql",
37
- "mysql-client",
38
- "ai-tools"
39
- ],
40
- "author": "Bertho Joris <berthojoris@gmail.com>",
41
- "license": "MIT",
42
- "repository": {
43
- "type": "git",
44
- "url": "git+https://github.com/berthojoris/mysql-mcp.git"
45
- },
46
- "bugs": {
47
- "url": "https://github.com/berthojoris/mysql-mcp/issues"
48
- },
49
- "homepage": "https://github.com/berthojoris/mysql-mcp#readme",
50
- "files": [
51
- "dist",
52
- "bin",
53
- "README.md",
54
- "DOCUMENTATIONS.md",
55
- "CHANGELOG.md",
56
- "LICENSE",
57
- "manifest.json"
58
- ],
59
- "engines": {
60
- "node": ">=18.0.0"
61
- },
62
- "dependencies": {
63
- "@modelcontextprotocol/sdk": "^1.20.0",
64
- "ajv": "^8.12.0",
65
- "cors": "^2.8.5",
66
- "dotenv": "^16.3.1",
67
- "express": "^4.18.2",
68
- "express-rate-limit": "^7.1.5",
69
- "helmet": "^7.1.0",
70
- "jsonwebtoken": "^9.0.2",
71
- "morgan": "^1.10.0",
72
- "mysql2": "^3.6.1",
73
- "winston": "^3.11.0"
74
- },
75
- "devDependencies": {
76
- "@types/cors": "^2.8.17",
77
- "@types/express": "^4.17.21",
78
- "@types/helmet": "^0.0.48",
79
- "@types/jest": "^29.5.4",
80
- "@types/jsonwebtoken": "^9.0.5",
81
- "@types/morgan": "^1.9.9",
82
- "@types/node": "^20.6.0",
83
- "@types/winston": "^2.4.4",
84
- "jest": "^29.6.4",
85
- "ts-jest": "^29.1.1",
86
- "ts-node": "^10.9.1",
87
- "typescript": "^5.2.2"
88
- }
89
- }
1
+ {
2
+ "name": "@berthojoris/mcp-mysql-server",
3
+ "version": "1.16.3",
4
+ "description": "Model Context Protocol server for MySQL database integration with dynamic per-project permissions, backup/restore, data import/export, and data migration capabilities",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "bin": {
8
+ "mcp-mysql": "bin/mcp-mysql.js"
9
+ },
10
+ "scripts": {
11
+ "build": "tsc",
12
+ "start": "node dist/server.js",
13
+ "start:mcp": "node dist/mcp-server.js",
14
+ "start:api": "node dist/server.js",
15
+ "dev": "ts-node src/index.ts",
16
+ "dev:mcp": "ts-node src/mcp-server.ts",
17
+ "dev:api": "ts-node src/server.ts",
18
+ "test": "jest",
19
+ "prepare": "npm run build",
20
+ "prepublishOnly": "npm run build"
21
+ },
22
+ "keywords": [
23
+ "mcp",
24
+ "mysql",
25
+ "database",
26
+ "llm",
27
+ "ai",
28
+ "model-context-protocol",
29
+ "claude",
30
+ "cline",
31
+ "windsurf",
32
+ "codex",
33
+ "openai-codex",
34
+ "agent",
35
+ "database-tools",
36
+ "sql",
37
+ "mysql-client",
38
+ "ai-tools"
39
+ ],
40
+ "author": "Bertho Joris <berthojoris@gmail.com>",
41
+ "license": "MIT",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/berthojoris/mysql-mcp.git"
45
+ },
46
+ "bugs": {
47
+ "url": "https://github.com/berthojoris/mysql-mcp/issues"
48
+ },
49
+ "homepage": "https://github.com/berthojoris/mysql-mcp#readme",
50
+ "files": [
51
+ "dist",
52
+ "bin",
53
+ "README.md",
54
+ "DOCUMENTATIONS.md",
55
+ "CHANGELOG.md",
56
+ "LICENSE",
57
+ "manifest.json"
58
+ ],
59
+ "engines": {
60
+ "node": ">=18.0.0"
61
+ },
62
+ "dependencies": {
63
+ "@modelcontextprotocol/sdk": "^1.20.0",
64
+ "ajv": "^8.12.0",
65
+ "cors": "^2.8.5",
66
+ "dotenv": "^16.3.1",
67
+ "express": "^4.18.2",
68
+ "express-rate-limit": "^7.1.5",
69
+ "helmet": "^7.1.0",
70
+ "jsonwebtoken": "^9.0.2",
71
+ "morgan": "^1.10.0",
72
+ "mysql2": "^3.6.1",
73
+ "winston": "^3.11.0"
74
+ },
75
+ "devDependencies": {
76
+ "@types/cors": "^2.8.17",
77
+ "@types/express": "^4.17.21",
78
+ "@types/helmet": "^0.0.48",
79
+ "@types/jest": "^29.5.4",
80
+ "@types/jsonwebtoken": "^9.0.5",
81
+ "@types/morgan": "^1.9.9",
82
+ "@types/node": "^20.6.0",
83
+ "@types/winston": "^2.4.4",
84
+ "jest": "^29.6.4",
85
+ "ts-jest": "^29.1.1",
86
+ "ts-node": "^10.9.1",
87
+ "typescript": "^5.2.2"
88
+ }
89
+ }