← Index

SQL Preview

io.github.fadnavismehul/sql-preview·v0.6.1·Other
Quality Score
90
/100

Run governed SQL queries and inspect database schemas from MCP agents.

§00  Trust verdict · v1 advisory ·  method
UNVERIFIEDno verdict on file

Verdict not yet evaluated for this tool. The hybrid eval runs adversarial cases first; coverage rolls out as the corpus expands. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: hybrid eval, four-state verdict, honest limits.

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "sql-preview": {
      "command": "npx",
      "args": [
        "-y",
        "sql-preview"
      ],
      "env": {
        "SQL_PREVIEW_CONNECTIONS": "<your-sql_preview_connections>",
        "SQL_PREVIEW_MCP_SAFE_MODE": "<sql_preview_mcp_safe_mode>",
        "SQL_PREVIEW_MAX_ROWS": "<sql_preview_max_rows>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "sql-preview": {
      "command": "npx",
      "args": [
        "-y",
        "sql-preview"
      ],
      "env": {
        "SQL_PREVIEW_CONNECTIONS": "<your-sql_preview_connections>",
        "SQL_PREVIEW_MCP_SAFE_MODE": "<sql_preview_mcp_safe_mode>",
        "SQL_PREVIEW_MAX_ROWS": "<sql_preview_max_rows>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y sql-preview
§02  Environment variables
SQL_PREVIEW_CONNECTIONS
secret

JSON array of SQL Preview connection profiles for headless use.

SQL_PREVIEW_MCP_SAFE_MODE

Set to false to allow mutating SQL. Defaults to true.

SQL_PREVIEW_MAX_ROWS

Maximum rows returned by query tools. Defaults to 10000.

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
20
installability
25
documentation
15
stability
5
§04  Alternatives in Other