gha-doctor

v0.66.0
io.github.linnea-bakshi/gha-doctor Checked 4 days ago Published 2 months ago

Diagnose GitHub Actions CI: lint, flaky tests, wasted minutes, health score.

Values you need

VariableWhat it is
GITHUB_TOKENoptional secret GitHub token for run-history analysis and log reading (optional for public-repo lint; raises the API rate limit and enables private repos and logs)

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add gha-doctor -- docker run -i --rm ghcr.io/linnea-bakshi/gha-doctor:0.66.0 --mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "gha-doctor": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/linnea-bakshi/gha-doctor:0.66.0",
        "--mcp"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "gha-doctor": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/linnea-bakshi/gha-doctor:0.66.0",
        "--mcp"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "gha-doctor": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/linnea-bakshi/gha-doctor:0.66.0",
        "--mcp"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.gha-doctor]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/linnea-bakshi/gha-doctor:0.66.0", "--mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: analyze_repo, lint_repo, preview_fixes, run_deep_dive, pr_deep_dive, org_overview, explain_rule.
  4. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json