本项目是基于MCP框架的MySQL查询服务器,支持通过SSE协议进行实时数据库操作,具备完善的安全、日志、配置和敏感信息保护机制,适用于开发、测试和生产环境下的安全MySQL数据访问。
This project is a MySQL query server based on the MCP framework, supporting real-time database operations via SSE protocol. It features comprehensive security, logging, configuration, and sensitive information protection mechanisms, suitable for secure MySQL data access in development, testing, and production environments.
-
基于FastMCP框架,异步高性能
-
支持高并发的数据库连接池,参数灵活可调
-
支持SSE实时推送
-
丰富的MySQL元数据与结构查询API
-
自动事务管理与回滚
-
多级SQL风险控制与注入防护
-
数据库隔离安全:防止跨数据库访问,支持三级访问控制
-
敏感信息自动隐藏与自定义
-
灵活的环境变量配置
-
完善的日志与错误处理
-
Docker支持,快速部署
-
Built on FastMCP framework, high-performance async
-
Connection pool for high concurrency, with flexible parameter tuning
-
SSE real-time push support
-
Rich MySQL metadata & schema query APIs
-
Automatic transaction management & rollback
-
Multi-level SQL risk control & injection protection
-
Database Isolation Security: Prevents cross-database access with 3-level access control
-
Automatic and customizable sensitive info masking
-
Flexible environment variable configuration
-
Robust logging & error handling
-
Docker support for quick deployment