Developer · Local MCP server

SQL Preview

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

Visit SQL Preview's website

What the MCP Registry states

The entry as published to the official MCP Registry (read 2026-10-04), latest version.

Registry name
io.github.fadnavismehul/sql-preview
Version
0.6.28
Status
Active
Category
developer
Transport
stdio (local process)
Package
npm
Published
2026-08-19
Updated
2026-08-19
Publisher
fadnavismehul (GitHub)
Website
github.com/fadnavismehul/sql-preview#readme
Repository
github.com/fadnavismehul/sql-preview
Source
Registry API entry

Packages

RegistryPackageVersionTransportEnvironment variables
npmruntime: npxsql-preview0.6.28stdioSQL_PREVIEW_CONNECTIONS (secret), SQL_PREVIEW_MCP_SAFE_MODE, SQL_PREVIEW_MAX_ROWS

How to connect SQL Preview

SQL Preview runs locally from a Node.js package published to the npm registry: sql-preview version 0.6.28. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Node.js; clients usually start it with npx — the usual command is npx -y sql-preview@0.6.28. It reads these environment variables: SQL_PREVIEW_CONNECTIONS (secret), SQL_PREVIEW_MCP_SAFE_MODE and SQL_PREVIEW_MAX_ROWS; set them in the client's configuration for this server.

In the mcpServers JSON format that many desktop and editor MCP clients read, the entry looks like this (placeholders in angle brackets):

{
  "mcpServers": {
    "sql-preview": {
      "command": "npx",
      "args": [
        "-y",
        "sql-preview@0.6.28"
      ],
      "env": {
        "SQL_PREVIEW_CONNECTIONS": "<secret>",
        "SQL_PREVIEW_MCP_SAFE_MODE": "<value>",
        "SQL_PREVIEW_MAX_ROWS": "<value>"
      }
    }
  }
}

Derived from the registry entry, not tested here. What the server does, and on what terms, is set by its publisher; check its repository or website before giving it access to your accounts or files. How to add an MCP server to an assistant · Before you connect

More developer servers

All 6,250 →
ServerRunsEndpoint or package
SQL Benchmarks LabQuery pre-computed SQL engine benchmarks. Runs standalone, no server setup required.Local · stdioPyPI: sqlbenchdag
Sql Card Data LintNames every column, index, view and seed row in a.sql migration that stores card data, with its PCI.Local · stdionpm: @readystack/sql-card-data-lint
Sql Formatter MCPFormat SQL queries into readable layouts locally. No network and no key.Local · stdionpm: sql-formatter-mcp
SQL MCP ServerControlled SQL access gateway with policy, cost limits, tenant isolation, and safe tools.Local · stdioOCI image (Docker): ghcr.io/nethinwei/sql-mcp-server:0.1.10
SQL Safe MCPMinimal, read-only, PII-safe MCP server for SQL databases.Local · stdioPyPI: sql-safe-mcp
SQL Sentinel MCP ServerSQL Server monitoring and diagnostics for AI agents using Extended Events. No ODBC drivers required.Local · stdioNuGet: Neofenyx.SqlSentinel.Mcp
SQL ServerServidor MCP para SQL Server com controle de permissões e modo somente-leitura.Local · stdioPyPI: sqlserver-mcp-tools
Sql Server Analyst MCPRead-only SQL Server Analyst MCP — safe schema, stored procedure, and performance analysis.Local · stdionpm: sql-server-analyst-mcp