SQL Preview
io.github.fadnavismehul/sql-preview
v0.6.28Updated Aug 19, 2026stdio · npm
Run governed SQL queries and inspect database schemas from MCP agents.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add sql-preview -- npx -y [email protected]The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
4 settings.
SQL_PREVIEW_CONNECTIONSEnv var· optional· secretJSON array of SQL Preview connection profiles for headless use.SQL_PREVIEW_MCP_SAFE_MODEEnv var· optionalSet to false to allow mutating SQL. Defaults to true.SQL_PREVIEW_MAX_ROWSEnv var· optionalMaximum rows returned by query tools. Defaults to 10000.--stdioArgument· optionalRun SQL Preview using stdio transport for local MCP clients.
Links
Listed in the official MCP Registry since Aug 19, 2026. Mirrored daily; last checked Nov 26, 2026.