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

MCP

by Fashad-Ahmed · v1.1.2

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

mcplocal

MCP configuration

stdio

Command

uvx universal-db-mcp==1.1.2

Environment

  • POSTGRES_URIsecret

    PostgreSQL connection string (read-only user recommended)

  • SQLITE_PATH

    Path to a SQLite database file

  • MYSQL_URIsecret

    MySQL connection string (read-only user recommended)

  • DUCKDB_PATH

    Path to a DuckDB file, or :memory:

  • ALLOW_DESTRUCTIVE

    Set to true to allow INSERT/UPDATE/DELETE/DDL (default: false)

  • MAX_RESULT_ROWS

    Maximum rows returned per query (default: 1000)

Install in one click with Zurek

Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.