M

mysql_mcp_server

ToolsActiveMIT

Overview

A Model Context Protocol (MCP) server enabling secure interaction with MySQL databases, supporting table resource listing, SQL query execution, and secure access via environment variables.

Capabilities

  • stdio transport support
  • resource handlers
  • database integration
  • github integration
  • mcp client integration
  • workflow automation support

Best For

mysql_mcp_server: A Python MCP server for secure MySQL database interaction with table management and query execution.

Decision Snapshot

Install

available

Usage

available

Docs

1 links

Config

8 strong hints

Capabilities

6 key capabilities detected

  • • GitHub stars: 1218
  • • Forks: 229
  • • Source provenance count: 1
  • • Active signal: Updated this week from lifecycle signals.
  • • Last seen: 4/15/2026
  • • Published: 3/15/2026

Installation / Setup

pip install mysql-mcp-server

Usage

MYSQL_HOST=localhost     # Database host && MYSQL_PORT=3306         # Optional: Database port (defaults to 3306 if not specified) && MYSQL_USER=your_username && MYSQL_PASSWORD=your_password

Features

  • List available MySQL tables as resources
  • Read table contents
  • Execute SQL queries with proper error handling
  • Secure database access through environment variables
  • Comprehensive logging

Use Cases

  • Use in tools-oriented MCP workflows.

Supported Clients / Integrations

  • stdio transport support
  • resource handlers
  • database integration
  • github integration
  • mcp client integration
  • workflow automation support

Compatibility Signals

  • GitHub: supports (Detected in parser config/capability hints.)

Prompt Examples

example

MYSQL_HOST=localhost # Database host && MYSQL_PORT=3306 # Optional: Database port (defaults to 3306 if not specified) && MYSQL_USER=your_username && MYSQL_PASSWORD=your_password

Notes / Requirements

  • Primary language: Python
  • License: MIT
  • Documentation coverage: medium
  • Parser coverage score: 1.00
  • Source provenance includes GitHub discovery
  • Source feeds: GitHub Search API
  • Topic cluster: data-infra

Official Links

Source Information

Community: 1,218 stars
Last Updated: Apr 15, 2026
PythonMIT

You can verify all information on this page against the source repository above.

Related MCP Tools

What To Do Next

Continue from this tool into a workflow and a learn guide to shorten implementation time.