mysql-mcp-server

mysql-mcp-server

1

The MySQL MCP Server is a containerized server using FastMCP 2.0 and Python to provide database interaction tools via the Model Context Protocol. It supports SQL query execution and schema retrieval, packaged with Docker and Poetry for streamlined deployment.

MySQL MCP Server

A MySQL Model Context Protocol (MCP) server implemented with FastMCP 2.0 and Python.

Features

  • Execute SQL queries via MCP functions
  • Get database schema information
  • Fully containerized with Docker and docker-compose
  • Packaged with Poetry for dependency management

MCP Tools

  • Execute SQL queries and updates
  • Retrieve table and database schema information

Setup

Prerequisites include Docker, docker-compose, Poetry, and Python 3.13+.