mysql_mcp_server_pro

wenb1n-dev/mysql_mcp_server_pro

3.9
Certified
databases

mcp_mysql_server_pro is a comprehensive MySQL server tool that extends beyond basic CRUD operations to include database anomaly analysis and custom tool extensions.

Tools

Functions exposed to the LLM to take actions

execute_sql

在MySQL数据库上执行SQL (multiple SQL execution, separated by ';')

get_chinese_initials

创建表结构时,将中文字段名转换为拼音首字母字段

get_table_desc

根据表名搜索数据库中对应的表字段,支持多表查询(Search for table structures in the database based on table names, supporting multi-table queries)

get_table_index

根据表名搜索数据库中对应的表索引,支持多表查询(Search for table indexes in the database based on table names, supporting multi-table queries)

get_table_lock

获取当前mysql服务器行级锁、表级锁情况(Check if there are row-level locks or table-level locks in the current MySQL server )

get_table_name

根据表中文名或表描述搜索数据库中对应的表名(Search for table names in the database based on table comments and descriptions )

get_db_health_running

获取当前mysql的健康状态(Analyze MySQL health status )

get_db_health_index_usage

获取当前连接的mysql库的索引使用情况,包含冗余索引情况、性能较差的索引情况、未使用索引且查询时间大于30秒top5情况(Get the index usage of the currently connected mysql database, including redundant index situations, poorly performing index situations, and the top 5 unused index situations with query times greater than 30 seconds)

Prompts

Interactive templates invoked by user choice

analyzing-mysql-prompt

这是分析mysql相关问题的提示词

query-table-data-prompt

这是通过调用工具查询表数据的提示词

Resources

Contextual data attached and managed by the client

No resources