PlugWiki
MySQL MCP Server (designcomputer) logo

MySQL MCP Server by designcomputer: Query MySQL from Claude and Cursor

CommunityLocal
GetPyPImysql-mcp-serverdesigncomputer/mysql_mcp_server

Lets Claude, Cursor and other assistants explore and query a MySQL database you point them at.

This server connects your assistant to a MySQL database with the user and password you give it. The assistant can look at table structure, sample rows and run SQL. It also offers two guided prompts, explore_database and analyze_table, and lists databases and tables as resources.

It runs on your computer and uses uv. It does not limit what SQL it runs, so the safety comes from the MySQL user you give it. This is a separate project from Ben Borla's MySQL MCP server.

Good for

  • Developers who want an assistant to explore a MySQL schema
  • Analysts asking questions of MySQL data in plain language
  • Teams with a spare read-only MySQL user for AI access

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install MySQL MCP Server (designcomputer)

Claude Code

  1. 1

    Copy this prompt.

    Add the MySQL MCP Server (designcomputer) server to Claude Code. Run this command:
    
    claude mcp add mysql-designcomputer -e MYSQL_HOST=localhost -e MYSQL_PORT=3306 -e MYSQL_USER=your_username -e MYSQL_PASSWORD=your_password -e MYSQL_DATABASE=your_database -- uvx --from mysql-mcp-server mysql_mcp_server
    
    Ask me for MYSQL_USER, MYSQL_PASSWORD and only put the values in that config, nowhere else.
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires uv (Python), A MySQL user.

Read-only mode: No read-only switch in the server. Connect with a MySQL user that only has SELECT rights.

The package is mysql-mcp-server but its command is mysql_mcp_server with underscores, so the config names the package with --from. Put the MySQL values in the env block, because a .env file is not found when the client starts the server. Our advice: for read-only use, give the MySQL user SELECT rights only.

Built from the package data we hold. Not yet tested by us.

Tools

  • Runs one SQL statement

    Runs a single SQL statement on your MySQL server, such as SELECT, SHOW or DESCRIBE. It also runs INSERT, UPDATE and DELETE, and the code applies no filter, so other statements go through too.

    Try: “How many orders were placed last week?”

    Delete · execute_sql

  • Shows table structure

    Returns column names, types, nullability, defaults and comments for one table, or for every table in the configured database when no table is named.

    Try: “Show me the columns of the customers table.”

    Read · get_schema_info

  • Shows a few rows from a table

    Fetches a small sample of rows from a table, 5 by default and at most 20, so the assistant can see the data format before writing queries.

    Try: “Show me a sample of the orders table.”

    Read · get_table_sample

Read from the source code

Permissions

high risk · 3 things to watch · 2 advisories

High risk

It can read, change and delete any data the MySQL user can reach, because execute_sql runs whatever SQL the assistant writes. Use a dedicated MySQL user with only SELECT rights.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • execute_sql can change and delete data

    It runs any single statement, including INSERT, UPDATE and DELETE, and the code applies no read-only check. The README advises a dedicated user with minimal permissions. Our advice: for read-only use, give that user SELECT rights only. github.com

  • The SSE mode has no sign-in and listens on all interfaces

    If you set MCP_TRANSPORT=sse, it binds to 0.0.0.0 by default and takes connections without credentials. Set MCP_SSE_HOST=127.0.0.1 and put an authenticating proxy in front, as the README advises. github.com

  • Your database password sits in the MCP config

    The credentials go in the env block of your client config. Use a dedicated user and keep the file private. github.com

Security advisories

Technical details
Talks toConnects to the MySQL host you set (default localhost), optionally through an SSH tunnel
Sign-in and keysMySQL user and password go in the MCP config env values. MYSQL_USER and MYSQL_PASSWORD are required.

Questions

Is the designcomputer MySQL MCP server official?

No. It is a community project by Dana K. Williams of designcomputer, not made by the MySQL vendor. It is a different project from Ben Borla's MySQL MCP server.

What does it need to connect?

A MySQL user name and password. The host defaults to localhost and the port to 3306, and the database name is optional.

Can I make it read-only?

Not in the server. The README advises a dedicated user with minimal permissions. Our advice: for read-only use, give it a MySQL user that only has SELECT rights.

Can it query more than one database?

Yes. Leave the database name unset for multi-database mode and use names like mydb.mytable. It runs one statement at a time, so USE is not supported.

Does it work with a remote or SSH-only database?

Yes. It supports SSL settings and an SSH tunnel through your jump host, set with environment variables listed in the README.

Why do I see "Missing required database configuration"?

Claude Code and Claude Desktop start the server from their own folder, so a .env file is not found. Put the MySQL values in the env block of the MCP config instead.

Which clients can use it?

Any client that runs local MCP servers. The README shows Claude Desktop, VS Code and Claude Code.

Information

updated Nov 2, 2026

Publisher
Community
Package
mysql-mcp-server
Registry
PyPI
Transport
stdio, SSE
Auth
token in env
Version
0.4.5
License
MIT
Last commit
Oct 28, 2026
Open issues
3

WebsiteGitHubPyPIChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 4
  1. README.md · github.com
  2. server.py · github.com
  3. pyproject.toml · github.com
  4. pypi.org · pypi.org

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.