Skip to content
MCP server

gha-doctor

Diagnose GitHub Actions CI: lint, flaky tests, wasted minutes, health score. Read-only…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.66.0
Listing updated
5 days ago

About gha-doctor

gha-doctor is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Diagnose GitHub Actions CI: lint, flaky tests, wasted minutes, health score. Read-only MCP tools.

Install

Run in a terminal

claude mcp add gha-doctor --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- docker run -i --rm -e GITHUB_TOKEN ghcr.io/linnea-bakshi/gha-doctor:0.66.0

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gha-doctor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "ghcr.io/linnea-bakshi/gha-doctor:0.66.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gha-doctor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "ghcr.io/linnea-bakshi/gha-doctor:0.66.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "gha-doctor": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "ghcr.io/linnea-bakshi/gha-doctor:0.66.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gha-doctor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "ghcr.io/linnea-bakshi/gha-doctor:0.66.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gha-doctor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "ghcr.io/linnea-bakshi/gha-doctor:0.66.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GITHUB_TOKENGitHub token for run-history analysis and log reading (optional for public-repo lint; raises the API rate limit and enables private repos and logs)

Pricing

Open source

Prices change. Check linnea-bakshi.github.io before you buy.

gha-doctor FAQ

Is gha-doctor free?

Yes. gha-doctor is open source, so you can use and self-host it for free.

How do I add gha-doctor to Claude Code?

Run this command in your terminal: claude mcp add gha-doctor --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- docker run -i --rm -e GITHUB_TOKEN ghcr.io/linnea-bakshi/gha-doctor:0.66.0

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers