← Back to Plugins
MCP Server MCP

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

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

uvx universal-db-mcp

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "universal-db-mcp",
      "version": "1.1.2",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "PostgreSQL connection string (read-only user recommended)",
          "isSecret": true,
          "name": "POSTGRES_URI"
        },
        {
          "description": "Path to a SQLite database file",
          "name": "SQLITE_PATH"
        },
        {
          "description": "MySQL connection string (read-only user recommended)",
          "isSecret": true,
          "name": "MYSQL_URI"
        },
        {
          "description": "Path to a DuckDB file, or :memory:",
          "name": "DUCKDB_PATH"
        },
        {
          "description": "Set to true to allow INSERT/UPDATE/DELETE/DDL (default: false)",
          "default": "false",
          "name": "ALLOW_DESTRUCTIVE"
        },
        {
          "description": "Maximum rows returned per query (default: 1000)",
          "default": "1000",
          "name": "MAX_RESULT_ROWS"
        }
      ]
    }
  ]
}
mcp model-context-protocol pypi

Comments

Sign in to leave a comment

Loading comments...