ci-watch-mcp
ci-watch-mcp
MCP-Server mit einem einzigen Tool watch_ci — wartet, bis GitHub Actions CI für einen Commit im lokalen git-Repository abgeschlossen ist, und gibt mit einem einzigen Aufruf eine Zusammenfassung zusammen mit dem Fehlerprotokoll zurück, falls etwas fehlgeschlagen ist.
Wozu
Ohne dies ist die Prüfung „Hat CI nach meinem Push bestanden?" manuell: push → sleep → gh run list → wenn der Status „in_progress" ist, nochmal sleep → wieder gh run list → wenn conclusion: failure, ein separater Aufruf von gh run view <id> --log-failed, um zu sehen, was genau kaputtgegangen ist. watch_ci erledigt das alles mit einem einzigen Aufruf und liefert sofort das Fehlerprotokoll zurück, ohne manuelle Warteschleife.
Related MCP server: claude-beacon
Werkzeug
watch_ci
Parameter | Typ | Standard | Beschreibung |
| string | — (erforderlich) | Pfad zum lokalen Klon des Repos mit |
| string |
| SHA (vollständig oder kurz) oder ein beliebiger git-ref |
| string | — | Filter nach Workflow-Name, falls es mehrere im Repo gibt |
| number |
| Obergrenze |
| number |
| Abfrageintervall für |
Gibt zurück:
{ ok: true, conclusion: "success", url, sha, workflowName }— CI bestanden;{ ok: false, conclusion: "failure", url, sha, workflowName, failedLogs }— CI fehlgeschlagen,failedLogs— das Ende vongh run view --log-failed(auf 8000 Zeichen gekürzt, vom Ende — dort ist es am informativsten);{ ok: false, timedOut: true, status, url, message }— konnte innerhalb der vorgegebenen Zeit nicht abgeschlossen/gestartet werden.
Wenn ref nicht in einen echten Commit aufgelöst werden kann (Tippfehler im SHA), wirft das Tool sofort einen Fehler, anstatt still bis zum Timeout zu warten.
Installation
cd ci-watch-mcp
npm installEinbindung in Claude Code:
claude mcp add ci-watch -s user -- node /шлях/до/ci-watch-mcp/src/server.jsEin installiertes und authentifiziertes gh CLI ist erforderlich (gh auth status).
Tests
npm testSie laufen gegen bereits abgeschlossene reale Läufe im Repository secretscan (erfolgreich, fehlgeschlagen, und ein Commit ohne jeden CI-Lauf) — ohne auf einen Live-Push warten zu müssen.
Lizenz
MIT — Faneraiy14.
Available Tools
1 toolwatch_ciДочекатись завершення GitHub Actions CIA
Чекає, поки GitHub Actions CI завершиться для поточного (або заданого) коміту в локальному git-репозиторії, і повертає підсумок ОДНИМ викликом: ok/conclusion/url, а за провалу - одразу хвіст логу невдалих кроків (--log-failed), без окремого запиту. Заміняє ручний цикл "push -> sleep -> gh run list -> (якщо впало) gh run view --log-failed".
Inputs: cwd (required), ref, workflow, timeout_ms, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is zero ambiguity in tool selection. The tool's purpose is clearly defined and distinct.
With a single tool, naming consistency is trivially maintained. The name 'watch_ci' is descriptive and follows a verb_noun pattern, though no comparison set exists to evaluate full consistency.
A single-purpose server with one tool is well-scoped. The tool encapsulates a complete workflow (waiting for CI and returning results), avoiding unnecessary fragmentation.
The tool covers the core CI-watching workflow effectively, including failure log retrieval. Minor gaps exist (e.g., no explicit cancel or list operations), but they are outside the tool's stated purpose and do not hinder its primary function.
Related MCP Connectors
MCP server for CertScore.ai public website risk-signal workflows.
Create, deploy, and operate MCP servers directly from your GitHub repositories.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
MCP server for Appcircle mobile CI/CD platform.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for GitHub Actions — view workflow runs, read logs, re-run failed jobs, and manage CI/CD.955 npm5MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that pushes GitHub Actions CI/CD results and PR events into Claude Code sessions, enabling automatic investigation and remediation.42 npm1MIT
- AlicenseAqualityDmaintenanceMCP server for GitHub Actions CI failure triage. It wraps the gh CLI to fetch PR checks, failed jobs, and tail/grep failed job logs with ANSI/timestamp stripping and root-cause extraction.5MIT
- AlicenseAqualityDmaintenanceMCP server that lets Claude diagnose failed GitHub Actions runs by fetching and parsing CI logs into structured failure signals, enabling natural-language questions like 'Why did the last run fail?'.6MIT