{
  "credential": {
    "env": "ICX_API_KEY",
    "source_field": "api_key",
    "prefix": "clabs_live_",
    "placeholder": "clabs_live_YOUR_KEY",
    "do_not_send": "license_key",
    "rule": "Send exactly one auth header. The server reads X-License-Key, then X-API-Key, then Authorization. A value in an earlier header hides the later ones. The header X-License-Key takes the api_key value, not the claim field license_key."
  },
  "rest": {
    "base": "https://icx.api.caleralabs.com",
    "header": "Authorization",
    "value": "Bearer <api_key>"
  },
  "mcp": {
    "url": "https://icx.caleralabs.com/mcp",
    "server_id": "icx",
    "header": "X-License-Key",
    "value": "<api_key>",
    "tools": [
      "recall_epistemic_context",
      "dispatch_actuation",
      "icx_remember",
      "icx_recall_scoped",
      "icx_search_facts",
      "icx_quote_slot",
      "icx_inspect_space",
      "icx_reset_session",
      "icx_sync_delta",
      "icx_list_connectors",
      "icx_register_connector",
      "icx_purge_source",
      "icx_sync_audit",
      "icx_exec",
      "icx_wasm_exec",
      "icx_multihop_walk",
      "icx_swarm_state",
      "claim_1m_nodes"
    ]
  },
  "cursor": {
    "path": ".cursor/mcp.json",
    "body": {
      "mcpServers": {
        "icx": {
          "url": "https://icx.caleralabs.com/mcp",
          "serverUrl": "https://icx.caleralabs.com/mcp",
          "headers": {
            "X-License-Key": "clabs_live_YOUR_KEY"
          }
        }
      }
    }
  },
  "vscode": {
    "path": ".vscode/mcp.json",
    "body": {
      "servers": {
        "icx": {
          "url": "https://icx.caleralabs.com/mcp",
          "headers": {
            "X-License-Key": "clabs_live_YOUR_KEY"
          }
        }
      }
    }
  },
  "verify": {
    "note": "GET /v1/models and GET /api/ready do not check the key. A passing check is tools/call icx_inspect_space with only X-License-Key. HTTP 401 means the header was missing or the value was license_key or the placeholder.",
    "method": "POST",
    "url": "https://icx.caleralabs.com/mcp",
    "headers": {
      "Content-Type": "application/json",
      "Accept": "application/json, text/event-stream",
      "X-License-Key": "<api_key>"
    },
    "body": {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "tools/call",
      "params": {
        "name": "icx_inspect_space",
        "arguments": {}
      }
    }
  }
}
