dbmole-mcp

Level CLocal

MCP server for PostgreSQL and MySQL: the agent adds and edits its own connections at runtime (per-project file, hot reload), SSH tunnels, TLS, readonly sessions

⭐ 0DatabaseJavaScriptRepo ↗Updated 2026-10-25

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "npm-dbmole-mcp": {
      "command": "npx",
      "args": [
        "dbmole-mcp"
      ]
    }
  }
}

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://www.npmjs.com/package/dbmole-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "npm-dbmole-mcp": {
      "command": "npx",
      "args": [
        "dbmole-mcp"
      ]
    }
  }
}

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