SQL Preview
Rank #23,273io.github.fadnavismehul/sql-preview
Run governed SQL queries and inspect database schemas from MCP agents.
SQL Preview is a Model Context Protocol (MCP) server published by fadnavismehul. It ranks #23,273 of 137,492 servers tracked on MCP Toplist. SQL Preview is listed on Official MCP, with 22 tracked versions. It was first listed on May 29, 2026 and most recently updated on Aug 19, 2026.
Ranks ahead of 114,219 of 137,492 servers on MCP Toplist.
Use SQL Preview
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add sql-preview -e "SQL_PREVIEW_CONNECTIONS=<your SQL_PREVIEW_CONNECTIONS>" -e "SQL_PREVIEW_MCP_SAFE_MODE=<your SQL_PREVIEW_MCP_SAFE_MODE>" -e "SQL_PREVIEW_MAX_ROWS=<your SQL_PREVIEW_MAX_ROWS>" -- npx -y sql-previewReplace each placeholder with your own value before saving.
[mcp_servers.sql-preview]
command = "npx"
args = ["-y", "sql-preview"]
[mcp_servers.sql-preview.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>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"sql-preview": {
"command": "npx",
"args": [
"-y",
"sql-preview"
],
"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>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"sql-preview": {
"command": "npx",
"args": [
"-y",
"sql-preview"
],
"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>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"sql-preview": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sql-preview"
],
"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>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"sql-preview": {
"command": "npx",
"args": [
"-y",
"sql-preview"
],
"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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"sql-preview": {
"command": "npx",
"args": [
"-y",
"sql-preview"
],
"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>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.fadnavismehul%2Fsql-preview)<a href="https://mcptoplist.com/server/io.github.fadnavismehul%2Fsql-preview"><img src="https://mcptoplist.com/badge/io.github.fadnavismehul%2Fsql-preview.svg" alt="MCP Toplist: Top 25% of 137,492" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 1 registry
fadnavismehul
Available versions (22)
| Version | Published |
|---|---|
| 0.6.28 | Aug 19, 2026 |
| 0.6.27 | Aug 13, 2026 |
| 0.6.26 | Aug 13, 2026 |
| 0.6.25 | Aug 13, 2026 |
| 0.6.24 | Aug 10, 2026 |
| 0.6.23 | Aug 8, 2026 |
| 0.6.22 | Aug 8, 2026 |
| 0.6.18 | Aug 8, 2026 |
| 0.6.17 | Aug 4, 2026 |
| 0.6.16 | Aug 3, 2026 |
| 0.6.15 | Jul 26, 2026 |
| 0.6.14 | Jul 20, 2026 |
| 0.6.13 | Jul 18, 2026 |
| 0.6.12 | Jul 17, 2026 |
| 0.6.11 | Jul 14, 2026 |
| 0.6.8 | Jul 12, 2026 |
| 0.6.7 | Jul 8, 2026 |
| 0.6.6 | Jul 6, 2026 |
| 0.6.4 | Jun 3, 2026 |
| 0.6.3 | Jun 3, 2026 |
| 0.6.2 | Jun 3, 2026 |
| 0.6.1 | May 29, 2026 |
Frequently asked questions
- Who maintains SQL Preview?
- SQL Preview is maintained by fadnavismehul, which publishes 1 MCP server (22 total versions) tracked on MCP Toplist.
- Is SQL Preview listed on the Official MCP Registry?
- Yes — SQL Preview is listed on the Official MCP Registry.
- How many versions does SQL Preview have?
- MCP Toplist tracks 22 versions of SQL Preview, most recently published on Aug 19, 2026.
- Where can I find the source code for SQL Preview?
- The source code for SQL Preview is hosted at github.com/fadnavismehul/sql-preview.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.