{
  "checker": {
    "details": {
      "checks": [
        {
          "check": "install",
          "details": {
            "argv": [
              "/usr/bin/node",
              "<host-path>",
              "--help"
            ],
            "kind": "cli",
            "needs_browser": false,
            "needs_credentials": false,
            "returncode": 0,
            "scope": "partial: install",
            "stderr": "",
            "stdout": "Usage:\n  agenttrust-mcp init           # interactive first-time setup\n  agenttrust-mcp --status       # print config + key status\n  agenttrust-mcp --regen-keys   # rotate signing key\n  agenttrust-mcp                # run MCP stdio server",
            "working": false
          },
          "optional": false,
          "status": "PASS"
        },
        {
          "check": "credentials_error",
          "details": {
            "argv": [
              "/usr/bin/node",
              "<host-path>"
            ],
            "blocker": "MCP response missing for request 1: argv did not answer as a stdio MCP server (a client CLI that talks to servers is kind cli); stderr: Fatal error: Error: AgentTrust is not configured. Run `agenttrust-mcp init` or set AGENTTRUST_API_KEY.\n    at makeError (file://<host-path>)\n    at runStdioServer (file://<host-path>)\n    at async main (file://<host-path>)\n",
            "kind": "mcp",
            "working": false
          },
          "optional": false,
          "status": "FAIL"
        }
      ],
      "scope": "partial checks",
      "working": false
    },
    "status": "FAIL"
  },
  "deviations": [
    "node and npm were not preinstalled; installed via apt (nodejs, npm) as a prerequisite",
    "README Quick Start MCP start (npx -y @agenttrust/mcp-server with AGENTTRUST_API_KEY) not run: no key available and creating an <email> to obtain one was not done"
  ],
  "main_blocker": "No AgentTrust API key: 'AgentTrust is not configured. Run `agenttrust-mcp init` or set AGENTTRUST_API_KEY.' (dist/index.js runStdioServer exits rc=1 before serving MCP)",
  "operation": "MCP stdio server start (node dist/index.js) and tools/list; install via npm ci + npm run build",
  "operation_scope": "Install and build succeeded. Start requires an AgentTrust API key (AGENTTRUST_API_KEY or ~/.agenttrust/config.json), which is not present in the guest. tools/list was not reached; partial evidence only.",
  "outcome": "blocked",
  "steps": [
    "apt-get install -y nodejs npm (node v18.19.1, npm 9.2.0)",
    "export NODE_USE_ENV_PROXY=1",
    "npm ci",
    "npm run build (tsc) -> dist/index.js produced",
    "printf initialize/initialized/tools/list | node dist/index.js (no key set)"
  ],
  "stuck_step": "MCP start / tools/list",
  "suggested_fix": "Provide an atk_ API key via AGENTTRUST_API_KEY (and AGENTTRUST_SLUG/AGENTTRUST_AGENT_ID if not auto-resolved) in the guest, then rerun: AGENTTRUST_API_KEY=... node dist/index.js with initialize + tools/list (expect 19 tools)."
}
