MCPLow riskUnclaimed
SQL Preview
Run governed SQL queries and inspect database schemas from MCP agents.
fadnavismehulfadnavismehul/sql-preview
server.json
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.fadnavismehul/sql-preview",
"description": "Run governed SQL queries and inspect database schemas from MCP agents.",
"title": "SQL Preview",
"repository": {
"url": "https://github.com/fadnavismehul/sql-preview",
"source": "github",
"id": "1025027765"
},
"version": "0.6.28",
"websiteUrl": "https://github.com/fadnavismehul/sql-preview#readme",
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "sql-preview",
"version": "0.6.28",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
},
"runtimeArguments": [
{
"value": "-y",
"type": "positional"
}
],
"packageArguments": [
{
"description": "Run SQL Preview using stdio transport for local MCP clients.",
"type": "named",
"name": "--stdio"
}
],
"environmentVariables": [
{
"description": "JSON array of SQL Preview connection profiles for headless use.",
"format": "string",
"isSecret": true,
"name": "SQL_PREVIEW_CONNECTIONS"
},
{
"description": "Set to false to allow mutating SQL. Defaults to true.",
"format": "boolean",
"value": "true",
"name": "SQL_PREVIEW_MCP_SAFE_MODE"
},
{
"description": "Maximum rows returned by query tools. Defaults to 10000.",
"format": "number",
"value": "10000",
"name": "SQL_PREVIEW_MAX_ROWS"
}
]
}
]
}Permissions
DeclaredDetected
Runs code—
nodeInstalls—
npm:sql-preview@0.6.28Runs install scripts—None
NetworkNoneNone
Needs credentials
SQL_PREVIEW_CONNECTIONSSQL_PREVIEW_CONNECTIONSOutside the workspace—None
Agent tools—None
Checks
Low risk · Nothing worth a warning was found.
Not reviewed by a person · Checked by rules; the model review is not switched on yet.
Versions
- #10.6.28latestOct 7, 2026
SQL PreviewOpen in Codeg