MySQL Database icon

MySQL Database

CreatedMCP-Mirror

Enables AI models to interact with MySQL databases through a standardized interface.

About

Provides a Model Context Protocol (MCP) server that allows AI models to perform MySQL database operations via a standardized interface. It offers multiple connection methods, including database URLs, individual parameters within a .env file, or direct connection through the tool. Features include secure connection handling, prepared statement support, schema management tools, and comprehensive error handling. It simplifies database interaction for AI models, providing robust error handling and validation.

Key Features

  • Supports multiple connection methods (URL, workspace, direct)
  • Uses prepared statements to prevent SQL injection
  • Offers schema management tools
  • Provides comprehensive error handling and validation
  • Automatically closes connections when done
  • 1 GitHub stars

Use Cases

  • Executing SELECT, INSERT, UPDATE, and DELETE queries
  • Listing tables and describing their structure
  • Managing database schema (creating tables, adding columns)
Craft Better Prompts with AnyPrompt