Skip to content

Prompts

Chris edited this page Jul 6, 2026 · 116 revisions

Prompts

Tools Resources Prompts
OAuth 2.1 Code Mode

Discover Workflows: Available Prompts (19 total)

Core Prompts: Essential Automation

Prompt Description
mysql_query_builder Construct SQL queries with security best practices
mysql_schema_design Design table schemas with indexes and relationships
mysql_performance_analysis Analyze slow queries with optimization recommendations
mysql_migration Generate migration scripts with rollback options

Lazy Hydration Prompts: Instant Access

Prompt Description
mysql_tool_index Show all available tools organized by category
mysql_quick_query Shortcut for running queries
mysql_quick_schema Shortcut for exploring database schema

Health & Operations: Proactive Diagnostics

Prompt Description
mysql_database_health_check Comprehensive database health assessment
mysql_backup_strategy Enterprise backup planning with RTO/RPO
mysql_index_tuning Index analysis and optimization workflow
mysql_sys_schema_guide sys schema usage and diagnostics

Setup Guides: Expert Configurations

Prompt Description
mysql_setup_router MySQL Router configuration guide
mysql_setup_proxysql ProxySQL configuration guide
mysql_setup_replication Replication setup guide
mysql_setup_shell MySQL Shell usage guide
mysql_setup_events Event Scheduler setup guide
mysql_setup_spatial Spatial/GIS data setup guide
mysql_setup_cluster InnoDB Cluster/Group Replication guide
mysql_setup_docstore Document Store / X DevAPI guide

Accelerate Workflows: Using Prompts

In Claude Desktop or Cursor, you can invoke prompts directly:

Use the mysql_schema_design prompt to design a users table
→ Invokes schema design workflow

Run the mysql_database_health_check prompt
→ Starts comprehensive health assessment

Help me setup replication
→ Uses mysql_setup_replication prompt

Deep Dive: Prompt Capabilities

mysql_database_health_check

Comprehensive health assessment workflow:

  1. Check connection health
  2. Assess performance metrics
  3. Review storage and table health
  4. Check replication status
  5. Generate recommendations

mysql_backup_strategy

Enterprise backup planning:

  • RPO/RTO requirements analysis
  • Choosing backup method (mysqldump, MySQL Shell, XtraBackup)
  • Point-in-time recovery setup
  • Testing procedures

mysql_index_tuning

Index optimization workflow:

  • Identify unused indexes
  • Find missing indexes for slow queries
  • Detect duplicate indexes
  • EXPLAIN analysis for optimization

mysql_sys_schema_guide

Diagnostics using the MySQL sys schema:

  • Analyze I/O usage
  • Find most expensive statements
  • Check for full table scans
  • Investigate excessive locking

Setup Prompts

The setup prompts provide step-by-step guides for advanced MySQL features:

  • Cluster: InnoDB Cluster and Group Replication setup
  • Spatial: Enabling GIS features and creating spatial indexes
  • DocStore: Using MySQL as a NoSQL document store
  • Events: Configuring the Event Scheduler

Each guide includes prerequisites, installation steps, configuration commands, and verification tools.


Expand Your Knowledge (See Also)

  • Tools - Complete list of all 241 tools
  • Resources - Database observability resources

MySQL MCP Documentation

Unlock autonomous database orchestration with an enterprise-grade MySQL MCP server. Featuring blazing-fast sandboxed Code Mode, uncompromising schema enforcement, and seamless ecosystem integrations to power secure, intelligent AI workflows.

🏠 Home


Launch Your Setup


Connect Ecosystem Tools


Enforce Security & Compliance


Scale Your Operations


Explore External Links

Clone this wiki locally