Search / io.github.fadnavismehul/sql-preview
SQL Preview
L0· runs locallyRun governed SQL queries and inspect database schemas from MCP agents.
v0.6.28 · active · repository · website · descriptor JSON · versions
Search / io.github.fadnavismehul/sql-preview
L0· runs locallyRun governed SQL queries and inspect database schemas from MCP agents.
v0.6.28 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"sql-preview": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"--stdio"
],
"env": {
"SQL_PREVIEW_CONNECTIONS": "${SQL_PREVIEW_CONNECTIONS}"
}
}
}
}claude mcp add sql-preview -e "SQL_PREVIEW_CONNECTIONS=${SQL_PREVIEW_CONNECTIONS}" -- npx -y [email protected] --stdio[mcp_servers.sql-preview]
command = "npx"
args = ["-y", "[email protected]", "--stdio"]
env = { "SQL_PREVIEW_CONNECTIONS" = "${SQL_PREVIEW_CONNECTIONS}" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"sql-preview": {
"type": "local",
"command": [
"npx",
"-y",
"[email protected]",
"--stdio"
],
"enabled": true,
"environment": {
"SQL_PREVIEW_CONNECTIONS": "{env:SQL_PREVIEW_CONNECTIONS}"
}
}
}
}{
"mcpServers": {
"sql-preview": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"--stdio"
],
"env": {
"SQL_PREVIEW_CONNECTIONS": "${SQL_PREVIEW_CONNECTIONS}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=sql-preview&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInNxbC1wcmV2aWV3QDAuNi4yOCIsIi0tc3RkaW8iXSwiZW52Ijp7IlNRTF9QUkVWSUVXX0NPTk5FQ1RJT05TIjoiJHtTUUxfUFJFVklFV19DT05ORUNUSU9OU30ifX0%3D"
}{
"servers": {
"sql-preview": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]",
"--stdio"
],
"env": {
"SQL_PREVIEW_CONNECTIONS": "${SQL_PREVIEW_CONNECTIONS}"
}
}
}
}{
"mcpServers": {
"sql-preview": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"--stdio"
],
"env": {
"SQL_PREVIEW_CONNECTIONS": "${SQL_PREVIEW_CONNECTIONS}"
}
}
}
}extensions:
"sql-preview":
enabled: true
name: "sql-preview"
type: stdio
cmd: "npx"
args:
- "-y"
- "[email protected]"
- "--stdio"
envs:
"SQL_PREVIEW_CONNECTIONS": "${SQL_PREVIEW_CONNECTIONS}"
timeout: 300
Placeholders to fill from your own secret store: ${SQL_PREVIEW_CONNECTIONS}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulns8 advisories to act on (malicious, or rated high or critical with a fix available): GHSA-45rx-2jwx-cxfr in @opentelemetry/[email protected] (indirect, fixed in 2.9.0), GHSA-66ff-xgx4-vchm in [email protected] (indirect, fixed in 8.0.2), GHSA-685m-2w69-288q in [email protected] (indirect, fixed in 8.0.2), ...; 14 more of lower severity or without a fixdeps.mcp_sdk_version@modelcontextprotocol/sdk 1.30.1 has 1 known advisory (GHSA-6qxp-vccf-f47h); update @modelcontextprotocol/sdk to 1.31.0 or laterdeps.resolvable[email protected] resolved: 498 packagesNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website ~liveness-unmeasured ~updated-61d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
[email protected] npm497 dependencies, resolved · MCP SDK @modelcontextprotocol/sdk 1.30.1 · advisories checked 2026-10-19
| advisory | severity | package | fixed in |
|---|---|---|---|
| GHSA-6qxp-vccf-f47hMCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server | high | @modelcontextprotocol/[email protected]MCP SDK, direct | fixed in 1.31.0 |
| GHSA-45rx-2jwx-cxfrOpenTelemetry JavaScript: Denial of service in `JaegerPropagator` via unhandled exception on a malformed header | high | @opentelemetry/[email protected]indirect | fixed in 2.9.0 |
| GHSA-66ff-xgx4-vchmprotobuf.js: Code injection through bytes field defaults in generated toObject code | high | [email protected]indirect | fixed in 8.0.2 |
| GHSA-685m-2w69-288qprotobuf.js: Denial of service through unbounded protobuf recursion | high | [email protected]indirect | fixed in 8.0.2 |
| GHSA-75px-5xx7-5xc7protobuf.js: Code generation gadget after prototype pollution | high | [email protected]indirect | fixed in 8.0.2 |
| GHSA-jvwf-75h9-cwggprotobuf.js: Process-wide denial of service through unsafe option paths | high | [email protected]indirect | fixed in 8.0.2 |
| GHSA-wcpc-wj8m-hjx6protobufjs: Denial of service through unbounded Any expansion during JSON conversion | high | [email protected]indirect | fixed in 8.4.1 |
| GHSA-82x6-q7mm-w9cftoml-node: Uncontrolled Recursion | high | [email protected]indirect | fixed in 4.2.0 |
| GHSA-v5mp-jgw5-2x6jtoml-node: Prototype Pollution Leads to `Object.prototype` Corruption via `__proto__` Key-Path Desynchronization | high | [email protected]indirect | fixed in 4.1.2 |
| GHSA-8988-4f7v-96qfOpenTelemetry Core: Unbounded memory allocation in W3C Baggage propagation | moderate | @opentelemetry/[email protected]indirect | fixed in 2.8.0 |
13 more advisories in the dependencies endpoint.
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
sql-preview | npm | 0.6.28 | npx | SQL_PREVIEW_CONNECTIONS |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.fadnavismehul/sql-preview",
"title": "SQL Preview",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.6.28",
"packages": [
{
"version": "0.6.28",
"transport": {
"type": "stdio"
},
"identifier": "sql-preview",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"packageArguments": [
{
"name": "--stdio",
"type": "named",
"description": "Run SQL Preview using stdio transport for local MCP clients."
}
],
"runtimeArguments": [
{
"type": "positional",
"value": "-y"
}
],
"environmentVariables": [
{
"name": "SQL_PREVIEW_CONNECTIONS",
"format": "string",
"isSecret": true,
"description": "JSON array of SQL Preview connection profiles for headless use."
},
{
"name": "SQL_PREVIEW_MCP_SAFE_MODE",
"value": "true",
"format": "boolean",
"description": "Set to false to allow mutating SQL. Defaults to true."
},
{
"name": "SQL_PREVIEW_MAX_ROWS",
"value": "10000",
"format": "number",
"description": "Maximum rows returned by query tools. Defaults to 10000."
}
]
}
],
"repository": {
"id": "1025027765",
"url": "https://github.com/fadnavismehul/sql-preview",
"source": "github"
},
"websiteUrl": "https://github.com/fadnavismehul/sql-preview#readme",
"description": "Run governed SQL queries and inspect database schemas from MCP agents."
}