Skip to content
mcp/skillhub

MySQL MCP Server

by musaddiq-devio.github.musaddiq-dev/mysql-mcp-serverv0.1.2

Python MCP server for MySQL database inspection and querying

0Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Slowing5mo ago

Install MySQL MCP server

Install in Claude Code

claude mcp add mdev-mysql -e MYSQL_PASSWORD='<mysql-password>' -e MYSQL_DATABASE='<mysql-database>' -- uvx mdev-mysql-mcp-server

Configuration

VariableRequiredSecretDescription
MYSQL_HOST——MySQL host
MYSQL_PORT——MySQL port
MYSQL_USER——MySQL username
MYSQL_PASSWORD—yesMySQL password
MYSQL_DATABASEyes—MySQL database name
MYSQL_POOL_SIZE——MySQL connection pool size
LOG_LEVEL——Python logging level
MYSQL_READ_QUERY_LIMIT——Maximum rows returned by read queries

Freshness

Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-05-23 · 5mo ago · GitHub

  2. Latest release

    2026-05-23 · 5mo ago · GitHub · v0.1.2

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-05-23 · 5mo ago · official registry · v0.1.2

FAQ

›How do I install the MySQL MCP server in Claude Code?

Run: claude mcp add mdev-mysql -e MYSQL_PASSWORD='<mysql-password>' -e MYSQL_DATABASE='<mysql-database>' -- uvx mdev-mysql-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does MySQL require an API key?

Yes. It expects MYSQL_DATABASE, MYSQL_PASSWORD, of which 1 is a secret.

›Can I use MySQL as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is MySQL in the official MCP registry?

Yes, as io.github.musaddiq-dev/mysql-mcp-server.

Alternatives to MySQL

Other database MCP servers.

View all