mcp-db-read-only

Level CLocal

A read-only MCP server for MySQL, MariaDB, PostgreSQL, SQLite, SQL Server, ClickHouse, MongoDB, Redis and Elasticsearch, with connections switchable at runtime.

⭐ 0DatabaseTypeScriptRepo ↗Updated 2026-10-09

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "mcp-db-read-only": {
      "command": "npx",
      "args": [
        "@shibbirweb/mcp-db-read-only"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/shibbirweb/mcp-db-read-only

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "mcp-db-read-only": {
      "command": "npx",
      "args": [
        "@shibbirweb/mcp-db-read-only"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers