io.github.Fashad-Ahmed/universal-db-mcp

io.github.Fashad-Ahmed/universal-db-mcp

Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection prevention.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "universal-db-mcp": {
      "command": "uvx",
      "args": [
        "universal-db-mcp"
      ],
      "env": {
        "POSTGRES_URI": "<your POSTGRES_URI>",
        "MYSQL_URI": "<your MYSQL_URI>",
        "ALLOW_DESTRUCTIVE": "false",
        "MAX_RESULT_ROWS": "1000"
      }
    }
  }
}
Environment variables
  • POSTGRES_URIsecretPostgreSQL connection string (read-only user recommended)
  • MYSQL_URIsecretMySQL connection string (read-only user recommended)
  • ALLOW_DESTRUCTIVESet to true to allow INSERT/UPDATE/DELETE/DDL (default: false)
  • MAX_RESULT_ROWSMaximum rows returned per query (default: 1000)

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Databases
Version
1.1.2
Registry
active
Published
6/11/2026
Browse all Databases →

Add the badge to your site

Show visitors that io.github.Fashad-Ahmed/universal-db-mcp is listed here — it’s also the link we check for a free listing.

io.github.Fashad-Ahmed/universal-db-mcp — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-fashad-ahmed-universal-db-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.Fashad-Ahmed/universal-db-mcp — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.Fashad-Ahmed/universal-db-mcp — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-fashad-ahmed-universal-db-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.