SQL Preview

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

stdiocommunityapplication

Package Details

Transportstdio
Runtimenpx

Runtime Arguments

Positional
Position 0
-y

Package Arguments

Named
--stdio
Run SQL Preview using stdio transport for local MCP clients.

Environment Variables

SQL_PREVIEW_CONNECTIONS(str)
Secret

JSON array of SQL Preview connection profiles for headless use.

SQL_PREVIEW_MCP_SAFE_MODE(bool)

Set to false to allow mutating SQL. Defaults to true.

SQL_PREVIEW_MAX_ROWS(num)

Maximum rows returned by query tools. Defaults to 10000.