DB MCP Server

io.github.stucchi/db

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

Yes, if you run it on your computer.This is a local server: your AI app launches it on your machine (Claude Desktop, Cursor, VS Code, Claude Code). Browser-only apps like ChatGPT on the web can't run it.

Connect it

{
  "mcpServers": {
    "db": {
      "command": "uvx",
      "args": [
        "db-mcp-server"
      ],
      "env": {
        "DB_TYPE": "<value>",
        "DB_DATABASE": "<value>",
        "DB_PASSWORD": "<value>",
        "DB_URL": "<value>"
      }
    }
  }
}

Alternatives in Developer Tools

Compare →
Try “Notion”, “Stripe”, “create invoice”, “browser”