About wenb1n-dev/mysql_mcp_server_pro
wenb1n-dev/mysql_mcp_server_pro is an MCP server published by wenb1n-dev in the Data category: model Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展. Conduid read 10 tools from its source: execute_sql, get_chinese_initials, get_db_health_index_usage, get_db_health_running, get_table_desc, get_table_index and 4 more. It is published to PyPI as mysql_mcp_server_pro and runs with uvx.
The repository has 249 stars and 45 forks, is licensed MIT, and its last commit was on 28 Aug 2025. The latest release is v1.7.0 (5 Aug 2025): 将数据库连接调整为线程池的方式 ———————————————————— database connection --》 pool. It follows v1.6.0 (16 Jul 2025), and the 5 most recent releases go back to v1.3.0 (26 Apr 2025). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned and Scoped permissions. Its topics include data.
Install
claude mcp add mysql-mcp-server-pro -- uvx --from mysql_mcp_server_pro mysql_mcp_server_pro --mode stdiouvx --from mysql_mcp_server_pro mysql_mcp_server_pro --mode stdiouvx mysql_mcp_server_propip install mysql_mcp_server_progit clone https://github.com/wenb1n-dev/mysql_mcp_server_proTools (10)
execute_sqlSQL execution tool that can execute ["SELECT", "SHOW", "DESCRIBE", "EXPLAIN", "INSERT", "UPDATE", "DELETE", "CREATE", "ALTER", "DROP", "TRUNCATE"] commands based on permission configurationget_chinese_initialsConvert Chinese field names to pinyin initialsget_db_health_index_usageGet 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 secondsget_db_health_runningAnalyze MySQL health status (connection status, transaction status, running status, lock status detection)get_table_descSearch for table structures in the database based on table names, supporting multi-table queriesget_table_indexSearch for table indexes in the database based on table names, supporting multi-table queriesget_table_lockCheck if there are row-level locks or table-level locks in the current MySQL serverget_table_nameSearch for table names in the database based on table comments and descriptionsoptimize_sqlProfessional SQL performance optimization tool, providing expert optimization suggestions based on MySQL execution plans, table structure information, table data volume, and table indexes.use_prompt_queryTableDataUse built-in prompts to let the model construct a chain call of tools in mcp (not a commonly used fixed tool, you need to modify the code to enable it, see this class for details)Security checks
- ✓README presentThe repository's README runs to about 1.2K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 32 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEsrc/mysql_mcp_server_pro/server.py:93, src/mysql_mcp_server_pro/server.py:143, src/mysql_mcp_server_pro/server.py:12
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- No file writes or deletes
- Lockfile
- None in the repository
Pattern matches on the source text of 32 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.2K words, fetched 6 hours ago. The original in the repository is authoritative.
Read full README