Skip to content
Verified official

SQL Preview MCP

v0.6.28

io.github.fadnavismehul/sql-preview

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

transport:stdio runtime:npm

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add sql-preview -e SQL_PREVIEW_CONNECTIONS=<SQL_PREVIEW_CONNECTIONS> -e SQL_PREVIEW_MCP_SAFE_MODE=<SQL_PREVIEW_MCP_SAFE_MODE> -e SQL_PREVIEW_MAX_ROWS=<SQL_PREVIEW_MAX_ROWS> -- npx -y sql-preview

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.