SQL Preview MCP Server

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

Local serverstdio

What is the SQL Preview MCP Server?

SQL Preview is an MCP integration. Run governed SQL queries and inspect database schemas from MCP agents.

Packages and local setup

The published npm package is sql-preview, version 0.6.28. Its declared MCP transport is stdio.

The package declares SQL_PREVIEW_CONNECTIONS: JSON array of SQL Preview connection profiles for headless use.; SQL_PREVIEW_MCP_SAFE_MODE: Set to false to allow mutating SQL. Defaults to true.; SQL_PREVIEW_MAX_ROWS: Maximum rows returned by query tools. Defaults to 10000..

This package has launch arguments in its registry record. Use the maintainer’s configuration for those arguments rather than launching it with only the package name.

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository · Project website. This profile uses version 0.6.28 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related databases MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
SQL_PREVIEW_CONNECTIONSJSON array of SQL Preview connection profiles for headless use.Optional
SQL_PREVIEW_MCP_SAFE_MODESet to false to allow mutating SQL. Defaults to true.Optional
SQL_PREVIEW_MAX_ROWSMaximum rows returned by query tools. Defaults to 10000.Optional