MCP Server for MySQL provides read-only access to MySQL databases, enabling AI assistants to inspect database schemas and execute safe queries. Built by Ben Borla, this Node.js implementation establishes connections to MySQL servers using environment variables for configuration, enforces read-only transactions for security, and exposes both database schema information as resources and a mysql_query tool for executing SQL statements. The server is containerized with Docker for easy deployment and is particularly valuable for workflows requiring database exploration and data analysis without modifying database contents.
暂无评论. 成为第一个评论的人!
登录以参与讨论
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.