LocalFree

MySQL (read-only, switchable) MCP server

shibbirweb/mcp-mysql-read-only

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

0 GitHub stars

Install MySQL (read-only, switchable) in Claude Code

npm

Claude Code
claude mcp add mysql-read-only-switchable -- npx -y @shibbirweb/mcp-mysql-read-only
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "mysql-read-only-switchable": {
      "command": "npx",
      "args": [
        "-y",
        "@shibbirweb/mcp-mysql-read-only"
      ]
    }
  }
}

Docker

Claude Code
claude mcp add mysql-read-only-switchable -- docker run -i --rm docker.io/shibbirweb/mcp-mysql-read-only:1.1.6
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "mysql-read-only-switchable": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/shibbirweb/mcp-mysql-read-only:1.1.6"
      ]
    }
  }
}

Frequently asked questions

What does the MySQL (read-only, switchable) MCP server do?

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

Is the MySQL (read-only, switchable) MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does MySQL (read-only, switchable) run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add MySQL (read-only, switchable) to Claude Code?

Run: claude mcp add mysql-read-only-switchable -- npx -y @shibbirweb/mcp-mysql-read-only

More databases MCP servers

View all