protogrid

Search / io.github.fadnavismehul/sql-preview

SQL Preview

L0· runs locally

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

v0.6.28 · active · repository · website · descriptor JSON · versions

Runs on your machine: something must execute the package.Only local packages are published (npm, PyPI, OCI, …). The registry never executes them, so tools are unknown until you run it.
Quality–not scored
Trust91of 100
Packages1
Tools seen0

Connect

8 clients · secrets stay placeholders
{
  "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.

Quality – / 100not scored

Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.

protocoln/a · weight 25
  • n/a
    protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygienen/a · weight 30
  • n/a
    tools.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)
stabilityn/a · weight 15
  • n/a
    stability.changes, stability.rug_pulltool list unknown
dependencies33 · weight 15
  • fail
    deps.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 fix
  • fail
    deps.mcp_sdk_version@modelcontextprotocol/sdk 1.30.1 has 1 known advisory (GHSA-6qxp-vccf-f47h); update @modelcontextprotocol/sdk to 1.31.0 or later
  • pass
    deps.resolvable[email protected] resolved: 498 packages

Tool list unknown · checked 2026-10-19 10:20 UTC

Tool changes

No 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.

Trust 91 / 100

provenance90
livenessn/a
freshness85
hygiene100

+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.

Dependencies

[email protected] npm497 dependencies, resolved · MCP SDK @modelcontextprotocol/sdk 1.30.1 · advisories checked 2026-10-19

advisoryseveritypackagefixed in
GHSA-6qxp-vccf-f47hMCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverhigh@modelcontextprotocol/[email protected]MCP SDK, directfixed in 1.31.0
GHSA-45rx-2jwx-cxfrOpenTelemetry JavaScript: Denial of service in `JaegerPropagator` via unhandled exception on a malformed headerhigh@opentelemetry/[email protected]indirectfixed in 2.9.0
GHSA-66ff-xgx4-vchmprotobuf.js: Code injection through bytes field defaults in generated toObject codehigh[email protected]indirectfixed in 8.0.2
GHSA-685m-2w69-288qprotobuf.js: Denial of service through unbounded protobuf recursionhigh[email protected]indirectfixed in 8.0.2
GHSA-75px-5xx7-5xc7protobuf.js: Code generation gadget after prototype pollutionhigh[email protected]indirectfixed in 8.0.2
GHSA-jvwf-75h9-cwggprotobuf.js: Process-wide denial of service through unsafe option pathshigh[email protected]indirectfixed in 8.0.2
GHSA-wcpc-wj8m-hjx6protobufjs: Denial of service through unbounded Any expansion during JSON conversionhigh[email protected]indirectfixed in 8.4.1
GHSA-82x6-q7mm-w9cftoml-node: Uncontrolled Recursionhigh[email protected]indirectfixed in 4.2.0
GHSA-v5mp-jgw5-2x6jtoml-node: Prototype Pollution Leads to `Object.prototype` Corruption via `__proto__` Key-Path Desynchronizationhigh[email protected]indirectfixed in 4.1.2
GHSA-8988-4f7v-96qfOpenTelemetry Core: Unbounded memory allocation in W3C Baggage propagationmoderate@opentelemetry/[email protected]indirectfixed 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.

Endpoints

packageregistryversionruntimesecrets
sql-previewnpm0.6.28npxSQL_PREVIEW_CONNECTIONS

Tools (0)

No tools observed. Local packages are never executed by the registry.

Schemas: list_tools.

Similar MCP servers

Official server.json
{
  "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."
}