MySQL (read-only, switchable)

io.github.shibbirweb/mcp-mysql-read-only

Read-only MySQL access, with the database and server switchable mid-conversation.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mcp-mysql-read-only": {
      "command": "npx",
      "args": [
        "-y",
        "@shibbirweb/mcp-mysql-read-only@1.1.6"
      ],
      "env": {
        "MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
        "MYSQL_PROFILES": "<your MYSQL_PROFILES>"
      }
    }
  }
}
Environment variables
  • MYSQL_PASSWORDsecretPassword for MYSQL_USER. Empty when the account has none
  • MYSQL_PROFILESsecretJSON object of named connections to switch between, keyed by profile name

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Databases
Version
1.1.6
Registry
active
Published
9/24/2026
Browse all Databases →

Add the badge to your site

Show visitors that MySQL (read-only, switchable) is listed here — it’s also the link we check for a free listing.

MySQL (read-only, switchable) — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-shibbirweb-mcp-mysql-read-only?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="MySQL (read-only, switchable) — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![MySQL (read-only, switchable) — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-shibbirweb-mcp-mysql-read-only?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.