What this kind of tool is for
- Query, inspect, or seed a database without writing a one-off script.
- Let your agent look up schema details before it writes migration code.
- Move a small dataset between tools without leaving the terminal.
How to compare servers like this
- Engine match:
- Confirm it speaks your exact database and version, not just the family.
- Access scope:
- Read-only connections are the safe default — start there before granting writes.
- Safety rails:
- Check whether destructive statements need an explicit confirmation before they run.
- Maintenance signal:
- Database drivers change; a recently updated tool is less likely to break mid-query.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the SQL Preview MCP server?
Run governed SQL queries and inspect database schemas from MCP agents.
How to install SQL Preview
Copy-paste configuration for popular MCP clients.
SQL_PREVIEW_CONNECTIONSsecretJSON array of SQL Preview connection profiles for headless use.
SQL_PREVIEW_MCP_SAFE_MODESet to false to allow mutating SQL. Defaults to true.
SQL_PREVIEW_MAX_ROWSMaximum rows returned by query tools. Defaults to 10000.
{
"mcpServers": {
"sql-preview": {
"command": "npx",
"args": [
"-y",
"sql-preview",
"-y",
"--stdio"
],
"env": {
"SQL_PREVIEW_CONNECTIONS": "<YOUR_SQL_PREVIEW_CONNECTIONS>",
"SQL_PREVIEW_MCP_SAFE_MODE": "<YOUR_SQL_PREVIEW_MCP_SAFE_MODE>",
"SQL_PREVIEW_MAX_ROWS": "<YOUR_SQL_PREVIEW_MAX_ROWS>"
}
}
}
}Related MCP servers
Free UK building-cost estimates, US beta estimates and scenario comparisons. No account needed.
Turn PDFs into structured JSON in seconds using AI + OCR—invoices, statements, contracts, no coding needed.

FHIR MCP server with SMART Backend Services, FHIRPath filtering, and configurable clinical data access.
UK property finance: bridging cost, dev appraisal, BTL stress test, stamp duty (SDLT/LBTT/LTT).

io.github.fahassan00/bounceprotect
Email validation and SMTP verification for Claude Desktop, Cursor, and Claude Code.



