This MySQL MCP server now includes ALL 20 tools you requested:
- mysql_query - Execute read-only MySQL queries (SELECT, SHOW, DESCRIBE, EXPLAIN)
- list_mysql_tables - List all tables in the MySQL database
- mysql_table_schema - Get detailed schema information for a MySQL table
- mysql_table_data - Fetch sample data from a MySQL table
- mysql_databases - List all databases accessible to current user
- mysql_table_indexes - Show all indexes for a specific table
- mysql_table_size - Get storage size information for a table
- mysql_table_status - Get comprehensive status information for tables
- mysql_table_constraints - Show foreign key and check constraints for a table
- mysql_column_stats - Get column statistics and data distribution
- mysql_user_privileges - Show current user's privileges
- mysql_process_list - Show active MySQL connections and processes
- mysql_variables - Show MySQL system variables
- mysql_charset_collation - Show available character sets and collations
- mysql_explain_query - Analyze query execution plan
- mysql_search_tables - Search for tables containing specific column names
- mysql_table_dependencies - Find foreign key dependencies between tables
- mysql_backup_info - Get information about database backup status
- mysql_replication_status - Show MySQL replication status
- mysql_query_cache_stats - Show query cache statistics
- ✅ Read-only query validation using regex patterns
- ✅ SQL injection prevention with prepared statements
- ✅ Table name validation and sanitization
- ✅ Parameter validation for all inputs
- ✅ Comprehensive error handling for all tools
- ✅ Structured error responses with error types
- ✅ Connection failure detection and reporting
- ✅ MySQL privilege checking and error reporting
- ✅ Environment variable support for all MySQL connection parameters
- ✅ Claude Desktop integration ready with config file
- ✅ Support for both stdio and SSE transports
- ✅ 2 Resources:
mysql://tablesandmysql://schema/{table_name} - ✅ 2 Prompts:
generate_sql_queryandanalyze_query_performance
The server is now fully functional and ready for production use!