Skip to main content
Glama
Faneraiy14

ci-watch-mcp

by Faneraiy14

ci-watch-mcp

Servidor MCP con una única herramienta watch_ci: espera a que la CI de GitHub Actions termine para un commit en un repositorio git local, y con una sola llamada devuelve un resumen junto con el log del error si algo ha fallado.

Para qué

Sin esto, comprobar "si el CI ha pasado después de mi push" es manual: pushsleepgh run list → si está en estado "in_progress", otro sleep → de nuevo gh run list → si conclusion: failure, una llamada aparte a gh run view <id> --log-failed para ver qué se rompió exactamente. watch_ci hace todo esto en una sola llamada y devuelve al instante el log del fallo, sin bucle manual de espera.

Herramienta

watch_ci

Parámetro

Tipo

Por defecto

Descripción

cwd

string

— (obligatorio)

Ruta al clon local del repositorio con origin en GitHub

ref

string

HEAD

SHA (completo o corto) o cualquier git-ref

workflow

string

Filtro por nombre de workflow, si hay varios en el repo

timeout_ms

number

300000 (5 min)

Tope de 1200000 (20 min)

poll_interval_ms

number

5000

Intervalo de encuesta de gh run list

Devuelve:

  • { ok: true, conclusion: "success", url, sha, workflowName } — la CI pasó;

  • { ok: false, conclusion: "failure", url, sha, workflowName, failedLogs } — la CI falló, failedLogs es la cola de gh run view --log-failed (recortada a 8000 caracteres, desde el final, donde está lo más informativo);

  • { ok: false, timedOut: true, status, url, message } — no pudo terminar/arrancar en el tiempo asignado.

Si ref no se resuelve como un commit real (error tipográfico en el SHA), la herramienta lanza un error inmediatamente en lugar de esperar en silencio hasta el timeout.

Instalación

cd ci-watch-mcp
npm install

Conexión a Claude Code:

claude mcp add ci-watch -s user -- node /шлях/до/ci-watch-mcp/src/server.js

Es necesario tener el CLI gh instalado y autenticado (gh auth status).

Pruebas

npm test

Se ejecutan contra partes reales ya completadas en el repositorio secretscan (una exitosa, una fallida y un commit sin ninguna ejecución de CI) — sin necesidad de esperar un push en vivo.

Licencia

MIT — Faneraiy14.

-
license - not tested
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • MCP server for Appcircle mobile CI/CD platform.

  • A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready

  • The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Faneraiy14/ci-watch-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server