MCP directory
UD

Universal Db Mcp

by github.com/Fashad-Ahmed · v1.1.2 · updated Jun 11, 2026

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx universal-db-mcp==1.1.2

Environment variables

  • 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)

More MCP servers