API & MCP

Everything a person can do on CI/CD Failure Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • POST https://cicdfailureexplorer.usefulweb.site/api/v1/calculate – run CI/CD Failure Explorer
  • GET https://cicdfailureexplorer.usefulweb.site/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

CI/CD Failure Explorer

Paste or upload logs of several GitHub Actions, GitLab CI or Jenkins runs (separated by "=== run: name ===" lines). Each run is classified by a documented pattern catalogue — test assertions (with test names), compile/type errors, dependency resolution, network/registry timeouts, OOM/exit 137, disk full, timeouts, lint, flaky retries, missing secrets/permissions — and runs are grouped by normalised error signature with counts per branch and day.

Inputs of CI/CD Failure Explorer
FieldTypeDefaultDescription
logstextarea—CI logs. Separate runs with a line "=== run: <name> ===". Optional metadata in the header: branch=…, date=YYYY-MM-DD, status=failed|passed. Without separators the whole paste is one run.
filefile—Or upload a log file. Plain-text log export (UTF-8). Combined with any pasted text.

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

  • Streamable HTTP endpoint: https://cicdfailureexplorer.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: cicd_failure_explorer
  • Local stdio connector: node src/mcp-stdio.ts --tool=cicd-failure-explorer
{
  "mcpServers": {
    "cicd-failure-explorer": { "type": "http", "url": "https://cicdfailureexplorer.usefulweb.site/mcp" }
  }
}