ci-watch-mcp
ci-watch-mcp
MCP 서버에는 watch_ci라는 단일 도구가 있습니다. 로컬 git 저장소의 커밋에 대해 GitHub Actions CI가 완료될 때까지 기다렸다가, 한 번의 호출로 요약과 함께 실패 시 오류 로그를 반환합니다.
왜
이것이 없으면 "내 푸시 후 CI가 통과했는지" 확인은 수동으로 해야 합니다: push → sleep → gh run list → 상태가 "in_progress"이면 다시 sleep → 다시 gh run list → conclusion: failure이면, 무엇이 실패했는지 보기 위해 별도로 gh run view <id> --log-failed를 호출해야 합니다. watch_ci는 이 모든 것을 한 번의 호출로 처리하고, 수동 대기 루프 없이 즉시 실패 로그를 반환합니다.
Related MCP server: claude-beacon
도구
watch_ci
매개변수 | 유형 | 기본값 | 설명 |
| string | — (필수) | GitHub에 |
| string |
| SHA(전체 또는 짧은) 또는 임의의 git-ref |
| string | — | 저장소에 workflow가 여러 개인 경우 workflow 이름으로 필터링 |
| number |
| 상한 |
| number |
|
|
반환값:
{ ok: true, conclusion: "success", url, sha, workflowName }— CI 통과;{ ok: false, conclusion: "failure", url, sha, workflowName, failedLogs }— CI 실패,failedLogs는gh run view --log-failed의 꼬리(끝에서 8000자로 잘림, 가장 정보가 많은 부분);{ ok: false, timedOut: true, status, url, message }— 주어진 시간 내에 완료/시작하지 못함.
ref가 실제 커밋으로 해석되지 않으면(SHA 오타), 도구는 조용히 타임아웃을 기다리는 대신 즉시 오류를 발생시킵니다.
설치
cd ci-watch-mcp
npm installClaude Code에 연결:
claude mcp add ci-watch -s user -- node /шлях/до/ci-watch-mcp/src/server.js설치되고 인증된 gh CLI(gh auth status)가 필요합니다.
테스트
npm testsecretscan 저장소에서 이미 완료된 실제 실행(성공, 실패, CI 실행이 없는 커밋)을 대상으로 실행됩니다. 실제 푸시를 기다릴 필요가 없습니다.
라이선스
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.
Maintenance
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.10 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