keevor-mysql-mcp-server
by KeeVor
Overview
Connects to a MySQL database to perform common operations like listing tables, describing tables, and executing SQL queries.
Installation
uvx keevor-mysql-mcp-serverEnvironment Variables
- DB_HOST
- DB_PORT
- DB_USER
- DB_PASSWORD
- DB_NAME
Security Notes
The `execute_sql` tool allows arbitrary SQL query execution without any apparent input sanitization or restrictions on query types, making it highly vulnerable to SQL injection attacks if exposed to untrusted input. A malicious AI prompt or direct user input could execute destructive commands (e.g., DROP TABLE, DELETE FROM) or exfiltrate data. The database user configured for this server should have the absolute minimum necessary privileges.
Similar Servers
mcp-mysql-server
Provides an MCP-compliant interface for AI models to securely interact with a MySQL database for CRUD operations, schema inspection, and performance analysis.
postgres-mysql-mcp-server
A Model Context Protocol (MCP) server that enables AI assistants to query PostgreSQL and MySQL databases for schema introspection and data retrieval.
mysql-mcp
Provides an MCP (Model Context Protocol) server for MySQL, enabling AI agents to programmatically interact with and manage MySQL databases.
mysql-mcp-server
Provides a programmatic interface for interacting with a MySQL database, enabling schema retrieval and arbitrary SQL query execution through an MCP server.