Skip to content
Cline

DB MCP Server for Cline

io.github.stucchi/db

Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.

client:Cline transport:stdio runtime:pypi

Install DB MCP Server in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "db": {
      "command": "uvx",
      "args": [
        "db-mcp-server"
      ],
      "env": {
        "DB_TYPE": "<DB_TYPE>",
        "DB_DATABASE": "<DB_DATABASE>",
        "DB_MODE": "<DB_MODE>",
        "DB_HOST": "<DB_HOST>",
        "DB_PORT": "<DB_PORT>",
        "DB_USER": "<DB_USER>",
        "DB_PASSWORD": "<DB_PASSWORD>",
        "DB_URL": "<DB_URL>",
        "SSH_HOST": "<SSH_HOST>",
        "SSH_PORT": "<SSH_PORT>",
        "SSH_USER": "<SSH_USER>",
        "SSH_KEY": "<SSH_KEY>",
        "SSH_PASSWORD": "<SSH_PASSWORD>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

DB MCP Server in other clients