MCP directory
SP

SQL Preview

by github.com/fadnavismehul · v0.6.28 · updated Aug 19, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • SQL_PREVIEW_CONNECTIONSsecret

    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.

More MCP servers