全新架构的MySQL数据库MCP服务器v4.0,支持StreamableHTTP协议、Header预配置、AI动态连接管理、多数据库切换,专为AI助手设计
MySQL MCP Server presents a functional database toolkit with 8 well-structured tools for connection management and SQL execution. Strengths include complete JSON Schema definitions for all tools, consistent parameter descriptions, and clear action verbs in tool names. However, significant gaps emerge in output schema documentation (no documented return types visible), error guidance (errors are generic without recovery paths), and tool composition (missing idempotency guarantees and transaction support). Tool descriptions are adequate but lack depth on when to use each tool vs alternatives. Parameter validation is present but descriptions could be more explicit about constraints and ranges. Output structures are not documented, forcing LLMs to infer response formats. The server lacks patterns for confirmation before destructive operations (remove_connection, execute_query with DELETE/UPDATE).
添加新的数据库连接
查看表的结构和字段信息。自动使用当前活跃的数据库连接。
执行SQL查询(支持SELECT、INSERT、UPDATE、DELETE等所有SQL语句)。注意:通常不需要指定connection_id,系统会自动使用当前活跃连接。
列出所有数据库连接及其ID。如果需要知道有效的connection_id,请调用此工具查看。返回信息包括:连接ID、主机、端口、数据库名、当前活跃状态等。
移除指定的数据库连接
选择活跃的数据库连接(后续SQL将在此数据库上执行)
显示所有可访问的数据库。自动使用当前活跃的数据库连接。
No output schemas documented for any tool
Missing error recovery guidance for all tools
Destructive operations (remove_connection, execute_query with DELETE/UPDATE) lack confirmation pattern
execute_query is ambiguous: description does not clearly warn about mutation vs read semantics
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 63 | <=2025-11-25 | v2 |
| 2026-03-09 | D | 53 | - | v1 |
显示数据库中的所有表。自动使用当前活跃的数据库连接。
Connection state is implicit and undocumented
Parameter constraints (SQL injection, statement length, result row limits) are not documented
List tools (list_connections, show_tables, show_databases) lack pagination support