Mysql MCP Server
未认领MySQL Server implementation for Model Context Protocol (MCP) written in Go.
安装
mysql-mcp-server更多Databases服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
24 个工具中显示 24 个
文档中列出的工具 (24)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
add_connection
MCP only. Available when the server runs in MCP mode (stdio) with MYSQLMCPEXTENDED=1 and MYSQLMCPENABLEADDCONNECTION=1. It registers a new named MySQL connection at runtime and switches the process-wide active connection for that MCP process. There is no HTTP route to register a new DSN. REST API mo
database_size
Get database size information.
describe_table
Input:
explain_query
Get execution plan for a SELECT query. Responses include optional warnings (e.g. full table scan, filesort) when the plan suggests optimizations.
foreign_keys
List foreign key constraints.
list_connections
List all configured MySQL connections.
list_databases
Returns non-system databases.
list_functions
List stored functions.
list_indexes
List indexes on a table.
list_partitions
List table partitions.
list_procedures
List stored procedures.
list_status
List MySQL server status variables.
list_tables
Input:
list_triggers
List triggers in a database.
list_variables
List MySQL server configuration variables.
list_views
List views in a database.
ping
Tests database connectivity and returns latency.
run_query
Input:
server_info
Returns MySQL server details.
show_create_table
Get the CREATE TABLE statement.
table_size
Get table size information.
use_connection
Switch to a different MySQL connection.
vector_info
List vector columns in a database.
vector_search
Perform similarity search on vector columns.