{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Abhishekkumar2021/sql",
  "slug": "io.github.abhishekkumar2021.sql",
  "title": "SQL",
  "summary": "Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.",
  "version": "0.1.0",
  "serverKey": "sql",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.abhishekkumar2021.sql",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.abhishekkumar2021.sql/install.md",
  "trust": {
    "score": 83,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:30:24.702885456Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@abhishekmcp/sql@0.1.0",
        "mcp-sql"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add sql -- npx -y --package=@abhishekmcp/sql@0.1.0 mcp-sql"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"sql\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@abhishekmcp/sql@0.1.0\",\n        \"mcp-sql\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"sql\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@abhishekmcp/sql@0.1.0\",\n        \"mcp-sql\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"sql\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@abhishekmcp/sql@0.1.0\",\n        \"mcp-sql\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.sql]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@abhishekmcp/sql@0.1.0\", \"mcp-sql\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "DB_CONN_default",
      "required": false,
      "secret": true,
      "description": "Connection URL for the 'default' connection (postgres://… or sqlite:/abs/path). Additional connections use DB_CONN_<name>. Carries credentials — treated as secret.",
      "help": "Connection URL for the 'default' connection (postgres://… or sqlite:/abs/path). Additional connections use DB_CONN_<name>. Carries credentials — treated as secret.",
      "placeholder": "<DB_CONN_default>"
    },
    {
      "name": "DB_WRITABLE",
      "required": false,
      "secret": false,
      "description": "Set to 1 or true to enable the write tools (execute, execute_script).",
      "help": "Set to 1 or true to enable the write tools (execute, execute_script).",
      "placeholder": "<DB_WRITABLE>"
    }
  ],
  "expectedTools": [
    "list_connections",
    "list_schemas",
    "list_tables",
    "describe_table",
    "list_indexes",
    "relationships",
    "query",
    "explain",
    "sample_table"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: list_connections, list_schemas, list_tables, describe_table, list_indexes, relationships, query, explain, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:30:24.702885456Z"
}
