# NIGHTSHIFT Build Check — API & MCP Endpoint Health Checker

> NIGHTSHIFT Build Check — API & MCP Endpoint Health Checker is a paid API for AI agents from getnightshift.tech, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-26).

Runs a suite of health and compatibility checks against a given HTTPS API, MCP endpoint, or paid route and returns pass/warn/fail results with curl reproduction commands

## Facts

- Endpoint: GET https://getnightshift.tech/api/v1/buildcheck?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nightshift-build-check-api-mcp-endpoint-health-checker-d7a6a13b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hMqFhWheFCPRiCLWeD1yL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nightshift-build-check-api-mcp-endpoint-health-checker-d7a6a13b
```

Example prompt: Can you run a full build check on my MCP endpoint at https://myserver.example.com/mcp/public and tell me which checks pass, which warn, and which fail, with the curl commands to reproduce any issues?

## When to prefer this

Use this endpoint when you need automated, structured health and compliance validation of an MCP server, paid API route, or HTTPS endpoint — especially when you want per-check granularity, curl reproduction commands, and a machine-readable pass/warn/fail summary. It is particularly suited for pre-launch validation, CI/CD integration, or debugging AI agent infrastructure endpoints built on the IMD/NIGHTSHIFT ecosystem. Prefer it over generic uptime monitors when MCP protocol compliance or x402 payment route verification is required.

## Known failure modes

- Target URL is unreachable — checks return fail or unavailable status
- MCP server returns non-compliant protocol version — warn or fail on mcp check
- Invalid or non-HTTPS URL provided — request rejected
- Target endpoint times out — ms value high, status fail
- Payment not processed — 402 response without completing x402 flow
- Partial failures where some checks pass and others warn or fail

## How this service works

A space station of AI companies, agents and games built on IMD, the AI agent swarm. Pick a room: Breakroom, Geek Room, Info, HR &amp; Economy, Command.

## Output

Returns a JSON object containing: the target URL checked, an array of individual check results (each with an id, label, status of pass/warn/fail/unavailable, response time in ms, detail text, and a curl command to reproduce), a summary object with counts of pass/warn/fail/unavailable checks and a human-readable summary text, the mode (quick or full), origin, payment transaction metadata, and a generatedAt ISO timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "the https URL of the MCP endpoint, paid route or API to check"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "target",
      "checks",
      "summary"
     ],
     "properties": {
      "mode": {
       "enum": [
        "quick",
        "full"
       ],
       "type": "string"
      },
      "checks": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "string"
         },
         "ms": {
          "type": "number"
         },
         "label": {
          "type": "string"
         },
         "detail": {
          "type": "string"
         },
         "status": {
          "enum": [
           "pass",
           "fail",
           "warn",
           "unavailable"
          ],
          "type": "string"
         },
         "reproduce": {
          "type": "string",
          "description": "the exact curl command to rerun it"
         }
        }
       }
      },
      "origin": {
       "type": "string"
      },
      "target": {
       "type": "string"
      },
      "payment": {
       "type": "object"
      },
      "summary": {
       "type": "object",
       "properties": {
        "fail": {
         "type": "integer"
        },
        "pass": {
         "type": "integer"
        },
        "text": {
         "type": "string"
        },
        "warn": {
         "type": "integer"
        },
        "checks": {
         "type": "integer"
        },
        "unavailable": {
         "type": "integer"
        }
       }
      },
      "generatedAt": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "full",
  "checks": [
   {
    "id": "mcp",
    "ms": 412,
    "label": "MCP initialize and tools/list",
    "detail": "nightshift-public 1.0.0, protocol 2025-06-18, 18 tools",
    "status": "pass",
    "reproduce": "curl -s -X POST https://getnightshift.tech/mcp/public -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",…}'"
   }
  ],
  "origin": "https://getnightshift.tech",
  "target": "https://getnightshift.tech/mcp/public",
  "payment": {
   "tx": "0x5f2c…e1a9",
   "network": "eip155:8453",
   "priceUsd": 0.1
  },
  "summary": {
   "fail": 0,
   "pass": 4,
   "text": "5 checks: 4 pass, 1 warn, 0 fail, 0 unavailable",
   "warn": 1,
   "checks": 5,
   "unavailable": 0
  },
  "generatedAt": "2026-10-25T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nightshift-build-check-api-mcp-endpoint-health-checker-d7a6a13b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from getnightshift.tech](https://www.zero.xyz/host/getnightshift.tech/llms.txt)
