Mysql Server icon

Mysql Server

CreatedMCP-Mirror

Enables executing SQL queries on MySQL databases through a Model Context Protocol (MCP) server.

About

This TypeScript-based MCP server provides a tool for interacting with MySQL databases. It enables the execution of SQL queries by leveraging environment variables for database connection details, serving as a practical demonstration of core MCP concepts. Built for integration with platforms like Claude Desktop, this server facilitates streamlined database querying within a larger application ecosystem.

Key Features

  • Connects to MySQL using environment variables (MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE).
  • Executes SQL queries against a MySQL database.
  • 0 GitHub stars
  • Includes a 'query' tool that takes an SQL query string as a parameter.
  • Returns query results via the MCP protocol.
  • Provides debugging support via the MCP Inspector.

Use Cases

  • Developing custom tools for database management using the Model Context Protocol.
  • Integrating MySQL database querying into applications that support MCP.
  • Automating database interactions within a Claude Desktop environment.