MCP Server for MySQL provides read-only access to MySQL databases, enabling AI models to inspect database schemas and execute SQL queries. Built by Ben Borla, it connects to MySQL servers using configurable connection parameters, enforces read-only transactions for security, and supports comprehensive schema information retrieval. The implementation is written in TypeScript using Node.js and the mysql2 library, with Docker support for easy deployment. It's particularly valuable for data analysis workflows where AI assistants need to explore database structures and extract information without modifying the underlying data.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Execute read-only SQL queries against the connected database. Input: `sql` (string): The SQL query to execute. All queries are executed within a READ ONLY transaction and support prepared statements for secure parameter handling.