MySQL Database MCP Server provides a bridge between Claude and MySQL databases, enabling direct SQL query execution and database connections through a simple interface. Developed by Burak Dirin, it offers two main tools: 'connect_database' for establishing connections to specific databases and 'execute_query' for running SQL queries with results returned in JSON format. The implementation includes configurable read-only mode for security, supports Python 3.11+, and can be deployed via Docker or installed directly using pip, making it ideal for workflows requiring database access without leaving the conversation interface.
Connects to a specific MySQL database. Parameters: database (string) - Name of the database to connect to. Returns a confirmation message when connection is successful.
Executes MySQL queries. Parameters: query (string) - SQL query/queries to execute. Returns query results in JSON format. Multiple queries can be sent separated by semicolons.
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!