{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "com.datasparc/dbhawk",
  "slug": "com.datasparc.dbhawk",
  "title": "dbhawk",
  "summary": "Secure access to DBHawk datasources: browse schemas, run governed queries, DBHawk AI text-to-SQL.",
  "version": "0.4.2",
  "serverKey": "dbhawk",
  "pageUrl": "https://mcpkglabs.com/tool/com.datasparc.dbhawk",
  "installMdUrl": "https://mcpkglabs.com/tool/com.datasparc.dbhawk/install.md",
  "trust": {
    "score": 94,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T07:04:09.057056468Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@dbhawk/mcp@0.4.2",
        "dbhawk-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add dbhawk -e 'DBHAWK_BASE_URL=<DBHAWK_BASE_URL>' -e 'DBHAWK_TOKEN=<DBHAWK_TOKEN>' -- npx -y --package=@dbhawk/mcp@0.4.2 dbhawk-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"dbhawk\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@dbhawk/mcp@0.4.2\",\n        \"dbhawk-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DBHAWK_BASE_URL\": \"<DBHAWK_BASE_URL>\",\n        \"DBHAWK_TOKEN\": \"<DBHAWK_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"dbhawk\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@dbhawk/mcp@0.4.2\",\n        \"dbhawk-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DBHAWK_BASE_URL\": \"<DBHAWK_BASE_URL>\",\n        \"DBHAWK_TOKEN\": \"<DBHAWK_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"DBHAWK_BASE_URL\",\n      \"id\": \"dbhawk-base-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"DBHAWK_TOKEN\",\n      \"id\": \"dbhawk-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"dbhawk\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@dbhawk/mcp@0.4.2\",\n        \"dbhawk-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DBHAWK_BASE_URL\": \"${input:dbhawk-base-url}\",\n        \"DBHAWK_TOKEN\": \"${input:dbhawk-token}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.dbhawk]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@dbhawk/mcp@0.4.2\", \"dbhawk-mcp\"]\nenv = { \"DBHAWK_BASE_URL\" = \"<DBHAWK_BASE_URL>\", \"DBHAWK_TOKEN\" = \"<DBHAWK_TOKEN>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "DBHAWK_BASE_URL",
      "required": true,
      "secret": false,
      "description": "DBHawk base URL, e.g. https://dbhawk.example.com (no trailing /api)",
      "help": "DBHawk base URL, e.g. https://dbhawk.example.com (no trailing /api)",
      "placeholder": "<DBHAWK_BASE_URL>"
    },
    {
      "name": "DBHAWK_TOKEN",
      "required": true,
      "secret": true,
      "description": "MCP-scoped personal token (dbh_...) from DBHawk User Profile > API Token",
      "help": "MCP-scoped personal token (dbh_...) from DBHawk User Profile > API Token",
      "placeholder": "<DBHAWK_TOKEN>"
    },
    {
      "name": "DBHAWK_DEFAULT_DATASOURCE",
      "required": false,
      "secret": false,
      "description": "Datasource used when a request doesn't name one",
      "help": "Datasource used when a request doesn't name one",
      "placeholder": "<DBHAWK_DEFAULT_DATASOURCE>"
    }
  ],
  "expectedTools": [
    "get_permissions",
    "list_datasources",
    "get_datasource",
    "list_catalogs",
    "list_schemas",
    "list_objects",
    "list_columns",
    "run_query",
    "explain_plan",
    "execute_statement",
    "list_sessions",
    "kill_session",
    "text_to_sql",
    "optimize_sql",
    "format_sql"
  ],
  "agentSteps": [
    "Ask the user for: DBHAWK_BASE_URL, DBHAWK_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "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: get_permissions, list_datasources, get_datasource, list_catalogs, list_schemas, list_objects, list_columns, run_query, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T07:04:09.057056468Z"
}
