CICD AIops logo

CICD AIops

Governed MCP and CLI tools for self-managed GitLab and Gitea CI/CD analysis, remediation, auditing, and dry-run writes.

Install CICD AIops

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "cicd-aiops": {
      "command": "uvx",
      "args": [
        "--from",
        "cicd-aiops",
        "cicd-aiops-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 28 tools correctly ().

Overview

CICD AIops connects agents directly to self-managed GitLab REST v4 and self-hosted Gitea API v1 servers for pipeline, runner, artifact, repository, and work-hygiene operations. It provides 26 governed tools, including failure RCA, runner health analysis, storage bloat analysis, stale-work audits, and selected write actions. Every MCP and CLI call is audited, while writes support dry runs, risk labels, and undo records where an inverse is available. Reach for it when CI/CD infrastructure runs behind a VPN or on company hardware; GitLab.com, Gitea Cloud, and Kubernetes deployment state are outside its scope.

Use cases

  • Diagnose failed pipelines from job trace tails
  • Find stale runners and saturated runner tags
  • Estimate reclaimable artifact and repository storage
  • Audit stale merge requests, branches, and protection gaps

Key features

  • GitLab REST v4 and Gitea API v1 connectivity
  • Pipeline, runner, artifact, and stale-work RCA
  • Audited MCP and CLI operations
  • Dry-run support for every write
  • Encrypted credential storage
  • Undo records for selected reversible writes

Tools28

What CICD AIops lets your agent do. Expand a tool for its parameters.

Verified live~6.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/27 checks healthy over the last 111d

What it can do

From the 28 tools this server returned when we ran it; 28 declare their own safety hints.

Can delete or modify data · 7Handles credentials · 6Read-only tools · 21
Network at startup2 connections
Files written at startup12

Observed 2026-11-04 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · cicd-aiops (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed28Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How CICD AIops works

What CICD AIops does

CICD AIops gives an agent an MCP interface to self-managed GitLab and self-hosted Gitea installations. It covers pipelines or Actions runs, jobs and trace or log tails, projects and repositories, merge or pull requests, branches, protections, releases, runners where the platform supports them, and artifact or storage information.

Its four main analyses focus on common operational questions:

  • Pipeline failure RCA classifies failed jobs using trace-tail evidence, including test failures, dependency or network problems, runner timeouts, out-of-memory failures, and script errors.
  • Runner health analysis identifies offline or stale runners, delayed jobs, and tag saturation.
  • Storage analysis ranks repository and artifact usage, estimates reclaimable bytes, and identifies expired artifacts that remain stored.
  • Stale-work audits find inactive merge or pull requests, old branches, and branch-protection gaps.

The package also exposes selected mutations such as retrying or cancelling pipelines, pausing or resuming GitLab runners, deleting artifacts, and updating branch protection.

How it works

The server calls the GitLab REST API v4 or Gitea API v1 directly against the configured host. Platform-specific capability checks produce a teaching error when a requested surface is unavailable; for example, Gitea does not provide the runner and several mutation operations supported by GitLab through this tool.

All calls pass through a governance harness. Each call creates an audit row containing parameters, an outcome summary, status, duration, and a descriptive risk tier. Mutating operations fetch and preserve prior state when possible, allowing reversible actions such as runner pause or branch-protection changes to record a replayable inverse. Retry, cancel, and artifact deletion retain prior-state information instead.

Analyses use named thresholds and report the values behind their findings. Returned server text is normalized before reaching the agent, and path parameters are percent-encoded.

Setup and configuration

Install the package with uv tool install cicd-aiops or pip install cicd-aiops. Run cicd-aiops init to configure a base URL, token, and TLS verification behavior, then use cicd-aiops doctor to test connectivity and token scopes. cicd-aiops overview provides a quick view of the configured identity, projects, runners, and version.

Credentials are stored in an encrypted secrets file at ~/.cicd-aiops/secrets.enc, with the encryption key derived from a master password using scrypt. Set CICD_AIOPS_MASTER_PASSWORD for non-interactive or MCP use. CICD_AIOPS_HOME relocates the audit and undo databases and related application data. TLS verification is enabled by default.

As a standalone MCP server, the package can be launched through uvx with a stdio configuration using --from cicd-aiops. Claude Code and OpenClaw also have plugin installation paths that bundle the skill with the MCP server.

Tools and capabilities

The package provides 26 governed tools: 20 read or analysis tools and 6 write tools. CLI commands use the same governed path as MCP calls, so command-line mutations are audited as well. Every write accepts a dry-run option and requires double confirmation when executed.

The runaway guard can trip a circuit breaker when the same call is repeated rapidly. CICD_RUNAWAY_MAX=0 disables that safeguard, while CICD_MAX_TOOL_CALLS and CICD_MAX_TOOL_SECONDS can impose additional ceilings. These controls are safety backstops, not authorization mechanisms.

Limitations and notes

CICD AIops targets self-managed GitLab and Gitea deployments, not their SaaS offerings. It stops at the CI/CD platform API and should not be used to inspect Kubernetes deployment state. Governance records and labels activity but does not decide whether a write is permitted; the connected token and platform permissions still control authorization. A read-only mode, policy file, or approval gate is not part of the configuration model.

Support is modelled from public API documentation and exercised against mocked HTTP responses. Use cicd-aiops doctor as the live connectivity and scope check for a target installation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about CICD AIops

CICD AIops is an MCP server that connects agents to self-managed GitLab and self-hosted Gitea, exposing governed tools for pipeline and runner RCA, storage and stale-work analysis, artifact management, pipeline actions, runner controls, and branch-protection updates. Every call is audited, and writes support dry runs.

Install it with `uv tool install cicd-aiops` or `pip install cicd-aiops`, then run `cicd-aiops init` to configure the host, token, and TLS verification. For an MCP stdio setup, launch it through `uvx --from cicd-aiops`.

No. CICD AIops targets self-managed GitLab instances and self-hosted Gitea servers. GitLab.com and Gitea Cloud are outside its intended support scope.

Every MCP and CLI call is written to an audit database with parameters, an outcome summary, status, duration, and risk tier. Mutating operations also preserve fetched before-state when possible, and every write supports a dry-run preview.

No. CICD AIops ends at the CI/CD server API and handles pipelines, runners, artifacts, and repository hygiene. Kubernetes deployment state belongs with a separate Kubernetes-focused tool.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCICD AIops AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/cicd-aiops?style=directory)](https://allmcps.com/mcp/cicd-aiops)
HTML Embed
<a href="https://allmcps.com/mcp/cicd-aiops"><img src="https://allmcps.com/api/badge/cicd-aiops?style=directory" alt="CICD AIops on AllMCPs" /></a>