mcp-server-mysql

by yuru-sha

10 stars
189 downloads
Not rated
GitHub

About

Model Context Protocol Server for MySQL databases. It enables LLMs to inspect database schemas and execute read-only queries in a safe, read‑only transaction.

Details

Author
yuru-sha
GitHub stars
10
Downloads
189
Categories
Database

- Read-only access to MySQL databases
- Schema inspection for LLM‑driven analysis
- All queries executed inside READ ONLY transactions
- Docker image available for easy deployment
- Published as an npm package

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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcp-server-mysql
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via Docker (build the image then run with a connection URL) or via the Smithery CLI. Configure the server in Claude Desktop by adding a “mysql” entry to claude_desktop_config.json that points to a Docker run command with the mysql://host:port/dbname connection string.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp-server-mysql": {
            "mcp-server-mysql-yuru-sha": {
                "command": "docker",
                "args": [
                    "run",
                    "-i",
                    "--rm",
                    "mcp/mysql",
                    "mysql://host:port/dbname"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-server-mysql-yuru-sha": {
        "command": "docker",
        "args": [
            "run",
            "-i",
            "--rm",
            "mcp/mysql",
            "mysql://host:port/dbname"
        ]
    }
}

mcp-server-mysql

CI Status smithery badge

Model Context Protocol Server for MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.

Features

- Read-only access to MySQL databases
- Schema inspection capabilities
- Safe query execution within READ ONLY transactions
- Docker support
- NPM package available

Installation

Using Docker

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.