MCP Directory
Back

mcp-server-mysql

by benborla · JavaScript · ★ 1,877

A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.

Install

npx -y github:benborla/mcp-server-mysql

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "mcp-server-mysql": {
      "command": "npx",
      "args": [
        "-y",
        "github:benborla/mcp-server-mysql"
      ]
    }
  }
}

From the README

[](https://archestra.ai/mcp-catalog/benborla__mcp-server-mysql) MCP server that gives Claude and other LLMs access to MySQL — inspect schemas, run queries, and optionally write data, all through the Model Context Protocol. - **Read-only by default** — write operations opt-in via env flags - **Claude Code integration** — optimized for Anthropic's Claude Code CLI - **SSH tunnel support** — built-in support for remote databases - **Multi-DB mode** — query across multiple databases without reconnecting - **Schema-specific permissions** — per-database read/write control - **PII redaction** — auto…
Read full README on GitHub →

Related databases servers