@pickstar-2002/mysql-mcp-fixed
v1.0.0
Published
MySQL MCP Server with bug fixes
Readme
MySQL MCP Server (Fixed Version)
A Model Context Protocol (MCP) server for MySQL database operations with bug fixes.
Features
- Connect to MySQL databases
- Database management (create, drop, list)
- Table management (create, drop, list, describe)
- Data operations (insert, update, delete, query)
- Data import/export (JSON, CSV formats)
Installation
npm install -g @pickstar-2002/mysql-mcp-fixedUsage
mysql-mcpBug Fixes
This version fixes the following issues from the original mysql-mcp:
- Fixed
mysql_list_tableserror - Fixed
mysql_import_dataJSON parsing and CSV handling - Improved error handling and type safety
- Better file path handling for import/export operations
Tools Available
mysql_connect- Connect to MySQL servermysql_disconnect- Disconnect from MySQL servermysql_list_databases- List all databasesmysql_create_database- Create databasemysql_drop_database- Drop databasemysql_list_tables- List tables in databasemysql_describe_table- Show table structuremysql_create_table- Create tablemysql_drop_table- Drop tablemysql_query- Execute SQL querymysql_insert- Insert datamysql_update- Update datamysql_delete- Delete datamysql_export_data- Export data to filemysql_import_data- Import data from file
License
MIT
