mysql-mcp

mysql-mcp

3.3

If you are the rightful owner of mysql-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MySQL MCP Server is a Model Context Protocol server designed for interacting with MySQL databases.

The MySQL MCP Server is a specialized server implementation that facilitates interaction with MySQL databases using the Model Context Protocol (MCP). It is designed to provide a structured and efficient way to execute read-only SQL queries and retrieve database schema information. The server is configured through a JSON file, allowing users to specify connection details and environment variables for seamless integration with MySQL. This server is particularly useful for applications that require a reliable and consistent method to access and manage MySQL database information without direct database manipulation.

Features

  • Read-only SQL Query Execution: Supports SELECT, SHOW, EXPLAIN, and DESCRIBE queries.
  • Table Schema Retrieval: Provides the structure of specified tables.
  • List Tables: Retrieves a list of all tables within the database.
  • Configurable Environment: Uses environment variables for flexible database connection settings.
  • MCP Integration: Seamlessly integrates with MCP for structured database interactions.

Tools

  1. query

    Execute SQL queries (only SELECT, SHOW, EXPLAIN, DESCRIBE).

  2. table-schema

    Get table structure.

  3. list-tables

    Get list of all tables in the database.