servers/ database/ database-mcp-mysql
Database Mcp Mysql icon

Database Mcp Mysql

Unverified Claim & verify → Database

MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

View on GitHub ↗
Overview Installation

Overview

Database Mcp Mysql is a Model Context Protocol server that connects MySQL databases to AI assistants like Claude. It operates in read-only mode by default, enforces row limits and statement timeouts, and never logs secrets, making it safe for production use.

The server runs locally via the npm package @database-mcp/mysql, communicating over stdio with your MCP client. Setup requires three environment variables: MYSQL_HOST, MYSQL_USER, and MYSQL_DATABASE. Version v0.4.2 is available under the MIT license, with source code maintained at arifulislamat/database-mcp on GitHub.

Database Mcp Mysql is listed in the Database category on mcp.site and works with Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Zed, and other MCP clients. If you maintain this server, claim your listing to verify ownership and keep information up to date.

▸npm package — @database-mcp/mysql · MCP over stdio
▸PyPI package — database-mcp-mysql · MCP over stdio
▸Credentials — Requires MYSQL_HOST, MYSQL_USER, MYSQL_DATABASE
▸Open source — MIT license · arifulislamat/database-mcp
▸Topics — database, libsql, mariadb, mcp, mcp-server

Installation

// claude_desktop_config.json
{
  "mcpServers": {
    "database_mcp_mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@database-mcp/mysql"
      ],
      "env": {
        "MYSQL_HOST": "<mysql-host>",
        "MYSQL_USER": "<mysql-user>",
        "MYSQL_DATABASE": "<mysql-database>"
      }
    }
  }
}

Requires MYSQL_HOST, MYSQL_USER, MYSQL_DATABASE

Related servers

SM
Supabase MCP
Database Remote

Manage Supabase projects, databases, auth, storage, and SQL workflows from AI agents.

★ 9.8k Updated 9h ago →
ME
Medplum
Database Remote

FHIR-native healthcare data platform tools for AI agents.

★ 2.5k Added 2 weeks ago →
RD
RE Data Refinery
Database

Clean, join, and reshape datasets with natural-language steps.

Added 13 hours ago →
EH
EOSL.ai — Hardware End-of-Life Database
Database Remote

Hardware end-of-life dates by part number, each linked to the vendor's own bulletin.

Added 1 month ago →
FI
Fincontext
Database Remote

Read-only bank & investment accounts via Plaid: balances, holdings, transactions, SQL analytics.

Added 1 month ago →
Dbmcp icon
Dbmcp
Database

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention.

★ 30 Added 1 month ago →
>_ esc
↑↓ navigate↵ openesc close