cosmic-mcp

All servers

SQL Preview

io.github.fadnavismehul/sql-preview ยท version 0.6.28

Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.

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

https://github.com/fadnavismehul/sql-preview

Quick facts

  • Listing: Community
  • Published Aug 19, 06:37 UTC
  • Transport: stdio
  • Package: npm sql-preview 0.6.28
  • Listed by cosmic-mcp: Nov 9, 04:26 UTC

Databases

Setup snippets

Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.

Run it locally (npm)

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "sql-preview": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "SQL_PREVIEW_CONNECTIONS": "<your sql preview connections>",
        "SQL_PREVIEW_MAX_ROWS": "<your sql preview max rows>",
        "SQL_PREVIEW_MCP_SAFE_MODE": "<your sql preview mcp safe mode>"
      }
    }
  }
}

Claude Code

claude mcp add 'sql-preview' -- npx -y '[email protected]'

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "sql-preview": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "SQL_PREVIEW_CONNECTIONS": "<your sql preview connections>",
        "SQL_PREVIEW_MAX_ROWS": "<your sql preview max rows>",
        "SQL_PREVIEW_MCP_SAFE_MODE": "<your sql preview mcp safe mode>"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "sql-preview": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "SQL_PREVIEW_CONNECTIONS": "<your sql preview connections>",
        "SQL_PREVIEW_MAX_ROWS": "<your sql preview max rows>",
        "SQL_PREVIEW_MCP_SAFE_MODE": "<your sql preview mcp safe mode>"
      },
      "type": "stdio"
    }
  }
}

Related servers

  • spotdb Verified domain
    Ephemeral data sandbox for AI workflows with guardrails and security
  • Reasonbook Verified domain
    Reasonbook: decisions that survive the session, in a local record AI agents keep.
  • AI for Database Verified domain
    Ask your databases questions in plain English, run read-only SQL and set up data alerts.
  • AI2SQL Verified domain
    Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
  • AICasePredict Verified domain
    Search a large legal database of 325M+ US court records: cases, attorneys, judges and courts.
  • APC Security Reference Server
    Reference MCP server for synthetic APC action-security evaluation and local SQLite sandbox testin...