# GitHub CI/CD MCP Server [Health: Active]

**Category:** 🔄 Version Control  
**Repository:** https://github.com/devstephenke-sys/Github-Free-MCPs  
**GitHub Stars:** 2  
**npm Downloads (last month):** 196  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/github-ci-cd-mcp-server

## Description
GitHub CI/CD MCP server with 70 tools for repos, PRs, Actions, deployments, billing, and more.

## Tools
Capabilities this server exposes over MCP:

- **github_get_authenticated_user** — Get the authenticated GitHub user (validates token and shows login).
- **github_get_rate_limit** — Check REST API rate limit status for the current token.
- **github_create_repository** — Create a new repository for the authenticated user or an organization.
- **github_get_repository** — Get repository metadata.
- **github_list_repositories** — List repositories for a user or organization.
- **github_create_branch** — Create a branch from an existing ref (e.g. main).
- **github_fork_repository** — Fork a repository to the authenticated user or an organization.
- **github_list_commits** — List commits on a branch or for the whole repo.
- **github_get_commit** — Get a single commit with files changed.
- **github_compare_commits** — Compare two commits (base...head) — useful for release notes and PR scope.
- **github_create_commit** — Create a commit on a branch by updating one or more files (GitHub Git API — no local clone required).
- **github_get_combined_status** — Get combined commit status (legacy statuses + check runs summary) for CI/CD gates.
- **github_list_check_runs_for_ref** — List GitHub Actions check runs for a commit ref.
- **github_create_pull_request** — Open a pull request (base ← head).
- **github_list_pull_requests** — List pull requests for a repository.
- **github_get_pull_request** — Get pull request details including merge status.
- **github_merge_pull_request** — Merge a pull request when checks pass (squash, merge, or rebase).
- **github_update_pull_request** — Update PR title, body, or state (open/closed).
- **github_list_pull_request_files** — List files changed in a pull request.
- **github_create_pull_request_review** — Submit a PR review (comment, approve, or request changes).
- **github_list_workflows** — List GitHub Actions workflows in a repository.
- **github_list_workflow_runs** — List workflow runs (filter by workflow id, branch, or status).
- **github_get_workflow_run** — Get details for a single workflow run.
- **github_list_workflow_jobs** — List jobs for a workflow run (steps, conclusions).
- **github_rerun_workflow** — Re-run a failed or cancelled workflow run.
- **github_cancel_workflow_run** — Cancel an in-progress workflow run.
- **github_dispatch_workflow** — Trigger a workflow_dispatch event (manual CI run).
- **github_list_actions_secrets** — List Actions secret names (values are never returned).
- **github_list_actions_variables** — List Actions variables for a repository (non-secret config).
- **github_list_workflow_run_artifacts** — List CI build artifacts for a workflow run.
- **github_download_workflow_artifact** — Get download URL metadata for a workflow artifact (follow URL with auth to download zip).
- **github_list_deployments** — List deployments for a repository (CD history).
- **github_create_deployment** — Create a deployment for a ref (triggers deployment workflows / environments).
- **github_create_deployment_status** — Update deployment status (success, failure, in_progress) for CD observability.
- **github_list_environments** — List deployment environments and protection rules.
- **github_get_user_billing_actions** — Get GitHub Actions billing summary for the authenticated user (minutes, included vs paid).
- **github_get_org_billing_actions** — Get GitHub Actions billing for an organization.
- **github_get_org_billing_overview** — Get combined billing overview for an org (Actions, Packages, shared storage).
- **github_get_org_billing_usage_report** — Request billing usage export metadata (org plans — requires billing admin).
- **github_create_issue** — Create an issue in a repository.
- **github_list_issues** — List issues (excludes pull requests unless filtered).
- **github_get_issue** — Get issue details by number.
- **github_update_issue** — Update issue title, body, state, or labels.
- **github_add_issue_comment** — Add a comment to an issue or pull request.
- **github_list_issue_comments** — List comments on an issue or PR.
- **github_list_releases** — List releases for a repository.
- **github_get_release_by_tag** — Get a release by tag name.
- **github_create_release** — Create a GitHub release (optionally from an existing tag).
- **github_list_tags** — List git tags in a repository.
- **github_create_tag** — Create a lightweight or annotated tag ref via the Git API.
- **github_get_branch** — Get branch metadata including protection status.
- **github_get_branch_protection** — Get branch protection rules for a branch.
- **github_update_branch_protection** — Update branch protection (require PR reviews, status checks, admins).
- **github_delete_branch_protection** — Remove branch protection from a branch.
- **github_list_branches** — List branches in a repository.
- **github_list_webhooks** — List repository webhooks.
- **github_create_webhook** — Create a repository webhook (e.g. for CI notifications).
- **github_delete_webhook** — Delete a repository webhook by ID.
- **github_list_collaborators** — List collaborators and their permissions.
- **github_add_collaborator** — Invite or add a collaborator to a repository.
- **github_list_teams** — List teams in an organization (for CI/CD access planning).
- **github_graphql_query** — Run a read-only GitHub GraphQL query (https://docs.github.com/en/graphql). Variables optional.
- **github_graphql_mutation** — Run a GitHub GraphQL mutation (create/update via GraphQL API). Use with care.
- **github_graphql_repository_overview** — Quick GraphQL snapshot: repo, default branch, latest commit, open PR count.
- **git_status** — Show working tree status in a local clone (branch, staged/unstaged files).
- **git_commit** — Stage all changes and create a local commit.
- **git_push** — Push commits to remote (set upstream on first push if needed).
- **git_pull** — Pull from remote with rebase (ff-only friendly for CI branches).
- **git_log** — Recent commit log on current branch.
- **git_clone** — Clone a repository into a directory (uses local git, not API).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "cd-mcp-server": {
    "command": "npx",
    "args": ["-y","@kinus/github-cicd-mcp"],
    "env": {
      "GITHUB_TOKEN": "",
      "GH_TOKEN": "",
      "GITHUB_HOST": "",
      "GITHUB_API_URL": "",
      "GITHUB_GRAPHQL_URL": ""
    }
  }
}
```

**Requires environment variables:** `GITHUB_TOKEN`, `GH_TOKEN`, `GITHUB_HOST`, `GITHUB_API_URL`, `GITHUB_GRAPHQL_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What GitHub CI/CD MCP Server does

GitHub CI/CD MCP Server exposes GitHub repository and DevOps operations as MCP tools. It can identify the authenticated account, inspect API rate limits, create or fork repositories, manage branches, read and create commits, and compare revisions. Repository work also includes pull requests, reviews, issues, releases, tags, branch protection, collaborators, teams, and webhooks.

The CI/CD toolset covers GitHub Actions workflows, runs, jobs, check results, reruns, cancellations, manual dispatches, artifacts, Actions secret names, and repository variables. Deployment tools list environments, create deployments, and add deployment statuses. Billing tools cover user Actions billing and several organization billing views. GraphQL query, mutation, and repository overview tools are also available.

## How it works

MCP clients start the server as a local process, commonly through `npx`. GitHub operations use REST and GraphQL endpoints with a token supplied through the environment. The server can create commits by updating files through the GitHub Git API, so that operation does not require a local repository clone.

Separate local Git tools handle status, commit, push, pull, log, and clone operations. Enterprise GitHub installations can use configurable host, REST, and GraphQL endpoint values instead of the public GitHub endpoints.

## Setup and configuration

The npm configuration runs `npx -y @kinus/github-cicd-mcp` and passes `GITHUB_TOKEN` from the environment. `GH_TOKEN` is also supported as an authentication variable. A source installation can be built with `npm install` followed by `npm run build`, then started with the generated `dist/index.js` file.

Create a GitHub personal access token and keep it in an environment variable rather than committing it. Repository, pull request, commit, and issue operations require either the `repo` scope or suitable fine-grained Contents, Pull requests, and Issues permissions. Actions operations use `workflow`; organization billing requires `read:org` and an appropriate organization billing role. Branch protection and webhook administration require administrator access to the relevant repository or organization.

For GitHub Enterprise, set `GITHUB_HOST`, `GITHUB_API_URL`, and `GITHUB_GRAPHQL_URL` as needed. The project also provides build and verification commands: `npm run build` and `npm run verify`.

## Tools and capabilities

- Inspect the authenticated user and token rate limits.
- Create, list, fork, and inspect repositories and branches.
- List, inspect, compare, and create commits.
- Open, update, review, merge, and inspect pull requests and changed files.
- List, trigger, monitor, rerun, and cancel GitHub Actions workflows and runs.
- Inspect check runs, workflow jobs, artifacts, Actions secret names, and variables.
- Create deployments and statuses, and list deployment environments.
- Manage releases, tags, branch protection, issues, webhooks, collaborators, and teams.
- Run GraphQL queries and mutations and use local Git commands.

## Limitations and notes

GitHub permissions determine which operations the authenticated client can perform. Actions secret values are never returned; the corresponding tool lists secret names only. Authentication tokens should be treated as credentials and kept out of source control.

The server includes both GitHub API tools and local Git tools. API-based commit creation works without a clone, while local Git actions operate on repositories available to the process. GitHub Enterprise use requires the relevant endpoint configuration.

_Full upstream README: https://allmcps.com/mcp/github-ci-cd-mcp-server/readme_

