Skip to content
Chris edited this page Jul 18, 2026 · 146 revisions

Empower Workflows with a Comprehensive MySQL Tool Suite

Tools Resources Prompts
Code Mode

Value Proposition Streamline agent workflows with a comprehensive MySQL tool suite. Execute secure, context-aware data operations to enable task completion and minimize token overhead. Read the full value proposition.

Note

Global Parameter Note: All tools support token-optimized payloads. They use optional summary, limit, and compact parameters where applicable.


Use Curated Presets

Tool filters can use convenient presets to unlock specific groups of tools.

Preset Tool Groups Unlocked
starter core, json, text, codemode

Drive Efficiency via High-Performance Core Operations (CLI Group: --tool-filter core)

Safely execute foundational data manipulation and schema queries. These feature built-in parameterization and rigorous security controls. The tools below are foundational examples rather than an exhaustive list.

Tool Description
mysql_read_query Execute SELECT with parameter binding
mysql_write_query Execute INSERT/UPDATE/DELETE
mysql_list_tables List tables with metadata
mysql_describe_table Get column definitions
mysql_create_table CREATE TABLE with engine/charset
mysql_drop_table DROP TABLE with IF EXISTS
mysql_create_index CREATE INDEX (BTREE, HASH, FULLTEXT)
mysql_get_indexes SHOW INDEX FROM table
mysql_enable_versioning Enable OCC on a table
mysql_disable_versioning Disable OCC on a table
mysql_check_version Get current _version of a row
mysql_conditional_update Update row conditionally based on version

Master Complex JSON Operations (CLI Group: --tool-filter json)

Deep integration with MySQL's native JSON capabilities. Read, mutate, and validate JSON documents securely. The tools below are foundational examples rather than an exhaustive list.

Tool Description
mysql_json_extract Extract data from JSON documents
mysql_json_set Insert/update data in JSON documents
mysql_json_insert Insert data into JSON documents
mysql_json_replace Replace values in JSON documents
mysql_json_remove Remove data from JSON documents
mysql_json_contains Check if JSON document contains data
mysql_json_keys Return keys from JSON documents
mysql_json_array_append Append values to JSON array
mysql_json_get Get value from JSON document
mysql_json_update Update JSON document
mysql_json_search Search for values within JSON document
mysql_json_validate Validate JSON document against schema
mysql_json_merge Merge multiple JSON documents
mysql_json_diff Compare two JSON documents
mysql_json_normalize Normalize JSON document
mysql_json_stats Get statistics about JSON document
mysql_json_index_suggest Suggest indexes for JSON document

Execute Text Operations (CLI Group: --tool-filter text)

Execute text-based operations and matching strategies directly within the database engine. The tools below are foundational examples rather than an exhaustive list.

Tool Description
mysql_regexp_match Perform regular expression pattern matches
mysql_like_search Perform LIKE pattern matching
mysql_soundex Perform SOUNDEX string phonetic matching
mysql_substring Extract substrings
mysql_concat Concatenate strings
mysql_collation_convert Convert string collation

Run Code Mode Sandbox (CLI Group: --tool-filter codemode)

Execute JavaScript in a native isolated-vm V8 instance with access to MySQL tools. Note: Code Mode is strictly bound by your --tool-filter rules. It cannot execute explicitly filtered tools. Code Mode is included in the starter preset. Read Code Mode for API documentation.

Tool Description
mysql_execute_code Execute code with access to all mysql.* APIs. Yields significant token savings.

Analyze Performance Tuning (CLI Group: --tool-filter performance)

Analyze and optimize query execution plans and database performance. (Use the mysql_tool_index prompt to view the full list of available performance tools. One example is mysql_explain).


Manage ProxySQL Operations (CLI Group: --tool-filter proxysql)

Manage ProxySQL configuration, query routing rules, and connection pooling metrics dynamically. (Use the mysql_tool_index prompt to view the full list of available ProxySQL tools).


Explore Related Topics

💡 Pro Tip: Use the mysql_tool_index prompt. It searches for specific tools, not groups, enabling dynamic discoverability of the complete, up-to-date tools.


This documentation is generated automatically.

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