GitHub CI/CD MCP Server

v1.2.2
io.github.devstephenke-sys/github-cicd Checked 14 hours ago Published 1 month ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

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.

ParameterTypeDescription
name *stringRepository name
auto_initbooleanInitialize with README (default true)
descriptionstringShort description
gitignore_templatestringGitignore template name, e.g. Node
orgstringOrganization login; omit for user account
privatebooleanPrivate repo (default false)

github_get_repository

Get repository metadata.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_list_repositories

List repositories for a user or organization.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
per_pagenumberResults per page (max 100)
typestringFor orgs: all | public | private | forks | sources | member

github_create_branch

Create a branch from an existing ref (e.g. main).

ParameterTypeDescription
branch *stringNew branch name
owner *stringRepository owner (user or org login)
repo *stringRepository name
from_refstringSource ref (branch or SHA). Default: default branch

github_fork_repository

Fork a repository to the authenticated user or an organization.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
default_branch_onlybooleanFork only default branch
organizationstringOrg to fork into; default: your user

github_list_commits

List commits on a branch or for the whole repo.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
per_pagenumberResults per page (max 100)
shastringBranch or commit SHA to start from

github_get_commit

Get a single commit with files changed.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
ref *stringCommit SHA
repo *stringRepository name

github_compare_commits

Compare two commits (base...head) — useful for release notes and PR scope.

ParameterTypeDescription
base *stringBase ref or SHA
head *stringHead ref or SHA
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_create_commit

Create a commit on a branch by updating one or more files (GitHub Git API — no local clone required).

ParameterTypeDescription
branch *stringBranch to commit to
files *stringJSON array of { "path": "src/a.ts", "content": "...", "encoding": "utf-8" | "base64" }
message *stringCommit message
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_get_combined_status

Get combined commit status (legacy statuses + check runs summary) for CI/CD gates.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
ref *stringCommit SHA or ref
repo *stringRepository name

github_list_check_runs_for_ref

List GitHub Actions check runs for a commit ref.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
ref *stringCommit SHA
repo *stringRepository name

github_create_pull_request

Open a pull request (base ← head).

ParameterTypeDescription
base *stringBase branch (e.g. main)
head *stringHead branch (or user:branch for forks)
owner *stringRepository owner (user or org login)
repo *stringRepository name
title *string
bodystringPR description (markdown)
draftbooleanCreate as draft PR

github_list_pull_requests

List pull requests for a repository.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
per_pagenumberResults per page (max 100)
statestringopen | closed | all (default open)

github_get_pull_request

Get pull request details including merge status.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
pull_number *number
repo *stringRepository name

github_merge_pull_request

Merge a pull request when checks pass (squash, merge, or rebase).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
pull_number *number
repo *stringRepository name
commit_messagestring
commit_titlestring
merge_methodstringmerge | squash | rebase (default squash)

github_update_pull_request

Update PR title, body, or state (open/closed).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
pull_number *number
repo *stringRepository name
bodystring
statestringopen | closed
titlestring

github_list_pull_request_files

List files changed in a pull request.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
pull_number *number
repo *stringRepository name

github_create_pull_request_review

Submit a PR review (comment, approve, or request changes).

ParameterTypeDescription
event *stringCOMMENT | APPROVE | REQUEST_CHANGES
owner *stringRepository owner (user or org login)
pull_number *number
repo *stringRepository name
bodystringReview comment

github_list_workflows

List GitHub Actions workflows in a repository.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_list_workflow_runs

List workflow runs (filter by workflow id, branch, or status).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
branchstring
per_pagenumberResults per page (max 100)
statusstringqueued | in_progress | completed | failure | success | etc.
workflow_idnumberWorkflow ID

github_get_workflow_run

Get details for a single workflow run.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
run_id *number

github_list_workflow_jobs

List jobs for a workflow run (steps, conclusions).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
run_id *number

github_rerun_workflow

Re-run a failed or cancelled workflow run.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
run_id *number

github_cancel_workflow_run

Cancel an in-progress workflow run.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
run_id *number

github_dispatch_workflow

Trigger a workflow_dispatch event (manual CI run).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
ref *stringBranch or tag to run on
repo *stringRepository name
workflow_id *stringWorkflow ID or filename e.g. deploy.yml
inputsstringJSON object of workflow input key/value pairs

github_list_actions_secrets

List Actions secret names (values are never returned).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_list_actions_variables

List Actions variables for a repository (non-secret config).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_list_workflow_run_artifacts

List CI build artifacts for a workflow run.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
run_id *number

github_download_workflow_artifact

Get download URL metadata for a workflow artifact (follow URL with auth to download zip).

ParameterTypeDescription
artifact_id *number
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_list_deployments

List deployments for a repository (CD history).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
environmentstringFilter by environment name
per_pagenumberResults per page (max 100)

github_create_deployment

Create a deployment for a ref (triggers deployment workflows / environments).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
ref *stringBranch, tag, or SHA
repo *stringRepository name
auto_mergebooleanMerge default branch into ref
descriptionstring
environmentstringe.g. production, staging
required_contextsstringJSON array of status check names, or "[]" for none

github_create_deployment_status

Update deployment status (success, failure, in_progress) for CD observability.

ParameterTypeDescription
deployment_id *number
owner *stringRepository owner (user or org login)
repo *stringRepository name
state *stringerror | failure | inactive | in_progress | queued | pending | success
descriptionstring
environment_urlstringLive site URL

github_list_environments

List deployment environments and protection rules.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name

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.

ParameterTypeDescription
org *stringOrganization login

github_get_org_billing_overview

Get combined billing overview for an org (Actions, Packages, shared storage).

ParameterTypeDescription
org *stringOrganization login

github_get_org_billing_usage_report

Request billing usage export metadata (org plans — requires billing admin).

ParameterTypeDescription
org *stringOrganization login

github_create_issue

Create an issue in a repository.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
title *string
assigneesstringJSON array of GitHub usernames
bodystring
labelsstringJSON array of label names

github_list_issues

List issues (excludes pull requests unless filtered).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
labelsstringComma-separated label names
per_pagenumberResults per page (max 100)
statestringopen | closed | all

github_get_issue

Get issue details by number.

ParameterTypeDescription
issue_number *number
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_update_issue

Update issue title, body, state, or labels.

ParameterTypeDescription
issue_number *number
owner *stringRepository owner (user or org login)
repo *stringRepository name
bodystring
labelsstringJSON array of label names (replaces all labels)
statestringopen | closed
titlestring

github_add_issue_comment

Add a comment to an issue or pull request.

ParameterTypeDescription
body *string
issue_number *number
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_list_issue_comments

List comments on an issue or PR.

ParameterTypeDescription
issue_number *number
owner *stringRepository owner (user or org login)
repo *stringRepository name
per_pagenumberResults per page (max 100)

github_list_releases

List releases for a repository.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
per_pagenumberResults per page (max 100)

github_get_release_by_tag

Get a release by tag name.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
tag *stringTag name, e.g. v1.0.0

github_create_release

Create a GitHub release (optionally from an existing tag).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
tag_name *stringTag for the release, e.g. v1.0.0
bodystringRelease notes (markdown)
draftboolean
namestringRelease title
prereleaseboolean
target_commitishstringBranch or commit if tag is new

github_list_tags

List git tags in a repository.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
per_pagenumberResults per page (max 100)

github_create_tag

Create a lightweight or annotated tag ref via the Git API.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
sha *stringCommit SHA to tag
tag *stringTag name, e.g. v1.0.0
messagestringIf set, creates an annotated tag object

github_get_branch

Get branch metadata including protection status.

ParameterTypeDescription
branch *string
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_get_branch_protection

Get branch protection rules for a branch.

ParameterTypeDescription
branch *string
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_update_branch_protection

Update branch protection (require PR reviews, status checks, admins).

ParameterTypeDescription
branch *string
owner *stringRepository owner (user or org login)
repo *stringRepository name
allow_deletionsboolean
allow_force_pushesboolean
enforce_adminsboolean
required_pull_request_reviewsstringJSON: { "required_approving_review_count": 1 }
required_status_checksstringJSON: { "strict": true, "contexts": ["ci/build"] }
restrictionsstringJSON: { "users": [], "teams": [], "apps": [] } or null to disable

github_delete_branch_protection

Remove branch protection from a branch.

ParameterTypeDescription
branch *string
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_list_branches

List branches in a repository.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
per_pagenumber

github_list_webhooks

List repository webhooks.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
per_pagenumberResults per page (max 100)

github_create_webhook

Create a repository webhook (e.g. for CI notifications).

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
url *stringPayload URL
activeboolean
eventsstringJSON array of events, default ["push","pull_request"]
secretstringWebhook secret

github_delete_webhook

Delete a repository webhook by ID.

ParameterTypeDescription
hook_id *number
owner *stringRepository owner (user or org login)
repo *stringRepository name

github_list_collaborators

List collaborators and their permissions.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
per_pagenumberResults per page (max 100)

github_add_collaborator

Invite or add a collaborator to a repository.

ParameterTypeDescription
owner *stringRepository owner (user or org login)
repo *stringRepository name
username *string
permissionstringpull | push | admin | maintain | triage (default push)

github_list_teams

List teams in an organization (for CI/CD access planning).

ParameterTypeDescription
org *string
per_pagenumberResults per page (max 100)

github_graphql_query

Run a read-only GitHub GraphQL query (https://docs.github.com/en/graphql). Variables optional.

ParameterTypeDescription
query *stringGraphQL query string
variablesstringJSON object of GraphQL variables

github_graphql_mutation

Run a GitHub GraphQL mutation (create/update via GraphQL API). Use with care.

ParameterTypeDescription
query *stringGraphQL mutation string
variablesstringJSON object of GraphQL variables

github_graphql_repository_overview

Quick GraphQL snapshot: repo, default branch, latest commit, open PR count.

ParameterTypeDescription
name *stringRepository name
owner *string

git_status

Show working tree status in a local clone (branch, staged/unstaged files).

ParameterTypeDescription
path *stringPath to git repository root

git_commit

Stage all changes and create a local commit.

ParameterTypeDescription
message *stringCommit message
path *stringPath to git repository root
allbooleanStage all changes (default true). If false, only staged files

git_push

Push commits to remote (set upstream on first push if needed).

ParameterTypeDescription
path *stringPath to git repository root
branchstringBranch to push; default current branch
remotestringRemote name (default origin)
set_upstreambooleanUse -u on push (default true for new branches)

git_pull

Pull from remote with rebase (ff-only friendly for CI branches).

ParameterTypeDescription
path *stringPath to git repository root
branchstring
rebasebooleanUse --rebase (default true)
remotestringDefault origin

git_log

Recent commit log on current branch.

ParameterTypeDescription
path *stringPath to git repository root
max_countnumberNumber of commits (default 10)

git_clone

Clone a repository into a directory (uses local git, not API).

ParameterTypeDescription
directory *stringTarget directory path
url *stringHTTPS or SSH clone URL
branchstringOptional branch to checkout