Mysql
Facilitates interaction with MySQL databases, enabling SQL queries, schema retrieval, and connection status checks.
About
This tool provides a MySQL utility service built on the @modelcontextprotocol/sdk, designed for AI agents, automation tools, and other applications needing database interaction. It offers capabilities such as executing SQL queries, retrieving database table structures, and verifying connection status. Enhanced security measures, including SQL statement validation and parameter checks, are implemented to prevent SQL injection and other risks. The service also supports smooth startup and shutdown procedures.
Key Features
- Provides SQL statement and parameter security validation
- Executes SQL queries (SELECT, INSERT, UPDATE, DELETE)
- Retrieves database table structure information
- Supports graceful service startup and shutdown
- Detects database connection status
- 6 GitHub stars
Use Cases
- Validating database connection and table metadata
- Automating database tasks
- Integrating MySQL database interaction into AI agents