Simple MCP MySQL Server
About
A lightweight MCP server for MySQL, built with python
Details
- Author
- alexcc4
- Downloads
- 295
- Categories
- Database
Jump to
- List all MySQL tables in the database
- Retrieve detailed schema information for all tables
- Execute read-only SQL queries with error handling
- Secure database access through environment variables
- Simple configuration and deployment
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Simple MCP MySQL ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository and run uv sync to install dependencies. Set the five environment variables (DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, DB_NAME). Start manually with uv run main.py or integrate with Claude Desktop by adding the server configuration to claude_desktop_config.json. Then ask natural language queries like “Show me all tables” or “Top 10 rows from users table”.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"simple mcp mysql server": {
"mcp-mysql-server-alexcc4": {
"command": "uv",
"args": [
"sync"
]
}
}
}
}
McpServers
{
"mcp-mysql-server-alexcc4": {
"command": "uv",
"args": [
"sync"
]
}
}
Simple MCP MySQL Server
A lightweight Model Context Protocol (MCP) server that enables secure interaction with MySQL databases. This server allows AI assistants like Claude to list tables, read data, and execute SQL queries through a controlled interface.
Features
List all MySQL tables in the database
Retrieve detailed schema information for all tables
Execute read-only SQL queries with proper error handling
Secure database access through environment variables
- Simple configuration and deployment
Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



