Feedback

Simple MCP MySQL Server

@alexcc4 Claim

Basic information

Runtime
python
Category
License
Not specified
Transports
stdio
Author
alexcc4
Submitted by
Community
Quality
20
Stars
7

About Simple MCP MySQL Server

A lightweight MCP server for MySQL, built with python

Simple MCP MySQL Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by alexcc4. Supported transport: stdio. Runtime: python. The repository has 7 GitHub stars. Source code is hosted on github.com. Related topics: mcp-server, mysql, python.

Setup

{
    "mcpServers": {
        "mcp-mysql-server-alexcc4": {
            "command": "uv",
            "args": [
                "sync"
            ]
        }
    }
}

Simple MCP MySQL Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-mysql-server-alexcc4": {
            "command": "uv",
            "args": [
                "sync"
            ]
        }
    }
}

Simple MCP MySQL Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Simple MCP MySQL Server?

A lightweight Model Context Protocol (MCP) server that enables secure interaction with MySQL databases, allowing AI assistants like Claude to list tables, read data, and execute read-only SQL queries through a controlled interface.

How to use Simple MCP MySQL Server?

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”.

Key features of Simple MCP MySQL Server

  • 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

Use cases of Simple MCP MySQL Server

  • Ask Claude to list all tables in the database
  • Retrieve the top 10 rows from the users table
  • Find all orders placed in the last 30 days
  • Count the number of users by country
  • Show the schema of the products table

Frequently asked questions

1 What dependencies are required?

Python 3.12.2+, uv (recommended), and a MySQL server.

2 What database permissions are recommended?

Use a database user with minimal

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬