Skip to main content
Glama
Faneraiy14

ci-watch-mcp

by Faneraiy14

ci-watch-mcp

An MCP server with a single watch_ci tool — it waits for GitHub Actions CI to complete for a commit in a local git repository and, in one call, returns a summary along with the error log if something failed.

Why

Without it, checking whether CI passed after a push is done manually:
push one → sleep → gh run list → if the status is "in_progress", sleep again → gh run list again → if conclusion: failure, work through a separate gh run view <id> --log-failed call to see what broke. watch_ci does all this in a single call and immediately returns the failure log, without a manual wait loop.

Tool

watch_ci

Parameter

Type

Default name

Description

cwd

string

— (required)

Path to the local clone of the repository with origin on GitHub

ref

string

HEAD

SHA (full or short) or any git-ref

workflow

string

Filter by workflow name if the repo has several

timeout_ms

number

300000 (5 min)

Ceiling: 1200000 (20 min)

poll_interval_ms

number

5000

Polling interval for gh run list

Returns:

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

  • { ok: false, conclusion: "failure", url, sha, workflowName, failedLogs } — CI failed; failedLogs contains the tail of gh run view --log-failed (truncated to 8000 chars, from the end — that is the most informative part);

  • { ok: false, timedOut: true, status, url, message } — did not finish/start within the allotted time.

If ref does not resolve to an actual commit (i.e. a typo in the SHA), the tool immediately throws an error instead of silently disposing until the timeout.

Installation

cd ci-watch-mcp
npm install

Connect to Claude Code:

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

Requires an installed and authenticated gh CLI (gh auth status).

Tests

npm test

The tests run against already finished real runs in the secretscan repository (successful, failed, and a commit with none of the CI runs) — no need to wait for a live push.

License

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