{
  "checker": {
    "details": {
      "argv": [
        "<host-path>",
        "mcp"
      ],
      "hosting": "local",
      "kind": "mcp_http",
      "protocolVersion": "2025-06-18",
      "scope": "remote hosted MCP initialize + tools/list",
      "serverInfo": {
        "name": "queryapigate",
        "version": "1.30.0"
      },
      "tools": [
        "example_all_rentals",
        "example_film_lookup",
        "example_film_search",
        "example_kpi_active_rentals",
        "example_kpi_overdue",
        "example_kpi_rentals_today",
        "example_monthly_revenue",
        "example_recent_rentals",
        "example_rentals_since",
        "example_revenue_by_category",
        "example_top_films",
        "list_tables",
        "execute_sql",
        "describe_table"
      ],
      "transport": "streamable-http",
      "url": "http://127.0.0.1:5001/mcp/",
      "working": true
    },
    "status": "PASS"
  },
  "deviations": [
    "README 'Install': system python3 has no venv support (ensurepip missing). Ran `sudo apt-get install python3.12-venv`, then created <host-path>",
    "README 'Quick start': `queryapigate examples load` refused to run in the repo because the repo ships examples.db. Set QUERYAPIGATE_HOME=<host-path> and ran from there, so no repo files were changed or removed.",
    "Probe kind is mcp_http, not http: the REST server requires an API key on every request, and the checker's http probe sends no headers. The MCP endpoint takes X-API-Key; Authorization: <secret>",
    "Pytest and lint suites were not run, per the smoke-task instructions."
  ],
  "main_blocker": null,
  "operation": "Start `queryapigate mcp` (streamable HTTP on 127.0.0.1:5001/mcp/) and run MCP initialize + tools/list against the saved queries from `queryapigate examples load`.",
  "operation_scope": "Covers MCP startup and tool listing with an admin API key sent in X-API-Key. The examples are loaded into QUERYAPIGATE_HOME=<host-path> Not covered: OAuth sign-in, write tools, or running individual tools.",
  "outcome": "working",
  "steps": [
    "pip install -e . in <host-path> (python3-venv installed via apt)",
    "pip install -e \".[mcp]\"",
    "QUERYAPIGATE_HOME=<host-path> QUERYAPIGATE_API_KEY=demo-key queryapigate examples load",
    "QUERYAPIGATE_HOME=<host-path> QUERYAPIGATE_API_KEY=demo-key queryapigate serve; curl /q/example_film_search and POST /execute_sql returned rows (quickstart verified)",
    "QUERYAPIGATE_HOME=<host-path> QUERYAPIGATE_API_KEY=demo-key queryapigate mcp; initialize with X-API-Key returned serverInfo queryapigate 1.30.0"
  ],
  "stuck_step": null,
  "suggested_fix": null
}
