mysql_mcp_server
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
You can verify all information on this page against the source repository above.
Related MCP Tools
Unity-MCP
unity-mcp bridges AI assistants (e.g., Claude, Cursor) with Unity Editor via a local MCP Client, enabling LLMs to manage assets, control scenes, edit scripts, and automate tasks.
markdownify-mcp
A Model Context Protocol (MCP) server for converting various inputs to Markdown.
grafbase
Grafbase is a Rust-based GraphQL Federation Gateway supporting MCP (Model Context Protocol). Features include JWT authentication, rate limiting, entity caching, and OpenTelemetry integration for logs, traces, and metrics.
MCP-Bridge
MCP-Bridge is a Python middleware that provides an OpenAI-compatible endpoint to call MCP tools.
What To Do Next
Continue from this tool into a workflow and a learn guide to shorten implementation time.